add_to_group
Add a node to a persistent group within a Godot scene. Specify project, scene, node path, and group name to save the node's group assignment.
Instructions
Add a node to a group (persistent, saved 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": {
"projectPath": "<projectPath>",
"scenePath": "<scenePath>",
"nodePath": "<nodePath>",
"group": "<group>"
},
"name": "add_to_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Path to the scene file | |
| nodePath | Yes | Path to the node | |
| group | Yes | Group name |