PATCH
Update Custom Tool
Updates one or more fields on an existing custom tool.
PATCH
https://api.vantaxai.com/v1/custom-tools/{tool_id}Only include the fields you want to change. Updating the `schema` changes the arguments the Agent collects; updating `endpoint_url`, `http_method`, or `headers` changes where and how the request is sent. Changes apply to every Agent the tool is attached to.
Headers
AuthorizationstringrequiredBearer authentication with your secret API key.
example: Bearer vx_live_3fa9c2…
Content-TypestringrequiredMust be application/json for requests with a body.
example: application/json
Path Parameters
tool_idstringrequiredThe custom tool to update.
example: tool_7b2e91
Body Parameters
namestringoptionalNew tool name.
descriptionstringoptionalUpdated natural-language description used by the Agent.
schemaobjectoptionalReplacement JSON Schema for the tool's input parameters.
endpoint_urlstringoptionalReassign the URL the Agent calls.
http_methodstringoptionalChange the HTTP method.
GETPOSTPATCHPUTDELETEheadersobjectoptionalReplace the static headers sent with each call.