Agent Tools

Update agent custom tool

Update an agent custom tool.

put/api/v0/agent/tools/{tool_id}

Path parameters

tool_idstring uuid required

Request body

tool_type'python' | 'prompt' | 'api' nullable

New tool type.

namestring nullable

New tool name.

descriptionstring nullable

New description.

parametersobject[] nullable

New parameter definitions.

codestring nullable

New code/prompt/config body.

Response

Successful Response

idstring uuid required

The ID of the tool.

tool_typestring required

The tool type (python, prompt, api).

namestring required

The name of the tool.

descriptionstring required

The description of the tool.

parametersobject[] nullable

The parameter definitions.

codestring required

The code/prompt/config body.

created_atstring date-time required

When the tool was created.

updated_atstring date-time required

When the tool was last updated.

Changes

No recorded changes to this endpoint across all 1 revision of this API.