draw_arc
Create a circular arc counter-clockwise from a start angle to an end angle by specifying center, radius, and optional layer, color, or linetype.
Instructions
Draw a circular arc counter-clockwise from start_angle to end_angle.
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": {
"center": "<center>",
"radius": "<radius>",
"start_angle": "<start_angle>",
"end_angle": "<end_angle>"
},
"name": "draw_arc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| center | Yes | [x, y] or [x, y, z] | |
| radius | Yes | ||
| linetype | No | Linetype name, e.g. CONTINUOUS, DASHED, CENTER, HIDDEN | |
| end_angle | Yes | Degrees, CCW from +X | |
| start_angle | Yes | Degrees, CCW from +X |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||