Insert Block
block_insertInsert a block definition at precise coordinates, then set its layer, scale, rotation, and attribute values as needed.
Instructions
Insert a block and optionally set attribute values.
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": "block_insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Insertion X | |
| y | Yes | Insertion Y | |
| name | Yes | Block definition name | |
| layer | No | Layer name | |
| scale_x | No | X scale factor | |
| scale_y | No | Y scale factor | |
| rotation | No | Rotation angle in degrees | |
| attributes | No | Attribute values: {TAG: value} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||