/workflows/:id/tools/:toolId
Edit a custom tool’s config. name is immutable — the agent’s prompt references it, so delete and recreate the tool instead of renaming it.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | Agent ID |
toolId | string (uuid) | Yes | Tool ID |
Request Body
Provide at least one field. Same shape as Create Workflow Tool, minusname.
| Field | Type | Required | Description |
|---|---|---|---|
description | string | No | |
url | string | No | |
method | string | No | GET, POST, PUT, PATCH, or DELETE |
parameters | object | No | |
headers | object | No | |
query_parameters | object | No | |
timeout_ms | integer | No | |
available_in_statuses | string[] | null | No | |
auto_run_on_entry | boolean | No | |
call_once | boolean | No | |
is_active | boolean | No |
Responses
200 — Tool updated
400 — Validation error
"invalid method" or "Nothing to update".
401 — Authentication error
See Authentication.
404 — Not found
"Workflow not found").