How to pass metadata into API Request Tool same as Custom Function Tool
When I trigger a Custom Function Tool in a VAPI workflow there is metadata being passed to the tool as content in the request body including previous workflow messages and the customer info with their phone number. But, when use the API Request tool none of this metadata is being passed.
Is it possible to pass metadata such as the customer phone number into API Request tool calls?
Example Call ID: 332b2b3b-dca0-4886-b0a4-0a1bc68ed9bc
Timestamp: 7/16/2025 5:41:46 PM
Expected Result: Caller metadata in the API Request body such as:
{
"body": {
"customer": {
"number": "<redacted>",
"sipUri": "<redacted>"
}
}
Actual Result: No metadata in request body
Is it possible to pass metadata such as the customer phone number into API Request tool calls?
Example Call ID: 332b2b3b-dca0-4886-b0a4-0a1bc68ed9bc
Timestamp: 7/16/2025 5:41:46 PM
Expected Result: Caller metadata in the API Request body such as:
{
"body": {
"customer": {
"number": "<redacted>",
"sipUri": "<redacted>"
}
}
Actual Result: No metadata in request body