delete-connector
Remove a specific connector from a Miro board by providing the board and connector IDs. Simplify connector management using the Miro MCP server.
Instructions
Delete a specific connector from a Miro board
Input 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 delete |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"boardId": {
"description": "Unique identifier (ID) of the board that contains the connector",
"type": "string"
},
"connectorId": {
"description": "Unique identifier (ID) of the connector that you want to delete",
"type": "string"
}
},
"required": [
"boardId",
"connectorId"
],
"type": "object"
}
Implementation Reference
- src/tools/deleteConnector.ts:13-28 (handler)The handler function that performs input validation and deletes the connector using MiroClient API.fn: async ({ boardId, connectorId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!connectorId) { return ServerResponse.error("Connector ID is required"); } await MiroClient.getApi().deleteConnector(boardId, connectorId); return ServerResponse.text(JSON.stringify({ success: true, message: "Connector deleted successfully" }, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- src/tools/deleteConnector.ts:9-12 (schema)Zod schema defining the input parameters: boardId and connectorId.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 delete") },
- src/index.ts:133-133 (registration)Registration of the delete-connector tool in the ToolBootstrapper chain. Imported at line 32..register(deleteConnectorTool)