Edit existing schematic geometry
gdf_editPreview or apply lossless edits to existing GDF v6 records: line coordinates, translations, symbol orientation, or free annotation text. Requires fresh SHA-256; moving a symbol does not move wires.
Instructions
Preview/apply lossless GDF v6 root line coordinates, translations, symbol orientation or free annotation text. Existing records only. Requires fresh file SHA-256, rejects unsupported targets/overflow, preserves unrelated bytes and backs up before atomic replacement. Moving a symbol does not move its wires; recompile/export to verify circuit behavior.
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>",
"expectedSha256": "<expectedSha256>",
"edits": "<edits>"
},
"name": "gdf_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | GDF/SYM file inside the chosen project/workspace. | |
| edits | Yes | One operation per original record offset. Observe again after text edits. | |
| confirm | No | Apply when true; otherwise preview. Session authorization suffices, no new user approval is implied. | |
| project | No | Existing ACF project; file paths stay inside its directory. | |
| workspace | No | Workspace scope when no project is given. | |
| expectedSha256 | Yes | SHA-256 returned by the latest GDF read. |