set_node_groups
Updates a Godot node's group memberships to exactly match a specified list, adding missing groups and removing extras.
Instructions
Set a node's full group membership, adding and removing to match the desired set
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>",
"groups": "<groups>"
},
"name": "set_node_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | Yes | ||
| node_path | Yes |