update_shape
Modify shape properties like position, size, text, color, and fill style on a tldraw canvas to adjust visual elements in diagrams.
Instructions
Update properties of an existing shape
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "update_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Shape ID | |
| x | No | New X coordinate | |
| y | No | New Y coordinate | |
| width | No | New width | |
| height | No | New height | |
| text | No | New text content | |
| color | No | New color | |
| fill | No | New fill style |