assign_client_group
Assign or remove a client's local group. Identify the client by MAC, IP, hostname, or alias, then pass a group name (or null) and confirm=true to apply.
Instructions
Assign or unassign one local client group. Requires confirm=true.
Mutating operation: sets the client's single local group membership (local_only) to the given group, or clears it when group is null. Does not mutate the controller. Returns success=false unless confirm=true. Use set_client_tags for tags, or list_clients_by_organization to find clients in a group.
Args: identity: Client MAC, IP, hostname, or alias to resolve to a known client. group: Group name to assign, or null/None to unassign the current group. site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default. confirm: Must be True to change membership; without it the call is a no-op. Defaults to False.
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": {
"identity": "<identity>",
"group": "<group>"
},
"name": "assign_client_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site to operate on. Defaults to "default". | default |
| group | Yes | Group name to assign, or null/None to unassign the current group. | |
| device | No | Optional device name to target a specific console; omit for default. | |
| confirm | No | Must be True to change membership; without it the call is a no-op. Defaults to False. | |
| identity | Yes | Client MAC, IP, hostname, or alias to resolve to a known client. |