add_text
Add single-line text to an AutoCAD drawing at a specified insertion point (left baseline). Configure height, rotation, color, and layer for precise annotation.
Instructions
Add single-line text at the insertion point (left baseline).
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": {
"text": "<text>",
"insert": "<insert>"
},
"name": "add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| color | No | ACI 0-256 or name (red, yellow, green, cyan, blue, magenta, white, bylayer) | |
| layer | No | Target layer (created if missing). Default: current layer. | |
| height | No | ||
| insert | Yes | [x, y] or [x, y, z] | |
| rotation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||