save_schematic
Atomically saves a complete supported 5.9 schematic—components, wires, and plots—after validating syntax and connectivity; existing files require a SHA256 hash and are backed up.
Instructions
Save a complete supported 5.9 schematic atomically, including components, wires and plots.
Supply full source from read_schematic with requested edits. Existing files require their current SHA256 and are backed up; omit the hash for new files. Syntax and connectivity validate before any write. Saves UTF-8/LF, never an unsaved GUI buffer.
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": {
"path": "<path>",
"content": "<content>"
},
"name": "save_schematic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| saved | Yes | ||
| backup | Yes | ||
| sha256 | Yes | ||
| warnings | Yes | ||
| gui_reload_required | Yes |