naftiko: 1.0.0-alpha2 info: label: Microsoft Graph OData Service for namespace microsoft.graph — sites.baseItem description: 'Microsoft Graph OData Service for namespace microsoft.graph — sites.baseItem. 4 operations. Lead operation: Microsoft Graph Get items from sites. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - sites.baseItem 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-sites-baseitem baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph OData Service for namespace microsoft.graph — sites.baseItem business capability. Self-contained, no shared references. resources: - name: sites-site-id-getByPath(path='{path}')-items path: /sites/{site-id}/getByPath(path='{path}')/items operations: - name: sitesgetbypathlistitems method: GET description: Microsoft Graph Get items from sites 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: sites-site-id-items path: /sites/{site-id}/items operations: - name: siteslistitems method: GET description: Microsoft Graph Get items from sites 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: sites-site-id-items-$count path: /sites/{site-id}/items/$count operations: - name: sitesitemsgetcount1b67 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: sites-site-id-items-baseItem-id path: /sites/{site-id}/items/{baseItem-id} operations: - name: sitesgetitems method: GET description: Microsoft Graph Get items from sites 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 exposes: - type: rest namespace: microsoft-graph-sites-baseitem-rest port: 8080 description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — sites.baseItem. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sites/{site-id}/getbypath-path-path/items name: sites-site-id-getbypath-path-path-items description: REST surface for sites-site-id-getByPath(path='{path}')-items. operations: - method: GET name: sitesgetbypathlistitems description: Microsoft Graph Get items from sites call: microsoft-graph-sites-baseitem.sitesgetbypathlistitems with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/sites/{site-id}/items name: sites-site-id-items description: REST surface for sites-site-id-items. operations: - method: GET name: siteslistitems description: Microsoft Graph Get items from sites call: microsoft-graph-sites-baseitem.siteslistitems with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/sites/{site-id}/items/count name: sites-site-id-items-count description: REST surface for sites-site-id-items-$count. operations: - method: GET name: sitesitemsgetcount1b67 description: Microsoft Graph Get the number of the resource call: microsoft-graph-sites-baseitem.sitesitemsgetcount1b67 outputParameters: - type: object mapping: $. - path: /v1/sites/{site-id}/items/{baseitem-id} name: sites-site-id-items-baseitem-id description: REST surface for sites-site-id-items-baseItem-id. operations: - method: GET name: sitesgetitems description: Microsoft Graph Get items from sites call: microsoft-graph-sites-baseitem.sitesgetitems with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-graph-sites-baseitem-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — sites.baseItem. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-items-sites description: Microsoft Graph Get items from sites hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-sites-baseitem.sitesgetbypathlistitems with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-sites-2 description: Microsoft Graph Get items from sites hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-sites-baseitem.siteslistitems with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand 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-sites-baseitem.sitesitemsgetcount1b67 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-sites-3 description: Microsoft Graph Get items from sites hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-sites-baseitem.sitesgetitems with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $.