v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-25173140700.7 KB
Tool

Update a tool

Update a tool's editable fields (superadmin only).

patch/tools/{tool_id}

Path parameters

tool_idinteger required

ID of the tool to update.

ID of the tool to update.

Query parameters

cookie_namestring nullable

Request body

namestring nullable

Human-readable name of the tool.

descriptionstring nullable

Short description of what the tool does.

promptstring nullable

Tool prompt/description shown to LLM

Example request

{
  "name": "Web Search",
  "description": "Searches the public web for up-to-date information.",
  "prompt": "Use this tool to look up current events on the web."
}

Response

Successful Response

idinteger required

Unique identifier of the tool.

namestring required

Human-readable name of the tool.

descriptionstring nullable required

Short description of what the tool does.

promptstring nullable required

Tool prompt/description shown to LLM

created_atstring date-time required

UTC timestamp when the tool was created.

updated_atstring date-time nullable required

UTC timestamp when the tool was last updated, or null if never updated.

Example response

{
  "id": 42,
  "name": "Web Search",
  "description": "Searches the public web for up-to-date information.",
  "prompt": "Use this tool to look up current events on the web.",
  "created_at": "2026-01-15T09:30:00Z",
  "updated_at": "2026-02-20T14:00:00Z"
}