naftiko: 1.0.0-alpha2 info: label: Miro Developer Platform — Image items description: 'Miro Developer Platform — Image items. 4 operations. Lead operation: Create image item using URL. Self-contained Naftiko capability covering one Miro business surface.' tags: - Miro - Image 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-image-items baseUri: https://api.miro.com description: Miro Developer Platform — Image items business capability. Self-contained, no shared references. resources: - name: v2-boards-board_id-images path: /v2/boards/{board_id}/images operations: - name: createimageitemusingurl method: POST description: Create image item using URL 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-images-item_id path: /v2/boards/{board_id}/images/{item_id} operations: - name: getimageitem method: GET description: Get image 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: updateimageitemusingurl method: PATCH description: Update image item using URL 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: deleteimageitem method: DELETE description: Delete image 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-image-items-rest port: 8080 description: REST adapter for Miro Developer Platform — Image items. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/boards/{board-id}/images name: v2-boards-board-id-images description: REST surface for v2-boards-board_id-images. operations: - method: POST name: createimageitemusingurl description: Create image item using URL call: miro-image-items.createimageitemusingurl with: board_id: rest.board_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/boards/{board-id}/images/{item-id} name: v2-boards-board-id-images-item-id description: REST surface for v2-boards-board_id-images-item_id. operations: - method: GET name: getimageitem description: Get image item call: miro-image-items.getimageitem with: board_id: rest.board_id item_id: rest.item_id outputParameters: - type: object mapping: $. - method: PATCH name: updateimageitemusingurl description: Update image item using URL call: miro-image-items.updateimageitemusingurl with: board_id: rest.board_id item_id: rest.item_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteimageitem description: Delete image item call: miro-image-items.deleteimageitem with: board_id: rest.board_id item_id: rest.item_id outputParameters: - type: object mapping: $. - type: mcp namespace: miro-image-items-mcp port: 9090 transport: http description: MCP adapter for Miro Developer Platform — Image items. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-image-item-using-url description: Create image item using URL hints: readOnly: false destructive: false idempotent: false call: miro-image-items.createimageitemusingurl with: board_id: tools.board_id body: tools.body outputParameters: - type: object mapping: $. - name: get-image-item description: Get image item hints: readOnly: true destructive: false idempotent: true call: miro-image-items.getimageitem with: board_id: tools.board_id item_id: tools.item_id outputParameters: - type: object mapping: $. - name: update-image-item-using-url description: Update image item using URL hints: readOnly: false destructive: false idempotent: true call: miro-image-items.updateimageitemusingurl with: board_id: tools.board_id item_id: tools.item_id body: tools.body outputParameters: - type: object mapping: $. - name: delete-image-item description: Delete image item hints: readOnly: false destructive: true idempotent: true call: miro-image-items.deleteimageitem with: board_id: tools.board_id item_id: tools.item_id outputParameters: - type: object mapping: $.