get-item-tags
Retrieve all tags attached to a specific item on a Miro board using board and item identifiers to organize and categorize content.
Instructions
Retrieve all tags attached to a specific item on a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board that contains the item | |
| itemId | Yes | Unique identifier (ID) of the item whose tags you want to retrieve |
Implementation Reference
- src/tools/getItemTags.ts:13-28 (handler)The handler function that executes the 'get-item-tags' tool logic. It validates inputs, calls MiroClient.getApi().getTagsFromItem(boardId, itemId), and returns the JSON stringified result or error.fn: async ({ boardId, itemId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!itemId) { return ServerResponse.error("Item ID is required"); } const result = await MiroClient.getApi().getTagsFromItem(boardId, itemId); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- src/tools/getItemTags.ts:6-12 (schema)The ToolSchema definition including name, description, and Zod input schema for boardId and itemId parameters.const getItemTagsTool: ToolSchema = { name: "get-item-tags", description: "Retrieve all tags attached to a specific item on a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the item"), itemId: z.string().describe("Unique identifier (ID) of the item whose tags you want to retrieve"), },
- src/index.ts:172-172 (registration)The registration of the getItemTagsTool in the ToolBootstrapper chain..register(getItemTagsTool)