naftiko: 1.0.0-alpha2 info: label: Supabase Edge Functions API — Invocation description: 'Supabase Edge Functions API — Invocation. 2 operations. Lead operation: Invoke an Edge Function via GET. Self-contained Naftiko capability covering one Supabase business surface.' tags: - Supabase - Invocation created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUPABASE_API_KEY: SUPABASE_API_KEY capability: consumes: - type: http namespace: edge-functions-invocation baseUri: https://{project_ref}.supabase.co/functions/v1 description: Supabase Edge Functions API — Invocation business capability. Self-contained, no shared references. resources: - name: function_slug path: /{function_slug} operations: - name: invokeedgefunctionget method: GET description: Invoke an Edge Function via GET outputRawFormat: json outputParameters: - name: result type: object value: $. - name: invokeedgefunctionpost method: POST description: Invoke an Edge Function via POST outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.SUPABASE_API_KEY}}' exposes: - type: rest namespace: edge-functions-invocation-rest port: 8080 description: REST adapter for Supabase Edge Functions API — Invocation. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{function-slug} name: function-slug description: REST surface for function_slug. operations: - method: GET name: invokeedgefunctionget description: Invoke an Edge Function via GET call: edge-functions-invocation.invokeedgefunctionget outputParameters: - type: object mapping: $. - method: POST name: invokeedgefunctionpost description: Invoke an Edge Function via POST call: edge-functions-invocation.invokeedgefunctionpost with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: edge-functions-invocation-mcp port: 9090 transport: http description: MCP adapter for Supabase Edge Functions API — Invocation. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: invoke-edge-function-get description: Invoke an Edge Function via GET hints: readOnly: true destructive: false idempotent: true call: edge-functions-invocation.invokeedgefunctionget outputParameters: - type: object mapping: $. - name: invoke-edge-function-post description: Invoke an Edge Function via POST hints: readOnly: false destructive: false idempotent: false call: edge-functions-invocation.invokeedgefunctionpost with: body: tools.body outputParameters: - type: object mapping: $.