popular-magentaP
VAPI•7mo ago
popular-magenta

how to use api_tool result in following node.

I used an api_tool.
In the log i am seeing the following result

{
"name": "get_events_vapi",
"role": "tool_call_result",
"time": 1749668533604,
"result": "{"option_request_id": "recx350X6P2CCTCO9"}",
"toolCallId": "b09ad572",
"secondsFromStart": 34.805
}

However when i use option_request_id in the next node which is an api_tool node

Name
option_request_id
Type
String
Value
{{option_request_id}}


it shows in my call log it is empty

{
"role": "tool_calls",
"time": 1749668537173,
"message": "",
"toolCalls": [
{
"id": "db2de25b",
"type": "function",
"function": {
"name": "Check_options",
"arguments": "{"option_request_id": ""}"
}
}
],
"secondsFromStart": 38.374
}


Am i doing something wrong?

@Kings_big💫
Was this page helpful?