Skip to main content

Tools

Manage external tools that agents can use during calls. Tools let agents perform HTTP requests (API lookups, CRM writes, appointment booking, etc.) in real-time while on a call. For UUID / phone / datetime formats used below, see Data formats.

List Tools

Parameters

Query parameters: Returns data (array of tool objects), pagination (total, limit, offset, has_more), and meta.

cURL

Get Tool

Create Tool

Parameters

Request body: * name is required unless definition.modelToolName is explicitly provided. Idempotency: Send X-Idempotency-Key for safe retries.

Example — minimal

Example — full HTTP tool

cURL

Response: 201 Created with data (tool object) and meta. Returns 422 if the tool definition is invalid (e.g. modelToolName contains invalid characters, provider error).

Update Tool

Update a tool’s name and/or definition. Only included fields are changed. Changes are pushed to the voice service immediately. Request body: Any subset of name and/or definition. Returns 422 if the definition is rejected.

Delete Tool

Deletes the tool from Truedy and from the voice service. Agents using this tool will no longer have access to it.

Tool Object