Skip to main content
POST
Toggle tools for an agent

Autorisierungen

Authorization
string
header
erforderlich

Scoped API token. Required scopes are listed on each operation in x-required-scopes.

Body

application/json
agent_id
integer
erforderlich

The voice agent.

tool_ids
integer[]
erforderlich

Tools to enable or disable. Ids that do not belong to your account are ignored.

Minimum array length: 1
target_state
boolean
erforderlich

True enables, false disables.

Antwort

The agent's enabled tool names after the change.

agent_id
integer
erforderlich
enabled_tools
string[]
erforderlich

Names of the tools enabled for the agent after this call.