acad_transform
Move, copy, rotate, scale, mirror, or erase one AutoCAD entity by handle using operation-specific coordinates, angles, factors, or mirror line.
Instructions
Move, copy, rotate, scale, mirror or erase one entity, by its handle.
move / copy: dx, dy (dz optional). rotate: base and angle_deg. scale: base and factor. mirror: p1 and p2 define the mirror line. erase: needs confirm=true; ask the user first.
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": {
"handle": "<handle>",
"op": "<op>"
},
"name": "acad_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | ||
| dy | No | ||
| dz | No | ||
| op | Yes | ||
| p1 | No | ||
| p2 | No | ||
| base | No | ||
| factor | No | ||
| handle | Yes | ||
| confirm | No | ||
| angle_deg | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||