Tools
Update Tool
Update a persisted tool definition or metadata
PATCH
Update Tool
Update a tool assigned to an agent.
tool_identifier may be the persisted tool ID or tool name.
Updates are durable and create a new version of the tool definition used by future executions. Tool schema, metadata, approval settings, credentials, and source code changes invalidate cached tool definitions for affected agents.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
agent_id | string | The agent’s unique identifier |
tool_identifier | string | The tool’s persisted ID or name |
Request Body
Send only the fields you want to change.function_code may define a sync or async Python function.
Response
Returns the updated tool definition, including the stable tool ID and current version metadata.Update Tool

