block
Manage reusable CAD symbol definitions, insert symbols at specified coordinates, and read or update their attributes in AutoCAD drawings.
Instructions
Block definition, insertion, and attribute management.
Operations:
list — List all block definitions.
insert — data: {name, x, y, scale?, rotation?, block_id?}
insert_with_attributes — data: {name, x, y, scale?, rotation?, attributes: {tag: value}}
get_attributes — data: {entity_id}
update_attribute — data: {entity_id, tag, value}
define — data: {name, entities: [{type, ...}]}
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": {
"operation": "<operation>"
},
"name": "block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| operation | Yes | ||
| include_screenshot | No |