Skip to main content
System tools are capabilities built into the platform. There is nothing to create or host. Each agent simply enables the ones it needs.

Toggle a system tool

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.
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.
The fixed message is up to 1,000 characters and accepts the same {{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 the message 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.
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.
The switch has no effect with a Fixed message or Off. Agent tests and simulations follow the same setting.

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.
Many business numbers are answered by an automated phone menu before a person picks up. With Press keys on, the agent can get through that menu on the calls it places. On outbound calls it gets two more tools. 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.
The setting applies to outbound phone calls only. Inbound calls, web and SDK sessions ignore it. To press keys on the call to a transfer destination, see Pressing keys on a transfer.

Turn it on

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.
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.
A test on any other channel does not include the two tools, as a real call there does not. A Single Turn test on Phone outbound has them as well, so a reply to a menu line can be empty.

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.