naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Shares — Print.printer description: 'Microsoft Graph Shares — Print.printer. 3 operations. Lead operation: Microsoft Graph List printerShares for a printer. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Print.printer 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: shares-print-printer baseUri: '' description: Microsoft Graph Shares — Print.printer business capability. Self-contained, no shared references. resources: - name: print-printers-printer-id-shares path: /print/printers/{printer-id}/shares operations: - name: printprinterslistshares method: GET description: Microsoft Graph List printerShares for a printer 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: print-printers-printer-id-shares-$count path: /print/printers/{printer-id}/shares/$count operations: - name: printprinterssharesgetcount5f30 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: print-printers-printer-id-shares-printerShare-id path: /print/printers/{printer-id}/shares/{printerShare-id} operations: - name: printprintersgetshares method: GET description: Microsoft Graph Get shares from print 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: shares-print-printer-rest port: 8080 description: REST adapter for Microsoft Graph Shares — Print.printer. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/print/printers/{printer-id}/shares name: print-printers-printer-id-shares description: REST surface for print-printers-printer-id-shares. operations: - method: GET name: printprinterslistshares description: Microsoft Graph List printerShares for a printer call: shares-print-printer.printprinterslistshares with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/print/printers/{printer-id}/shares/count name: print-printers-printer-id-shares-count description: REST surface for print-printers-printer-id-shares-$count. operations: - method: GET name: printprinterssharesgetcount5f30 description: Microsoft Graph Get the number of the resource call: shares-print-printer.printprinterssharesgetcount5f30 outputParameters: - type: object mapping: $. - path: /v1/print/printers/{printer-id}/shares/{printershare-id} name: print-printers-printer-id-shares-printershare-id description: REST surface for print-printers-printer-id-shares-printerShare-id. operations: - method: GET name: printprintersgetshares description: Microsoft Graph Get shares from print call: shares-print-printer.printprintersgetshares with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: shares-print-printer-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Shares — Print.printer. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-printershares-printer description: Microsoft Graph List printerShares for a printer hints: readOnly: true destructive: false idempotent: true call: shares-print-printer.printprinterslistshares 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: shares-print-printer.printprinterssharesgetcount5f30 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-shares-print description: Microsoft Graph Get shares from print hints: readOnly: true destructive: false idempotent: true call: shares-print-printer.printprintersgetshares with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $.