Set up a queue
upsert_queueCreates or edits a queue. The account owner and every queue member need Plus. A queue rings only members who are signed in and available. strategy ring_all, round_robin, least_recent, and priority ring every available member at once. hunt rings one available member at a time for ring_seconds, then the next. overflow and no_agents can be voicemail, another queue, hangup, or an AI receptionist. outbound_caller_id is optional and must already be a caller ID on this account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upsert_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| overflow | No | Destination. Which names work depends on the place being set. Older names still work. | |
| strategy | No | ring_all, round_robin, least_recent, and priority ring every available member. hunt rings one member at a time in priority order. | |
| no_agents | No | Destination. Which names work depends on the place being set. Older names still work. | |
| member_ids | No | ||
| auto_record | No | ||
| ring_seconds | No | Hunt ring time for each member, unless that member has their own. | |
| overflow_target | No | Queue id, voicemail box, or AI receptionist id for overflow. | |
| receptionist_id | No | AI receptionist id when overflow or no_agents is ai_receptionist. | |
| max_wait_seconds | No | ||
| no_agents_target | No | Queue id, voicemail box, or AI receptionist id when nobody is signed in. | |
| outbound_caller_id | No | Optional caller ID for callbacks and outbound calls in this queue. Must already be allowed on this account. |