get-specific-connector
Retrieve details for a specific connector on a Miro board by providing the board ID and connector ID.
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-27 (handler)The asynchronous handler function that validates boardId and connectorId, fetches the connector data using MiroClient.getApi().getConnector, stringifies it to JSON, and returns via ServerResponse or handles errors.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); }
- Zod schema defining the input parameters: boardId and connectorId as strings with descriptions.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 getSpecificConnectorTool with the ToolBootstrapper instance..register(getSpecificConnectorTool)
- src/index.ts:30-30 (registration)Imports the tool definition from its module for registration.import getSpecificConnectorTool from './tools/getSpecificConnector.js';