assign_number
Route all inbound calls from a phone number to a specified AI agent, automatically replacing any previous agent assignment.
Instructions
Route a phone number's inbound calls to an AI agent.
After assignment, every inbound call to this number is automatically answered by the specified agent. The agent uses its configured first_message, instructions, voice, and all other settings.
If the number was previously assigned to a different agent, the assignment is replaced — calls immediately start routing to the new agent.
This only affects inbound calls. For outbound calls, you specify the agent and number separately in make_call.
Args: phone_number_id: The number to configure (from list_numbers) agent_id: The agent that will answer calls (from list_agents)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| phone_number_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||