Skip to main content
PATCH
Update a tool

Authorizations

Authorization
string
header
default:$CARTESIA_API_KEY
required

Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.

Headers

Cartesia-Version
enum<string>
default:2026-08-14
required

API version header.

Available options:
2026-08-14
Example:

"2026-08-14"

Path Parameters

tool_id
string
required

Unique identifier for the tool.

Minimum string length: 1

Body

application/json
api_schema
object
description
string

What the tool does and when the agent should use it.

Required string length: 1 - 2000
execution_mode
enum<string>

Controls how the tool runs relative to the conversation. immediate runs in the current turn and can be interrupted by the caller. async lets the turn finish while the tool runs.

Available options:
immediate,
async
name
string

Name the agent uses to call the tool. Names are case-sensitive.

Pattern: ^[a-zA-Z][a-zA-Z0-9_-]{0,63}$
pre_tool_speech
enum<string>

Controls whether the agent speaks before using the tool. auto lets the agent decide, while force asks the agent to speak first.

Available options:
auto,
force
response_timeout_secs
integer

Maximum time to wait for the endpoint to respond. Defaults to 20 seconds.

Required range: 1 <= x <= 120

Response

Update a tool

api_schema
ManagedWebhookApiSchemaResponse · object
required
created_at
string<date-time>
required

An RFC 3339 / ISO 8601 date-time string with timezone (e.g. 2025-04-16T12:34:56.789Z).

description
string
required

What the tool does and when the agent should use it.

Required string length: 1 - 2000
execution_mode
enum<string>
required

Controls how the tool runs relative to the conversation. immediate runs in the current turn and can be interrupted by the caller, while async lets the turn finish while the tool runs.

Available options:
immediate,
async
id
string
required

Unique identifier for the tool.

Minimum string length: 1
name
string
required

Name the agent uses to call the tool. Names are case-sensitive.

Pattern: ^[a-zA-Z][a-zA-Z0-9_-]{0,63}$
pre_tool_speech
enum<string>
required

Controls whether the agent speaks before using the tool. auto lets the agent decide, while force asks the agent to speak first.

Available options:
auto,
force
response_timeout_secs
integer
default:20
required

Maximum time to wait for the endpoint to respond. Defaults to 20 seconds.

Required range: 1 <= x <= 120
type
enum<string>
required

Runs an HTTP request from Cartesia's servers.

Available options:
webhook
updated_at
string<date-time>
required

An RFC 3339 / ISO 8601 date-time string with timezone (e.g. 2025-04-16T12:34:56.789Z).

agents
ManagedAgentSummary · object[]

Agents that currently use this tool. Included when expand[]=agents is requested.