2f2425e1b6b6

latestOpenAPI 3.0.32026-07-24106305257.4 KB
Tools

Update a tool

Update a tool

put/tools/{toolId}

Path parameters

toolIdstring required

Request body

namestring

Name of the tool (only alphanumeric characters, hyphens, and underscores)

descriptionstring

Description of what the tool does

display_namestring

Human-readable label shown in Studio instead of name. Not sent to the LLM.

providerstring

Provider of the tool

Example request

{
  "name": "weather_api",
  "description": "Get current weather information for any city",
  "provider": "openai"
}

Response

Tool updated successfully

idstring required

Tool ID

namestring required

Name of the tool

descriptionstring required

Description of what the tool does

display_namestring

Human label shown in Studio instead of name. Not seen by the LLM.

providerstring required

Provider of the tool

created_atstring required

Creation timestamp

modified_atstring required

Last modification timestamp

Example response

{
  "id": "tool_123abc",
  "name": "weather_api",
  "description": "Get current weather information for any city",
  "provider": "OpenWeather",
  "created_at": "2024-01-01T00:00:00Z",
  "modified_at": "2024-01-01T00:00:00Z"
}