create_block
Define a new block in AutoCAD by specifying its name, base point, and entity handles. Optionally delete the source entities after creation.
Instructions
Define a new block from existing model-space entities.
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>",
"base_point": "<base_point>",
"handles": "<handles>"
},
"name": "create_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| handles | Yes | Entity handles (hex strings) | |
| base_point | Yes | [x, y] or [x, y, z] | |
| delete_source | No | Remove the source entities after copying them |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||