Update tool

View as Markdown
Update an existing tool

Authentication

X-API-Keystring

API key supplied via the X-API-Key header. Takes precedence over bearerApiKey when both are present.

OR
AuthorizationBearer

Same organization API key supplied as a Bearer token in the Authorization header (Authorization: Bearer <key>). Compatible with OpenAI-SDK-standard clients. Accepted by all authenticated endpoints; if both X-API-Key and Authorization: Bearer are present, X-API-Key wins.

Path parameters

toolIdstringRequired

Request

This endpoint expects an object.
namestringOptionalformat: "^[a-zA-Z0-9_-]+$">=1 character
descriptionstringOptional
promptstringOptional
typestringOptional>=1 character
providerConfigmap from strings to anyOptional
versionstringOptionalformat: "^\d+\.\d+\.\d+"
bumpVersionenumOptional
Allowed values:
updateEnvironmentVersionslist of stringsOptional

Response

OK
any
OR
any