acad_add_markup
Add dimensions, point labels, and text leaders to AutoCAD drawings for markup and review. Markups default to red and support custom layers and text heights.
Instructions
Mark up the drawing. Markups default to red (colour 1).
kind='dimension': measure a LINE by its handle (target_handle). AutoCAD measures it; offset_in moves the dimension line away from the line (default 1 in). kind='label': text at point. kind='leader': arrow from start (tip, on the linework) to end (text at end), with text. height_in: text height in inches (default 0.25).
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": {
"kind": "<kind>"
},
"name": "acad_add_markup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| kind | Yes | ||
| text | No | ||
| layer | No | ||
| point | No | ||
| start | No | ||
| height_in | No | ||
| offset_in | No | ||
| color_index | No | ||
| target_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||