worthy-azureW

Chat API Tool Call not running

[
  {
    "id": "e16e22e7-08c4-45a1-a889-41cbf0b36f1e",
    "orgId": "01fc90d6-f3d4-425b-bd2e-5d35728fde87",
    "sessionId": "613c3bbf-aebe-4c2f-a976-37787a559267",
    "input": [
      {
        "role": "user",
        "content": "Get availability again"
      }
    ],
    "output": [
      {
        "role": "assistant",
        "tool_calls": [
          {
            "id": "call_iQQRD0wPlIbAvPhzECqV9K6V",
            "type": "function",
            "function": {
              "name": "get_available_slots",
              "arguments": "{\n  \"region\": \"colorado\",\n  \"leadaddress\": \"2091 East 74th Avenue Unit C, Denver Colorado 80229\",\n  \"leadpreference\": \"night\",\n  \"requires_onsite\": \"No\",\n  \"quote_or_estimate_only\": \"No\",\n  \"leadTrade\": \"solar\",\n  \"leadTimeZone\": \"America/Denver\"\n}"
            }
          }
        ]
      },
      {
        "role": "tool",
        "content": "No result returned.",
        "tool_call_id": "call_iQQRD0wPlIbAvPhzECqV9K6V"
      },
      {
        "role": "assistant",
        "content": "It seems I'm still not seeing available times at the moment. Would you prefer to pick a day and time that’s convenient for you, and I’ll try to reserve it for your virtual solar consultation?"
      }
    ],


Keeps returning no result returned but its never hitting my webhook url.
Was this page helpful?