Create MText
entity_create_mtextCreates a multi-line text entity with word wrap at the specified width. Supports paragraph breaks, formatting, rotation, layer, and color for precise annotation placement.
Instructions
Create a multi-line text entity (MTEXT) with word-wrap at the specified width.
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>",
"x": "<x>",
"y": "<y>"
},
"name": "entity_create_mtext"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Insertion point X | |
| y | Yes | Insertion point Y | |
| text | Yes | Text content (supports \P for paragraph breaks, {\H...;} for formatting) | |
| color | No | ACI color code | |
| layer | No | Layer name | |
| width | No | Text box width in drawing units | |
| height | No | Character height in drawing units | |
| rotation | No | Rotation in degrees, CCW from +X |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||