get-all-tags
Retrieve all tags from a Miro board to organize and categorize content. Specify board ID and optional pagination parameters.
Instructions
Retrieve all tags on a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board for which you want to retrieve all tags | |
| limit | No | Maximum number of tags to return (default: 50) | |
| offset | No | Offset for pagination (default: 0) |
Implementation Reference
- src/tools/getAllTags.ts:14-35 (handler)Handler function that retrieves all tags from a specified Miro board, supporting pagination with limit and offset parameters, using the MiroClient API.fn: async ({ boardId, limit, offset }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } const query: Record<string, any> = {}; if (limit !== undefined) { query.limit = limit; } if (offset !== undefined) { query.offset = offset; } const result = await MiroClient.getApi().getTagsFromBoard(boardId, query); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- src/tools/getAllTags.ts:6-13 (schema)Tool schema including name, description, and Zod-validated input parameters for boardId (required), limit, and offset.const getAllTagsTool: ToolSchema = { name: "get-all-tags", description: "Retrieve all tags on a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board for which you want to retrieve all tags"), limit: z.number().optional().nullish().describe("Maximum number of tags to return (default: 50)"), offset: z.number().optional().nullish().describe("Offset for pagination (default: 0)") },
- src/index.ts:167-167 (registration)Registration of the getAllTagsTool into the ToolBootstrapper instance..register(getAllTagsTool)