Skip to main content
PATCH
Update an app action tool

Authorizations

Authorization
string
header
required

API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). REST operations also require API Access for the credential's workspace. Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, loop:read, loop:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, billing:write, settings:write, platform:read, platform:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access within the workspace's available capabilities.

Path Parameters

toolId
string<uuid>
required

ID of the app action tool (the id in GET /tools).

Body

application/json
connection_id
string<uuid>

Another connection of the same app.

name
string

New tool name the assistant sees.

Pattern: ^[a-zA-Z][a-zA-Z0-9_-]{0,63}$
use_when
string

When the assistant should use the tool, for example When the caller asks for a callback.

Required string length: 10 - 1000
description_override
string | null

Replaces the generated tool description the assistant sees. Null uses the generated one.

Maximum string length: 900
fields
object[]

Field settings, matched by path (or by key when path is missing). Fields you leave out keep their current setting. Send the fields as they were returned or only the ones you change.

Maximum array length: 300
confirmation
enum<string>

ask_first: before an action changes data, the assistant reads the values back and calls the tool again to run it. In messaging and email the second call runs only after a new customer message. On calls and in web chat it runs when it comes at least 4 seconds after the read-back, whether or not the customer answered. ask_first is not a consent record. none: the action runs at once. Omit it to keep the current setting; actions that only read never ask.

Available options:
ask_first,
none
result_config
object | null

How much of the app's result the assistant reads. Null uses the defaults.

is_active
boolean

Whether assistants can use the tool.

Response

The updated app action tool.

data
object
required

An app action tool with its settings.