insert_block
Places a named or file-based block into an AutoCAD drawing at specified coordinates, with optional scale, rotation, and attribute values.
Instructions
Вставить блок: name (или путь к .dwg в COM / .dxf в ezdxf), точка (x,y), scale, rotation°, attributes: {ТЕГ: значение}.
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>",
"x": "<x>",
"y": "<y>"
},
"name": "insert_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | Yes | ||
| scale | No | ||
| rotation | No | ||
| attributes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |