transform_node
Apply position, rotation, and scale to a Godot scene node with a single command.
Instructions
Apply a combined transform (position, rotation, scale) to a node in a scene.
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>"
},
"name": "transform_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | 2D: "Vector2(2,2)" or "2,2" | 3D: "Vector3(1,1,1)" or "1,1,1" | |
| position | No | 2D: "Vector2(100,200)" or shorthand "100,200" | 3D: "Vector3(0,5,0)" or shorthand "0,5,0" | |
| rotation | No | 2D: float radians e.g. "1.57" | 3D: "Vector3(0,1.57,0)" or shorthand "0,1.57,0" | |
| node_path | Yes | Node path (e.g. "Player" or "Main/Player") | |
| scene_path | Yes | Path to .tscn file (relative to project root) |