set_user_access
Switch a user's access channels in THIS tenant (admins only): access_web (app login), access_mcp (API keys and MCP clients such as the claude.ai connector), access_whatsapp (talking to the agent over WhatsApp), and/or phone (the WhatsApp number that identifies them, with country code; null or "" removes it). Required: user_id plus at least one of these.
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": {
"user_id": "<user_id>"
},
"name": "set_user_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | No | Phone number | |
| user_id | Yes | ID of the user | |
| access_mcp | No | Allow API keys and MCP clients | |
| access_web | No | Allow app login | |
| access_whatsapp | No | Allow talking to the agent via WhatsApp |