Tools
Register and list custom tools agents can call mid-conversation.
Tools are HTTP functions an agent can trigger during a call.
List tools
const tools = await voice.tools.get();tools = client.tools()Create a tool
const tool = await voice.tools.create({
name: "book_appointment",
description: "Books an appointment slot in the CRM.",
httpEndpoint: "https://hooks.acme.com/book",
method: "POST",
});tool = client.create_tool(
name="book_appointment",
description="Books an appointment slot in the CRM.",
http_endpoint="https://hooks.acme.com/book",
method="POST",
)Parameters
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Technical function name the LLM invokes. |
description | string | Yes | What the tool does (shown to the model). |
httpEndpoint / http_endpoint | string | Yes | Absolute URL the tool payload is sent to. |
method | string | Yes | HTTP method, e.g. POST. |