Manage groups
tuqui_groupRead the workspace's groups (named sets of people) and manage who is in them. action='list' returns every group; 'get' one with its members; 'save' creates a group when 'group' is absent and renames it when present (workspace admins only); 'delete' removes one (admins only); 'add' puts people in a group (with role='manager' they join as managers, admins only) and never changes the role of somebody already in it; 'set_role' names or un-names managers (admins only); 'remove' takes people out; 'leave' takes YOU out of a group, which anyone in it may do. A group's managers may add and remove its plain members, not other managers. Name the group with 'group' (its name or id) and the people with 'to' (email, name or user id). Only people who already accepted their invitation can be in a group.
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": {
"action": "<action>"
},
"name": "tuqui_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | add / remove / set_role: the people, by EMAIL, name or user id. A list. | |
| name | No | save: the group's name. Required to create. | |
| role | No | add: the role of people who are NOT in the group yet, 'member' (default) or 'manager'. set_role: the new role, required. Managers are named by an admin. | |
| group | No | The group's name or id. Required for every action but 'list' and creating. | |
| action | Yes | REQUIRED. What to do with the groups. | |
| description | No | save: one line on who is in the group. | |
| consent_token | No | The approval a person gave for THIS call in Tuqui. Bound to these arguments and valid once. |