Edit all root annotation text fields
gdf_text_editCreate, reposition, restyle, or delete root free DOC annotations in GDF schematics while preserving font, metrics, and alternative text; sequential edits use original offsets.
Instructions
Create, reposition, restyle or delete root free DOC annotations. Preserves font, metrics, alternative text and opaque bits; refuses electrical labels or instance/pin text. Sequential operations use original offsets and return resulting offsets. Printable Latin-1 only.
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>",
"operations": "<operations>"
},
"name": "gdf_text_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path within that scope. | |
| confirm | No | Apply when true; default preview. Current session authorization suffices. | |
| project | No | Existing ACF whose directory scopes these files. | |
| workspace | No | Workspace scope when project is absent. | |
| operations | Yes | Ordered changes; record offsets refer to the original input. Inspect again after applying. | |
| expectedSha256 | Yes | Current full file SHA-256 from a fresh inspection. |