set_node_rotation
Set rotation for Godot nodes using scene path, node path, and value (2D float or 3D vector).
Instructions
Set node rotation (2D/3D).
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": {
"scene_path": "<scene_path>",
"node_path": "<node_path>",
"value": "<value>"
},
"name": "set_node_rotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Rotation: float for 2D (e.g. "1.57"), "x,y,z" or "Vector3" for 3D | |
| node_path | Yes | Node path | |
| scene_path | Yes | Path to .tscn file |