draw_mtext
Draw multi-line MTEXT in AutoCAD at a given point, with paragraph width wrapping, optional height, alignment, and layer control.
Instructions
Многострочный текст (MTEXT) от точки (x,y) (левый верх; align='center': центр). Строки через \n, width: ширина абзаца (0 = без переноса), height: авто, если не указана.
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": {
"x": "<x>",
"y": "<y>",
"text": "<text>"
},
"name": "draw_mtext"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| text | Yes | ||
| align | No | left | |
| layer | No | TEXT | |
| width | No | ||
| height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |