Rotate Entity
entity_rotateRotate any CAD entity around a base point by a specified angle in degrees, with positive angles for counter-clockwise rotation, to adjust orientation precisely.
Instructions
Rotate an entity around a base point by the specified angle.
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>",
"base_x": "<base_x>",
"base_y": "<base_y>",
"angle_deg": "<angle_deg>"
},
"name": "entity_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_x | Yes | Rotation base point X | |
| base_y | Yes | Rotation base point Y | |
| handle | Yes | Entity handle | |
| angle_deg | Yes | Rotation angle in degrees (positive = counter-clockwise) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||