swap_component
Replace an existing component instance with a new component while optionally preserving overrides.
Instructions
Swap one component instance for another.
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": {
"instanceId": "<instanceId>",
"newComponentId": "<newComponentId>"
},
"name": "swap_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceId | Yes | Instance to swap | |
| newComponentId | Yes | New component ID | |
| preserveOverrides | No | Keep existing overrides (default: true) |