naftiko: 1.0.0-alpha2 info: label: Slack Assistant API — Prompts description: 'Slack Assistant API — Prompts. 1 operations. Lead operation: Set Assistant Thread Suggested Prompts. Self-contained Naftiko capability covering one Slack business surface.' tags: - Slack - Prompts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SLACK_API_KEY: SLACK_API_KEY capability: consumes: - type: http namespace: assistant-prompts baseUri: https://slack.com/api description: Slack Assistant API — Prompts business capability. Self-contained, no shared references. resources: - name: assistant.threads.setSuggestedPrompts path: /assistant.threads.setSuggestedPrompts operations: - name: postassistantthreadssetsuggestedprompts method: POST description: Set Assistant Thread Suggested Prompts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: header type: string description: 'Authentication token. Requires scope: `assistant:write`' required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SLACK_API_KEY}}' exposes: - type: rest namespace: assistant-prompts-rest port: 8080 description: REST adapter for Slack Assistant API — Prompts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/assistant-threads-setsuggestedprompts name: assistant-threads-setsuggestedprompts description: REST surface for assistant.threads.setSuggestedPrompts. operations: - method: POST name: postassistantthreadssetsuggestedprompts description: Set Assistant Thread Suggested Prompts call: assistant-prompts.postassistantthreadssetsuggestedprompts with: token: rest.token body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: assistant-prompts-mcp port: 9090 transport: http description: MCP adapter for Slack Assistant API — Prompts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: set-assistant-thread-suggested-prompts description: Set Assistant Thread Suggested Prompts hints: readOnly: false destructive: false idempotent: false call: assistant-prompts.postassistantthreadssetsuggestedprompts with: token: tools.token body: tools.body outputParameters: - type: object mapping: $.