Wipple CPaaS
Menu
Webhooks / Client Tool Request

New Client Tool Request

POSThttps://{yourserver}/webhooks/toolContent-Type: application/json

Authentication

  • Authorization header (basic auth, required) — Basic authentication of the form Basic <base64(username:password)>.

Request

Body (application/json)

This endpoint expects an object.

  • tool_call_idstringrequireda unique identifier for the tool request.
  • namestringrequiredThe unique name of the client tool being requested
  • argsobjectoptionalObject 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.

  • resultobjectrequiredcontains 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": {}
}