edit_annotation
Modify or delete an existing SolidWorks annotation by ID, adjusting text, prefix/suffix, precision, tolerance, fit, position, or diametric display without recreating it.
Instructions
Change an annotation by id ('RD3@Drawing View1'), or delete=True it.
prefix / suffix (a prefix replaces SolidWorks' own symbol: a radius needs 'R', e.g. '4X R'), precision (decimals), tolerance [upper, lower] mm, fit ('H7'), a note's text, its place at=[x, y] (sheet mm), diametric=True. A model dimension keeps these in the part (the result says changes_part).
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": {
"annotation_id": "<annotation_id>"
},
"name": "edit_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| fit | No | ||
| text | No | ||
| delete | No | ||
| prefix | No | ||
| suffix | No | ||
| diametric | No | ||
| precision | No | ||
| tolerance | No | ||
| annotation_id | Yes |