Tool

Modify tool

Update the source code and input schema of a tool.

post/v1/tools/{id}

Path parameters

idstring required

Request body

codestring nullable
descriptionstring nullable
{"stackTrail":"components:schemas:UpdateToolRequest:properties:input_schema","oasType":"schema","type":"unknown","nullable":true}
language'python' | 'javascript' | 'typescript'
namestring nullable

Response

OK

codestring required
descriptionstring required
idstring required
{"stackTrail":"components:schemas:Tool:properties:input_schema","oasType":"schema","type":"unknown"}
language'python' | 'javascript' | 'typescript' required
namestring required
revision_idstring required

Changes