Edit Text
entity_edit_textUpdate existing AutoCAD text labels' content, height, or rotation in place, preserving their handles. Supports both TEXT and MTEXT.
Instructions
Edit an existing text label in place — change its content, height, or rotation.
Use this to rename/relabel without deleting and recreating (which would lose the handle). Works on both TEXT and MTEXT.
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": {
"handle": "<handle>"
},
"name": "entity_edit_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | New text content (unchanged if omitted) | |
| handle | Yes | Handle of an existing TEXT or MTEXT entity | |
| height | No | New text height (unchanged if omitted) | |
| rotation | No | New rotation in degrees (unchanged if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||