Skip to main content
A tool is a function the agent can call while it talks. You save the tool once in the workspace, then attach it to as many agents as you like. Kallabot runs every call through the same executor on phone calls, web calls, chats and the dashboard’s Test button.

HTTP tools

Templating, server variables, responses and timeouts.

Errors

Every error code the agent can read.

Security

Egress rules, credentials and securing your endpoint.

Idempotency

The Idempotency-Key header and results that are not known.

MCP servers

Connect a remote MCP server and choose its tools.

Set up in the dashboard

No code: add tools in the agent’s Tools step.

Kinds

Built-in tools (transfer, web search, knowledge search, WhatsApp message and others) are not saved tools. You switch them on in the agent’s configuration. See Agents.

Create a tool

name is the function name the model calls (1 to 80 characters). description tells the model when to use it (1 to 500 characters). Write it as an instruction: what the tool does and when to call it.

Attach a tool to an agent

Reference saved tools in the agent’s tools list. A tool runs on every channel unless you limit it.

When a tool runs

run_on sets when a tool runs. call_start and call_end tools are never offered to the model. A required parameter with no default keeps them from running. A call_start tool has about 1.2 seconds before the agent starts talking without it.

How a tool runs

Three flags change how the conversation behaves while a tool runs. Two more flags apply to conversation tools only:
  • confirm_first: the agent tells the person what it is about to do and waits for a yes.
  • once_per_call: the tool runs at most once per call. A second request returns already_done_this_call. A call that failed before sending (for example, bad arguments) does not use up the one run.

Fillers

speech.filler is a line the agent says if the tool takes longer than speech.filler_after_ms (default 700 ms). speech.fillers_by_lang sets one per language.
A configured filler is not spoken on async, side_effect or lookup tools. These run while the conversation goes on, so the agent says it is still working on it instead.

See what a tool did

Every run is recorded with its arguments, result, status and duration.
  • GET /v1/tools/{id}/invocations lists one tool’s runs.
  • GET /v1/calls/{call_id}/tool-invocations lists a call’s runs. Arguments and results need the call:content scope.
  • The tool.called webhook event reports each run.
status is one of claimed, running, ok, error, timeout, cancelled or indeterminate.

Test a tool

POST /v1/tools/{id}/test runs a saved tool with arguments you give. POST /v1/tools/test runs a draft before you save it. Both send a real request through the same executor a live call uses, and both need an Idempotency-Key. Test requests do not send an Idempotency-Key to your endpoint.

Scopes