naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Excel API — Charts description: 'Microsoft Graph Excel API — Charts. 2 operations. Lead operation: Microsoft Excel List Worksheet Charts. Self-contained Naftiko capability covering one Advanced Excel business surface.' tags: - Advanced Excel - Charts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ADVANCED_EXCEL_API_KEY: ADVANCED_EXCEL_API_KEY capability: consumes: - type: http namespace: microsoft-graph-excel-charts baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph Excel API — Charts business capability. Self-contained, no shared references. resources: - name: me-drive-items-driveItemId-workbook-worksheets-worksheetId-charts path: /me/drive/items/{driveItemId}/workbook/worksheets/{worksheetId}/charts operations: - name: listcharts method: GET description: Microsoft Excel List Worksheet Charts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: driveItemId in: path type: string description: OneDrive item ID of the Excel workbook. required: true - name: worksheetId in: path type: string description: Worksheet ID or name. required: true - name: addchart method: POST description: Microsoft Excel Add Chart to Worksheet outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: driveItemId in: path type: string description: OneDrive item ID of the Excel workbook. required: true - name: worksheetId in: path type: string description: Worksheet ID or name. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.ADVANCED_EXCEL_API_KEY}}' exposes: - type: rest namespace: microsoft-graph-excel-charts-rest port: 8080 description: REST adapter for Microsoft Graph Excel API — Charts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/me/drive/items/{driveitemid}/workbook/worksheets/{worksheetid}/charts name: me-drive-items-driveitemid-workbook-worksheets-worksheetid-charts description: REST surface for me-drive-items-driveItemId-workbook-worksheets-worksheetId-charts. operations: - method: GET name: listcharts description: Microsoft Excel List Worksheet Charts call: microsoft-graph-excel-charts.listcharts with: driveItemId: rest.driveItemId worksheetId: rest.worksheetId outputParameters: - type: object mapping: $. - method: POST name: addchart description: Microsoft Excel Add Chart to Worksheet call: microsoft-graph-excel-charts.addchart with: driveItemId: rest.driveItemId worksheetId: rest.worksheetId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-graph-excel-charts-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Excel API — Charts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-excel-list-worksheet-charts description: Microsoft Excel List Worksheet Charts hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-excel-charts.listcharts with: driveItemId: tools.driveItemId worksheetId: tools.worksheetId outputParameters: - type: object mapping: $. - name: microsoft-excel-add-chart-worksheet description: Microsoft Excel Add Chart to Worksheet hints: readOnly: false destructive: false idempotent: false call: microsoft-graph-excel-charts.addchart with: driveItemId: tools.driveItemId worksheetId: tools.worksheetId body: tools.body outputParameters: - type: object mapping: $.