naftiko: 1.0.0-alpha2 info: label: Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.deviceCategory description: 'Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.deviceCategory. 6 operations. Lead operation: Microsoft Graph Get deviceCategories from deviceManagement. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - deviceManagement.deviceCategory 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: microsoft-graph-devicemanagement-devicecategory baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.deviceCategory business capability. Self-contained, no shared references. resources: - name: deviceManagement-deviceCategories path: /deviceManagement/deviceCategories operations: - name: devicemanagementlistdevicecategories method: GET description: Microsoft Graph Get deviceCategories from deviceManagement 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: devicemanagementcreatedevicecategories method: POST description: Microsoft Graph Create new navigation property to deviceCategories for deviceManagement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deviceManagement-deviceCategories-$count path: /deviceManagement/deviceCategories/$count operations: - name: devicemanagementdevicecategoriesgetcounted54 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deviceManagement-deviceCategories-deviceCategory-id path: /deviceManagement/deviceCategories/{deviceCategory-id} operations: - name: devicemanagementgetdevicecategories method: GET description: Microsoft Graph Get deviceCategories from deviceManagement 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: devicemanagementupdatedevicecategories method: PATCH description: Microsoft Graph Update the navigation property deviceCategories in deviceManagement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: devicemanagementdeletedevicecategories method: DELETE description: Microsoft Graph Delete navigation property deviceCategories for deviceManagement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: microsoft-graph-devicemanagement-devicecategory-rest port: 8080 description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.deviceCategory. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/devicemanagement/devicecategories name: devicemanagement-devicecategories description: REST surface for deviceManagement-deviceCategories. operations: - method: GET name: devicemanagementlistdevicecategories description: Microsoft Graph Get deviceCategories from deviceManagement call: microsoft-graph-devicemanagement-devicecategory.devicemanagementlistdevicecategories with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: devicemanagementcreatedevicecategories description: Microsoft Graph Create new navigation property to deviceCategories for deviceManagement call: microsoft-graph-devicemanagement-devicecategory.devicemanagementcreatedevicecategories with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/devicemanagement/devicecategories/count name: devicemanagement-devicecategories-count description: REST surface for deviceManagement-deviceCategories-$count. operations: - method: GET name: devicemanagementdevicecategoriesgetcounted54 description: Microsoft Graph Get the number of the resource call: microsoft-graph-devicemanagement-devicecategory.devicemanagementdevicecategoriesgetcounted54 outputParameters: - type: object mapping: $. - path: /v1/devicemanagement/devicecategories/{devicecategory-id} name: devicemanagement-devicecategories-devicecategory-id description: REST surface for deviceManagement-deviceCategories-deviceCategory-id. operations: - method: GET name: devicemanagementgetdevicecategories description: Microsoft Graph Get deviceCategories from deviceManagement call: microsoft-graph-devicemanagement-devicecategory.devicemanagementgetdevicecategories with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: devicemanagementupdatedevicecategories description: Microsoft Graph Update the navigation property deviceCategories in deviceManagement call: microsoft-graph-devicemanagement-devicecategory.devicemanagementupdatedevicecategories with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: devicemanagementdeletedevicecategories description: Microsoft Graph Delete navigation property deviceCategories for deviceManagement call: microsoft-graph-devicemanagement-devicecategory.devicemanagementdeletedevicecategories with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-graph-devicemanagement-devicecategory-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.deviceCategory. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-devicecategories-devicemanagement description: Microsoft Graph Get deviceCategories from deviceManagement hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-devicemanagement-devicecategory.devicemanagementlistdevicecategories 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 deviceCategories for deviceManagement hints: readOnly: false destructive: false idempotent: false call: microsoft-graph-devicemanagement-devicecategory.devicemanagementcreatedevicecategories 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: microsoft-graph-devicemanagement-devicecategory.devicemanagementdevicecategoriesgetcounted54 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-devicecategories-devicemanagement-2 description: Microsoft Graph Get deviceCategories from deviceManagement hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-devicemanagement-devicecategory.devicemanagementgetdevicecategories with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property deviceCategories in deviceManagement hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-devicemanagement-devicecategory.devicemanagementupdatedevicecategories with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property deviceCategories for deviceManagement hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-devicemanagement-devicecategory.devicemanagementdeletedevicecategories with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.