edit_circuit
Apply multiple circuit edits in order as one atomic change across connections, pages, parts, pours, holes, drawings, and sheet settings. If one edit is refused, nothing is written; refusal is named.
Instructions
Apply several edits in order as ONE change, each with one key shaped like the tool of that name (connect also takes corners). add_drawing, set_drawing, remove_drawing, add_page, rename_page, remove_page, wire_corners, rename_parts, rename_port, sheet_size, set_pour, set_hole: guide { topic: "writing-circuits" }. One refused edit writes nothing; the answer names it.
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": {
"file": "<file>",
"edits": "<edits>"
},
"name": "edit_circuit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Circuit file | |
| edits | Yes |