update_group
Modify group properties (name, description, custom data) and adjust node membership by adding or removing nodes.
Instructions
Edit an existing group's properties and manage nodes using Python library API.
Parameters:
group_id: ID of the group to edit (required)
name: New name for the group (optional)
description: New description for the group (optional)
custom_data: New custom data as JSON string (optional)
add_nodes: Comma-separated list of node IDs to add to the group (optional)
remove_nodes: Comma-separated list of node IDs to remove from the group (optional)
At least one parameter must be provided.
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": {
"group_id": "<group_id>"
},
"name": "update_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | ||
| name | No | ||
| description | No | ||
| custom_data | No | ||
| add_nodes | No | ||
| remove_nodes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |