Skip to main content

Overview

When you attach tools to a persona, the AI automatically knows they exist. However, your system prompt determines when and how the agent uses them. A well-written prompt tells the agent the conditions under which to invoke each tool. You reference tools by their model-facing name in your persona instructions. These are the names the AI actually sees and calls.

Voice Tools

These are available during live calls (voice:in-call).

hangUp

Ends the call.

transferCall

Transfers the call to another party. Used for both warm and cold transfers — the behavior depends on how the tool is configured on the persona. Warm transfer (AI stays on the line during handoff): Cold transfer (immediate transfer, AI disconnects):
When the transfer target is pre-configured (static), the AI does not need to provide target — it’s injected automatically. When configured with dynamic targets, the AI decides where to transfer based on the conversation.

leaveVoicemail

Leaves a voicemail and ends the call.

playDtmfSounds

Plays touch-tone digits. Useful when your agent needs to navigate phone menus (IVR systems).

queryCorpus

Searches the attached knowledge base for relevant information.
This tool is automatically available when a knowledge base is attached to the persona. You don’t need to manually enable it.

Multi-Agent Tools

agent_transfer

Transfers the live call to a different AI persona mid-call. The new persona takes over with its own system prompt, voice, and tools.

create_call

Creates a new outbound call as a separate session. Does not affect the current call.

Prompting Best Practices

Don’t just say “transfer if needed.” Specify the exact conditions:
The agent should communicate with the caller before taking action:
Prevent unwanted behavior by being explicit about restrictions:
You can instruct the agent to use multiple tools in order:
Always use the exact model-facing name (e.g., transferCall, not “transfer the call” or “do a warm transfer”). The AI maps your instructions to the tool by its name.