update-connector
Modify an existing connector on a Miro board by updating its start/end items or style properties, such as stroke color, width, and cap styles, using the board and connector IDs.
Instructions
Update an existing connector on 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 update | |
endItem | No | End item of the connector | |
startItem | No | Start item of the connector | |
style | No | Updated style configuration of the connector |
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 update",
"type": "string"
},
"endItem": {
"additionalProperties": false,
"description": "End item of the connector",
"properties": {
"id": {
"description": "ID of the item at the end of the connector",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"startItem": {
"additionalProperties": false,
"description": "Start item of the connector",
"properties": {
"id": {
"description": "ID of the item at the start of the connector",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"style": {
"additionalProperties": false,
"description": "Updated style configuration of the connector",
"properties": {
"endStrokeCap": {
"description": "Updated end stroke cap style",
"type": "string"
},
"startStrokeCap": {
"description": "Updated start stroke cap style",
"type": "string"
},
"strokeColor": {
"description": "Updated color of the connector stroke",
"type": "string"
},
"strokeStyle": {
"description": "Updated style of the connector stroke (normal, dashed, etc.)",
"type": "string"
},
"strokeWidth": {
"description": "Updated width of the connector stroke",
"type": "number"
}
},
"type": "object"
}
},
"required": [
"boardId",
"connectorId"
],
"type": "object"
}