naftiko: 1.0.0-alpha2 info: label: Google Sheets API — Clear description: 'Google Sheets API — Clear. 3 operations. Lead operation: Google Clear Values. Self-contained Naftiko capability covering one Google business surface.' tags: - Google - Clear created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_API_KEY: GOOGLE_API_KEY capability: consumes: - type: http namespace: sheets-clear baseUri: https://sheets.googleapis.com description: Google Sheets API — Clear business capability. Self-contained, no shared references. resources: - name: v4-spreadsheets-spreadsheetId-values-range}:clear path: /v4/spreadsheets/{spreadsheetId}/values/{range}:clear operations: - name: post method: POST description: Google Clear Values outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Accept in: header type: string - name: spreadsheetId in: path type: string description: (Required) required: true - name: range in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v4-spreadsheets-spreadsheetId-values:batchClear path: /v4/spreadsheets/{spreadsheetId}/values:batchClear operations: - name: post method: POST description: Google Batch Clear Values outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Accept in: header type: string - name: spreadsheetId in: path type: string description: (Required) required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v4-spreadsheets-spreadsheetId-values:batchClearByDataFilter path: /v4/spreadsheets/{spreadsheetId}/values:batchClearByDataFilter operations: - name: post method: POST description: Google Batch Clear Values by Data Filter outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Accept in: header type: string - name: spreadsheetId in: path type: string description: (Required) required: true - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: sheets-clear-rest port: 8080 description: REST adapter for Google Sheets API — Clear. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v4/spreadsheets/{spreadsheetid}/values/range-clear name: v4-spreadsheets-spreadsheetid-values-range-clear description: REST surface for v4-spreadsheets-spreadsheetId-values-range}:clear. operations: - method: POST name: post description: Google Clear Values call: sheets-clear.post with: Content-Type: rest.Content-Type Accept: rest.Accept spreadsheetId: rest.spreadsheetId range: rest.range body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v4/spreadsheets/{spreadsheetid}/values-batchclear name: v4-spreadsheets-spreadsheetid-values-batchclear description: REST surface for v4-spreadsheets-spreadsheetId-values:batchClear. operations: - method: POST name: post description: Google Batch Clear Values call: sheets-clear.post with: Content-Type: rest.Content-Type Accept: rest.Accept spreadsheetId: rest.spreadsheetId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v4/spreadsheets/{spreadsheetid}/values-batchclearbydatafilter name: v4-spreadsheets-spreadsheetid-values-batchclearbydatafilter description: REST surface for v4-spreadsheets-spreadsheetId-values:batchClearByDataFilter. operations: - method: POST name: post description: Google Batch Clear Values by Data Filter call: sheets-clear.post with: Content-Type: rest.Content-Type Accept: rest.Accept spreadsheetId: rest.spreadsheetId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: sheets-clear-mcp port: 9090 transport: http description: MCP adapter for Google Sheets API — Clear. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-clear-values description: Google Clear Values hints: readOnly: false destructive: false idempotent: false call: sheets-clear.post with: Content-Type: tools.Content-Type Accept: tools.Accept spreadsheetId: tools.spreadsheetId range: tools.range body: tools.body outputParameters: - type: object mapping: $. - name: google-batch-clear-values description: Google Batch Clear Values hints: readOnly: false destructive: false idempotent: false call: sheets-clear.post with: Content-Type: tools.Content-Type Accept: tools.Accept spreadsheetId: tools.spreadsheetId body: tools.body outputParameters: - type: object mapping: $. - name: google-batch-clear-values-data description: Google Batch Clear Values by Data Filter hints: readOnly: false destructive: false idempotent: false call: sheets-clear.post with: Content-Type: tools.Content-Type Accept: tools.Accept spreadsheetId: tools.spreadsheetId body: tools.body outputParameters: - type: object mapping: $.