naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Devices — Devices.extension description: 'Microsoft Graph Devices — Devices.extension. 6 operations. Lead operation: Microsoft Graph Get extensions from devices. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Devices.extension 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: devices-devices-extension baseUri: '' description: Microsoft Graph Devices — Devices.extension business capability. Self-contained, no shared references. resources: - name: devices-device-id-extensions path: /devices/{device-id}/extensions operations: - name: deviceslistextensions method: GET description: Microsoft Graph Get extensions from devices outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: devicescreateextensions method: POST description: Microsoft Graph Create new navigation property to extensions for devices outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: devices-device-id-extensions-$count path: /devices/{device-id}/extensions/$count operations: - name: devicesextensionsgetcount40b0 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: devices-device-id-extensions-extension-id path: /devices/{device-id}/extensions/{extension-id} operations: - name: devicesgetextensions method: GET description: Microsoft Graph Get extensions from devices 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: devicesupdateextensions method: PATCH description: Microsoft Graph Update the navigation property extensions in devices outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: devicesdeleteextensions method: DELETE description: Microsoft Graph Delete navigation property extensions for devices outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: devices-devices-extension-rest port: 8080 description: REST adapter for Microsoft Graph Devices — Devices.extension. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/devices/{device-id}/extensions name: devices-device-id-extensions description: REST surface for devices-device-id-extensions. operations: - method: GET name: deviceslistextensions description: Microsoft Graph Get extensions from devices call: devices-devices-extension.deviceslistextensions with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: devicescreateextensions description: Microsoft Graph Create new navigation property to extensions for devices call: devices-devices-extension.devicescreateextensions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/devices/{device-id}/extensions/count name: devices-device-id-extensions-count description: REST surface for devices-device-id-extensions-$count. operations: - method: GET name: devicesextensionsgetcount40b0 description: Microsoft Graph Get the number of the resource call: devices-devices-extension.devicesextensionsgetcount40b0 outputParameters: - type: object mapping: $. - path: /v1/devices/{device-id}/extensions/{extension-id} name: devices-device-id-extensions-extension-id description: REST surface for devices-device-id-extensions-extension-id. operations: - method: GET name: devicesgetextensions description: Microsoft Graph Get extensions from devices call: devices-devices-extension.devicesgetextensions with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: devicesupdateextensions description: Microsoft Graph Update the navigation property extensions in devices call: devices-devices-extension.devicesupdateextensions with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: devicesdeleteextensions description: Microsoft Graph Delete navigation property extensions for devices call: devices-devices-extension.devicesdeleteextensions with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: devices-devices-extension-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Devices — Devices.extension. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-extensions-devices description: Microsoft Graph Get extensions from devices hints: readOnly: true destructive: false idempotent: true call: devices-devices-extension.deviceslistextensions with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to extensions for devices hints: readOnly: false destructive: false idempotent: false call: devices-devices-extension.devicescreateextensions with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: devices-devices-extension.devicesextensionsgetcount40b0 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-extensions-devices-2 description: Microsoft Graph Get extensions from devices hints: readOnly: true destructive: false idempotent: true call: devices-devices-extension.devicesgetextensions with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property extensions in devices hints: readOnly: false destructive: false idempotent: true call: devices-devices-extension.devicesupdateextensions with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property extensions for devices hints: readOnly: false destructive: true idempotent: true call: devices-devices-extension.devicesdeleteextensions with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.