remove_part
Deletes a part by ID or unique name, removes all attached wires, and merges or removes single-wire junctions, returning removed wire IDs and merged junction count.
Instructions
Delete a part (part_id, or a unique part_name) and every wire attached to it;
junctions left with a single wire are merged or removed. Returns the ids of removed
wires and the number of merged junctions.
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": {
"tree_id": "<tree_id>"
},
"name": "remove_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | ||
| part_id | No | ||
| tree_id | Yes | ||
| part_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||