get-specific-connector
Retrieve details of a specific connector on a Miro board by providing the board ID and connector ID. Use this tool to access targeted connector information directly.
Instructions
Retrieve information about a specific connector on a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board that contains the connector | |
| connectorId | Yes | Unique identifier (ID) of the connector that you want to retrieve |
Implementation Reference
- src/tools/getSpecificConnector.ts:13-28 (handler)The async handler function that implements the core logic of the 'get-specific-connector' tool. It performs input validation and retrieves the specific connector data from the Miro API.fn: async ({ boardId, connectorId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!connectorId) { return ServerResponse.error("Connector ID is required"); } const connectorData = await MiroClient.getApi().getConnector(boardId, connectorId); return ServerResponse.text(JSON.stringify(connectorData, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- The ToolSchema definition including name, description, and Zod-validated input parameters (boardId and connectorId).const getSpecificConnectorTool: ToolSchema = { name: "get-specific-connector", description: "Retrieve information about a specific connector on a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the connector"), connectorId: z.string().describe("Unique identifier (ID) of the connector that you want to retrieve") },
- src/index.ts:131-131 (registration)Registers the get-specific-connector tool with the MCP server using ToolBootstrapper.register()..register(getSpecificConnectorTool)