naftiko: 1.0.0-alpha2 info: label: Miro Developer Platform — Text items description: 'Miro Developer Platform — Text items. 4 operations. Lead operation: Create text item. Self-contained Naftiko capability covering one Miro business surface.' tags: - Miro - Text items created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MIRO_API_KEY: MIRO_API_KEY capability: consumes: - type: http namespace: miro-text-items baseUri: https://api.miro.com description: Miro Developer Platform — Text items business capability. Self-contained, no shared references. resources: - name: v2-boards-board_id-texts path: /v2/boards/{board_id}/texts operations: - name: createtextitem method: POST description: Create text item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: board_id in: path type: string description: Unique identifier (ID) of the board where you want to create the item. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v2-boards-board_id-texts-item_id path: /v2/boards/{board_id}/texts/{item_id} operations: - name: gettextitem method: GET description: Get text item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: board_id in: path type: string description: Unique identifier (ID) of the board from which you want to retrieve a specific item. required: true - name: item_id in: path type: string description: Unique identifier (ID) of the item that you want to retrieve. required: true - name: updatetextitem method: PATCH description: Update text item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: board_id in: path type: string description: Unique identifier (ID) of the board where you want to update the item. required: true - name: item_id in: path type: string description: Unique identifier (ID) of the item that you want to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletetextitem method: DELETE description: Delete text item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: board_id in: path type: string description: Unique identifier (ID) of the board from which you want to delete the item. required: true - name: item_id in: path type: string description: Unique identifier (ID) of the item that you want to delete. required: true authentication: type: bearer token: '{{env.MIRO_API_KEY}}' exposes: - type: rest namespace: miro-text-items-rest port: 8080 description: REST adapter for Miro Developer Platform — Text items. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/boards/{board-id}/texts name: v2-boards-board-id-texts description: REST surface for v2-boards-board_id-texts. operations: - method: POST name: createtextitem description: Create text item call: miro-text-items.createtextitem with: board_id: rest.board_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/boards/{board-id}/texts/{item-id} name: v2-boards-board-id-texts-item-id description: REST surface for v2-boards-board_id-texts-item_id. operations: - method: GET name: gettextitem description: Get text item call: miro-text-items.gettextitem with: board_id: rest.board_id item_id: rest.item_id outputParameters: - type: object mapping: $. - method: PATCH name: updatetextitem description: Update text item call: miro-text-items.updatetextitem with: board_id: rest.board_id item_id: rest.item_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletetextitem description: Delete text item call: miro-text-items.deletetextitem with: board_id: rest.board_id item_id: rest.item_id outputParameters: - type: object mapping: $. - type: mcp namespace: miro-text-items-mcp port: 9090 transport: http description: MCP adapter for Miro Developer Platform — Text items. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-text-item description: Create text item hints: readOnly: false destructive: false idempotent: false call: miro-text-items.createtextitem with: board_id: tools.board_id body: tools.body outputParameters: - type: object mapping: $. - name: get-text-item description: Get text item hints: readOnly: true destructive: false idempotent: true call: miro-text-items.gettextitem with: board_id: tools.board_id item_id: tools.item_id outputParameters: - type: object mapping: $. - name: update-text-item description: Update text item hints: readOnly: false destructive: false idempotent: true call: miro-text-items.updatetextitem with: board_id: tools.board_id item_id: tools.item_id body: tools.body outputParameters: - type: object mapping: $. - name: delete-text-item description: Delete text item hints: readOnly: false destructive: true idempotent: true call: miro-text-items.deletetextitem with: board_id: tools.board_id item_id: tools.item_id outputParameters: - type: object mapping: $.