ReceptionistAgent
Greets callers, collects basic information about their needs, and transfers them to the
appropriate department. Uses FunctionResult.connect() for call transfers.
departments
List of departments. At least one department is required. Each dict must have:
departments[].name
Department identifier (e.g., "sales"). Used in the transfer tool’s enum.
departments[].description
Description of what the department handles. Guides the AI in routing decisions.
departments[].number
Phone number for call transfer (e.g., "+15551234567").
greeting
Initial greeting spoken to the caller.
voice
Voice ID for the agent’s language configuration.
name
Agent name for identification and logging.
route
HTTP route for this agent.
Built-in Tools
The transfer_call tool uses FunctionResult.connect() with final=True, which
permanently transfers the call out of the agent. The AI speaks a goodbye message
before the transfer executes.