Set chat agent policy
set_chat_agent_policyChoose which agents may be in this company's chats — the company's owner only (PM-1247). 'all': every agent switched on; 'none': no agent anywhere — none may be put in or called, and those already in chats answer nobody; 'chosen': only the agents named in 'roles' (the whole list — one not named is barred). Takes effect at once, a call already waiting included. A line in the company's journal says from what to what.
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": {
"mode": "<mode>"
},
"name": "set_chat_agent_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | 'all', 'none' or 'chosen'. | |
| roles | No | With 'chosen': the agents let in, by key or handle. |