rename_node
Rename a node in the scene tree by specifying its path and new name, enabling quick updates to Godot scene structure.
Instructions
Rename a node in the 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": {
"node_path": "<node_path>",
"new_name": "<new_name>"
},
"name": "rename_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New name | |
| node_path | Yes | Path of the node to rename |