Update Tool

View as Markdown
Update a custom tool definition. Changes apply to future tool use while existing tool call records remain available.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

idstringRequired

Request

This endpoint expects an object.
authSecretIdstring or nullOptional1-200 characters
descriptionstring or nullOptional<=2000 characters
inputSchemaobjectOptional
metadataobject or nullOptional
namestringOptionalformat: "^[a-z_][a-z0-9_-]*$"1-64 characters
outputSchemaobjectOptional
statusenumOptional
timeoutMsintegerOptional<=120000

Response

OK
builtinobject
OR
hostedobject
OR
mcpobject
OR
webhookobject
OR
workflowobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error