Extra messages sent from server to client after to...
# support
r
I have next case: 1) agent can call tool X; 2) after tool X is called it gives the standard vapi response {"result": "tool call output"} that is transferred back to agent 3) During tool call I have extra data generated that I need to pass to client. How can I do it with Vapi? Now the flaw looks like: Agent (calls) -> tool X (provides response) -> Agent (for now it goes directly to the client) -> Client And what I need is: Agent (calls) -> tool X (provides response) -> Agent (for now it goes directly to the client) -> Client + tool X (sends extra data to the client ) -> Client Any recommendations on how I can achieve this with Vapi? and another question: what comes when I add "Tool Calls" option to Client Messages?
v
message has been deleted
s
Provide me a latest call_id