Update an API Tool

Update an API tool by ID.

Endpoint

PATCH
/api-tools/:id

Request

Response

json

Editable Fields

ParameterTypeDescription
nameStringTool name
descriptionStringHuman-readable description
endpointStringFull target URL
methodStringHTTP method
headersObjectHeaders sent with requests
url_parametersArrayQuery and path parameters
body_parametersArrayJSON body parameters
parameters_schemaObjectOptional OpenAI-compatible schema
response_exampleAnyExample response

Updating Associated Assistants

Changing an API tool updates the reusable tool definition. Assistant associations are stored separately on each assistant in the api_tools field.

To change when an assistant should use a tool, patch the assistant:

Report an issue with this documentation

Please log in to report issues with our documentation.