naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Policies — policies.policyRoot description: 'Microsoft Graph Policies — policies.policyRoot. 2 operations. Lead operation: Microsoft Graph Get policies. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - policies.policyRoot created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY capability: consumes: - type: http namespace: policies-policies-policyroot baseUri: '' description: Microsoft Graph Policies — policies.policyRoot business capability. Self-contained, no shared references. resources: - name: policies path: /policies operations: - name: policiespolicyrootgetpolicyroot method: GET description: Microsoft Graph Get policies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: policiespolicyrootupdatepolicyroot method: PATCH description: Microsoft Graph Update policies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: policies-policies-policyroot-rest port: 8080 description: REST adapter for Microsoft Graph Policies — policies.policyRoot. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/policies name: policies description: REST surface for policies. operations: - method: GET name: policiespolicyrootgetpolicyroot description: Microsoft Graph Get policies call: policies-policies-policyroot.policiespolicyrootgetpolicyroot with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: policiespolicyrootupdatepolicyroot description: Microsoft Graph Update policies call: policies-policies-policyroot.policiespolicyrootupdatepolicyroot with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: policies-policies-policyroot-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Policies — policies.policyRoot. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-policies description: Microsoft Graph Get policies hints: readOnly: true destructive: false idempotent: true call: policies-policies-policyroot.policiespolicyrootgetpolicyroot with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-policies description: Microsoft Graph Update policies hints: readOnly: false destructive: false idempotent: true call: policies-policies-policyroot.policiespolicyrootupdatepolicyroot with: body: tools.body outputParameters: - type: object mapping: $.