Toggle a system tool
- Console
- API
Open your agent’s Tools page in the Builder. The System tools card holds a switch for each tool.
Hang up call
With Hang up call on, the agent can end the call itself by calling the built-in_end_call tool. The call ends once the agent finishes speaking.
Farewell
Choose what callers hear before the call ends.
In every mode, anything the agent says in the same reply as the
_end_call call is spoken first. In Generated mode, message is said only when that reply says nothing, so callers never hear two goodbyes.
- Console
- API
On the agent’s Tools page, turn on Hang up call in the System tools card. Pick a mode under Farewell below it. For Fixed message, type the line in the box that appears.
{{placeholders}} as the system prompt (see Dynamic variables). A fixed mode with an empty message falls back to Generated.
Questions before hanging up
Turn on Don’t hang up on a question to stop the agent from hanging up on a question. With it on, if themessage the caller would hear contains a question mark, for example “Is there anything else I can help you with?”, the _end_call call fails and the call stays open. The agent asks the question in its reply, waits for the answer, and calls _end_call again after that.
- Console
- API
On the agent’s Tools page, under Hang up call, set Farewell to Generated, then turn on Don’t hang up on a question. The switch shows only in Generated mode.
Press keys
Press keys is in Beta. The instructions the agent gets for it, and when
exactly a key goes out, may still be tuned.
The agent decides from what it hears. A call to a company’s main line can go like this.
1
A menu answers
“For sales, press 1. For support, press 2.” The agent presses 2 and says
nothing.
2
The call is on hold
“Please hold for the next available representative.” The agent stays
silent and keeps listening.
3
A person answers
“Support, this is Amy.” The agent talks to Amy as on any other call.
Turn it on
- Console
- API
On the agent’s Tools page, turn on Press keys in the System tools card, then publish. Outbound calls run the published version.
Tell the agent where to go
The agent picks keys from the menu it hears and from its system prompt. Say in the prompt who it should reach, and give it every number it may be asked for. The agent only enters numbers that are in its instructions or that the phone system itself reads out. Pass values that change per call as dynamic variables.Test key presses
Agent tests on the Phone outbound channel give the agent the two tools, so you can check what it presses before it places a call. A test sends no tones. It checks the keys the same way a call does and shows each press as a_press_keys tool call.
- Console
- API
In the test, set Channel to Phone outbound. For a Tool test, write the menu line as the User message, pick
_press_keys under Require tool execution and add the parameter keys under Tool parameters. For a Simulation test, write the phone system into the Scenario, then open Advanced and add _press_keys under Required tool calls.Limitations
- Imported SIP numbers. Keys are sent as telephone events (RFC 4733). On an imported SIP number they reach the other side only when your SIP provider carries them. Place a test call to a menu to confirm.
- Preview calls. Preview calls are web sessions and do not include the two tools.
Transfer call
_transfer_call has no switch of its own: it is enabled automatically once the agent has a transfer destination configured, and only on phone sessions (web sessions have no call to transfer). See Transfers for configuring destinations and everything else about transfers.
Going further
Tools overview
How webhook, client, and system tools fit together.
Webhook tools
Call your own HTTP endpoints from a conversation.
Client tools
Run tool calls inside your own app via the SDK.
Voice & language
Configure the agent’s voice and speaking language.

