replace
Swaps old blocks or roles for new ones in a schematic design, matching all states when a block name omits state.
Instructions
Swaps every old block or role for new; a block name without state matches all its states.
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": {
"design": "<design>",
"old": "<old>",
"new": "<new>"
},
"name": "replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | ||
| old | Yes | ||
| design | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |