Toggle Agent Tool
Enable or disable a single built-in or custom tool for a V2 chat agent. Identify the tool by the (tool_name, source) pair from List Agent Tools. Requires a token with write access.
Authorizations
Conduit API token. Use Authorization: Bearer <token>. Read/write endpoints require a token with write access.
Path Parameters
V2 chat agent id.
"ag77c0dy0mgdpzmqz6tesry8w184002s"
Query Parameters
Optional workspace override. If omitted, Conduit resolves the agent's workspace automatically.
"j57demo8f8x7c9v0n2q4r6t8y1u3i5o"
Body
Enable or disable a single tool for a V2 chat agent. The (tool_name, source) pair identifies the tool.
Name of the tool to toggle, as returned by GET /v1/agents/{id}/tools.
1builtin for a platform tool from the tools catalog, custom for a workspace custom code tool.
builtin, custom Set true to enable the tool for this agent, false to disable.
Response
Updated tool access
The tool's resolved access state after the change.