naftiko: 1.0.0-alpha2 info: label: Anthropic Prompt Tools API — Prompt Generation description: 'Anthropic Prompt Tools API — Prompt Generation. 1 operations. Lead operation: Anthropic Generate A Prompt. Self-contained Naftiko capability covering one Anthropic business surface.' tags: - Anthropic - Prompt Generation created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ANTHROPIC_API_KEY: ANTHROPIC_API_KEY capability: consumes: - type: http namespace: prompts-prompt-generation baseUri: https://api.anthropic.com description: Anthropic Prompt Tools API — Prompt Generation business capability. Self-contained, no shared references. resources: - name: v1-experimental-generate_prompt path: /v1/experimental/generate_prompt operations: - name: generateprompt method: POST description: Anthropic Generate A Prompt outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: x-api-key value: '{{env.ANTHROPIC_API_KEY}}' placement: header exposes: - type: rest namespace: prompts-prompt-generation-rest port: 8080 description: REST adapter for Anthropic Prompt Tools API — Prompt Generation. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/experimental/generate-prompt name: v1-experimental-generate-prompt description: REST surface for v1-experimental-generate_prompt. operations: - method: POST name: generateprompt description: Anthropic Generate A Prompt call: prompts-prompt-generation.generateprompt with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: prompts-prompt-generation-mcp port: 9090 transport: http description: MCP adapter for Anthropic Prompt Tools API — Prompt Generation. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: anthropic-generate-prompt description: Anthropic Generate A Prompt hints: readOnly: false destructive: false idempotent: false call: prompts-prompt-generation.generateprompt with: body: tools.body outputParameters: - type: object mapping: $.