node_add_to_group
Add a node to a named group in a Godot scene, specifying persistence to keep the assignment when saved.
Instructions
Add a node to a group.
Category: Node
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) node_path: Path to the node (e.g., "root/Player") group_name: Name of the group to add the node to persistent: Whether the group membership persists when saved (default: True)
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| node_path | Yes | ||
| group_name | Yes | ||
| persistent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |