Skip to main content
PATCH
Update a tool link (active / requiresApproval)

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de caminho

agentPublicId
string<uuid>
obrigatório
httpToolPublicId
string<uuid>
obrigatório

Corpo

application/json

Body for updating the link between an agent and an HTTP tool. Fields are tri-state: omit to leave unchanged, set to a value to update, or send null to clear.

active
object

Whether the tool is currently active for this agent.

Exemplo:

true

requiresApproval
object

Whether invocations of this tool require human approval before execution.

Exemplo:

false

Resposta

OK

HTTP tool linked to an agent.

active
boolean
httpToolPublicId
string<uuid>
requiresApproval
boolean
toolName
string
toolType
enum<string>
Opções disponíveis:
HTTP_REQUEST,
DATABASE_QUERY,
INTERNAL_VARIABLE,
CUSTOM_INTEGRATION,
PIPEDREAM_MCP