insert_block
Place a block reference in an AutoCAD drawing at specified coordinates, with optional scale, rotation, layer, and color; supports block names or .dwg files.
Instructions
Insert a block reference.
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": {
"name": "<name>",
"insert": "<insert>"
},
"name": "insert_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Block name, or a .dwg path (AutoCAD backend) to insert as a block | |
| 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. | |
| scale | No | ||
| insert | Yes | [x, y] or [x, y, z] | |
| rotation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||