naftiko: 1.0.0-alpha2 info: label: Slack Web API — Bookmarks description: 'Slack Web API — Bookmarks. 2 operations. Lead operation: Slack Add a Bookmark to a Channel. Self-contained Naftiko capability covering one Slack business surface.' tags: - Slack - Bookmarks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SLACK_API_KEY: SLACK_API_KEY capability: consumes: - type: http namespace: web-bookmarks baseUri: https://slack.com/api description: Slack Web API — Bookmarks business capability. Self-contained, no shared references. resources: - name: bookmarks.add path: /bookmarks.add operations: - name: bookmarksadd method: POST description: Slack Add a Bookmark to a Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: bookmarks.list path: /bookmarks.list operations: - name: bookmarkslist method: GET description: Slack List Bookmarks for a Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: channel_id in: query type: string required: true authentication: type: bearer token: '{{env.SLACK_API_KEY}}' exposes: - type: rest namespace: web-bookmarks-rest port: 8080 description: REST adapter for Slack Web API — Bookmarks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/bookmarks-add name: bookmarks-add description: REST surface for bookmarks.add. operations: - method: POST name: bookmarksadd description: Slack Add a Bookmark to a Channel call: web-bookmarks.bookmarksadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/bookmarks-list name: bookmarks-list description: REST surface for bookmarks.list. operations: - method: GET name: bookmarkslist description: Slack List Bookmarks for a Channel call: web-bookmarks.bookmarkslist with: channel_id: rest.channel_id outputParameters: - type: object mapping: $. - type: mcp namespace: web-bookmarks-mcp port: 9090 transport: http description: MCP adapter for Slack Web API — Bookmarks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: slack-add-bookmark-channel description: Slack Add a Bookmark to a Channel hints: readOnly: false destructive: false idempotent: false call: web-bookmarks.bookmarksadd with: body: tools.body outputParameters: - type: object mapping: $. - name: slack-list-bookmarks-channel description: Slack List Bookmarks for a Channel hints: readOnly: true destructive: false idempotent: true call: web-bookmarks.bookmarkslist with: channel_id: tools.channel_id outputParameters: - type: object mapping: $.