Tool Headers
# general-english
c
im sending a request from a tool, and I assigned to it 2 headers. I've made a get request of the tool and can see them both assigned
a
ok a bit confused...
when you are in VAPI agent it will perform a tool call. In that tool call function are you attaching headers to send in the payload?
usually tool calls look like this
Copy code
{
    "type": "function",
    "messages": [ ... ],
    "function": { ... },
    "async": false,
    "server": { ... }
}
not sure a tool call from VAPI can send headers?
here is what a typical tool call response to VAPI looks like (from same link above):
Copy code
{
  "results": [
    {
      "toolCallId": "X",
      "result": "Y"
    }
  ]
}