Skip to main content
PUT
Set the agents that hold a connection’s tools, in one request. Each agent you list gets exactly the tools you list for this connection. An agent’s tools from other connections are kept.
  • An agent you leave out, or list with an empty tools, loses this connection’s tools.
  • Every changed agent is updated as an agent edit is, and synced to the voice runtime.
  • The change is all or nothing. Every agent is checked before the first write, so a refusal changes nothing.
Tool keys come from List integration tools. For the dashboard flow and the rules, see Connect integrations to agents.

Request

Headers

string
required
Bearer token with your API key (scope agents)
string
required
application/json

Path

string
required
The connection id (UUID)

Body

object[]
required
Up to 200 entries. Each agent_id may appear once.
string
required
The agent’s public id, as the agents API returns it
string[]
default:"[]"
Tool keys of this connection, up to 16 per agent. Unique within the list

Response

200 OK
used_by is the connection’s usage after the change: the agents that hold one of its tools, with their tool keys.

Errors

Example