update_piece
Update a reusable SVG building-block piece. If used by a style, its SVG change affects every part in that style.
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": {
"pieceId": "<pieceId>",
"updates": "<updates>"
},
"name": "update_piece"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pieceId | Yes | ||
| updates | Yes |