update_tool
Update an existing tool by its ID. Fetches the current tool and applies partial updates to name, description, or active status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | snake_case tool name, max 64 characters. Used as the function name when the LLM calls the tool. | |
| active | No | ||
| tool_id | Yes | ||
| description | No | ||
| tool_config | No | Function schema sent to the LLM. Pass as an inline JSON object — do NOT serialize to a string. Use 'FormAPISchema' for form tools or 'APIToolConfig' for API-calling tools. Pass null to clear. | |
| function_arguments | No | Fixed runtime arguments NOT collected from the LLM (e.g. recipient email, rerank flag, knowledge-base ID). Pass as an inline JSON object — do NOT serialize to a string. Must include an 'object' discriminator field matching the tool type. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||