Skip to main content
Tools extend what agents can do. While models provide reasoning capabilities, tools allow agents to take actions—accessing external systems, querying knowledge stores, executing code, or performing web searches to accomplish tasks. The tool library lets you create and manage tools independently of agents, then link them to any agent by tool ID.

Tool types

See the sub-pages for type-specific configuration and parameters.

Create a tool

Create a tool in the library using client.tools.create():
For tools that require configuration, include a config object:

Retrieve a tool

List tools

Update a tool

Use client.tools.update() to make partial changes to a tool. Provide only the fields you want to change. Omitted fields remain unchanged. Endpoint: PATCH /v1/flow/tools/{tool_id}
Tool updates propagate immediately to all agents using the tool.

Preview a tool update

Use client.tools.update_diff() to simulate an update without applying it. The response shows exactly what would change. Endpoint: PATCH /v1/flow/tools/{tool_id}/diff
The response includes the complete before and after tool state, and a diff object identifying each changed field:

Duplicate a tool

Delete a tool

You cannot delete a tool that is linked to an active agent. Demote or delete the agent first.

List linked agents

Check which agents use a specific tool before updating or deleting it:
When creating or updating an agent, specify tool IDs in the tool_ids parameter:
For more on agent creation and management, see Create and manage agents.
Last modified on June 26, 2026