New Client Tool Request
POSThttps://{yourserver}/webhooks/toolContent-Type: application/json
Authentication
Authorizationheader (basic auth, required) — Basic authentication of the formBasic <base64(username:password)>.
Request
Body (application/json)
This endpoint expects an object.
tool_call_idstringa unique identifier for the tool request.namestringThe unique name of the client tool being requestedargsobjectObject containing key/value pairs of the parameters specified in the client tool
Response
200
Your callback should return this HTTP status code in all cases.
resultobjectcontains data to be retrurned to the LLM, can contain either a string or an object.
Examples
Request
{
"tool_call_id": "chatcmpl-tool-4a231898ff8a4d24bce8146124c3bf5e",
"name": "client-get-time"
}
Response
{
"result": {}
}