update_team_members
Replace a team's agent list by setting exactly the provided user IDs as members. Use it to update team membership in Chatwoot when agents need to be added, removed, or fully reassigned.
Instructions
Replace the agent list for a team. Sets exactly the provided user IDs as team members.
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": {
"team_id": "<team_id>",
"user_ids": "<user_ids>"
},
"name": "update_team_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | The team ID | |
| user_ids | Yes | Array of agent user IDs that should be in the team | |
| account_id | No | Chatwoot account ID to use. If omitted, uses the default account from CHATWOOT_ACCOUNT_ID env var. |