Skip to main content
PATCH
Update an External MCP link (active / requiresApproval / instanceMode)

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de caminho

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

Corpo

application/json

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

active
object

Whether the MCP is currently active for this agent.

Exemplo:

true

instanceMode
object

Instance mode controlling whether the MCP is shared across calls (STATIC) or instantiated per call (DYNAMIC).

Exemplo:

"STATIC"

requiresApproval
object

Whether invocations of this MCP require human approval before execution.

Exemplo:

false

Resposta

OK

External MCP server linked to an agent.

active
boolean
externalMcpPublicId
string<uuid>
instanceMode
enum<string>
Opções disponíveis:
STATIC,
DYNAMIC
requiresApproval
boolean
serverName
string
serverUrl
string