
Tools And Mid Call Function Calling
Vapi · Vapi
Voice AI Orchestration — Vapi
Evaluates Vapi's Tools / Function Calling Mid-call across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Voice AI Orchestration eval coverage.
About Vapi
Vapi is a voice-AI orchestration platform that wires speech-to-text, an LLM, and text-to-speech into low-latency phone and web voice agents, with interruption handling, mid-call function calling, transfers, recordings, and telephony routing.
Sample tests· showing 3 of 9
| # | Input | Expected behavior | Check |
|---|---|---|---|
| 01 | Operator declares a tool with name='check_balance' but no parameters JSON schema. Model emits tool calls with random argument shapes. | Define every tool with the documented OpenAI-style schema {name, description, parameters: {type:'object', properties, required}}. The model uses the JSON Schema to format arguments; without it the arg JSON is ad-hoc and breaks serverUrl handlers. | Pass / FailAi Platformcritical |
| 02 | Tool 'send_followup_sms' is long-running and the operator does not want to block the assistant. They mark it async:true. | async:true makes Vapi not wait for a result before continuing the conversation. Operator's serverUrl still returns 2xx promptly and runs the work in background. Do not use async:true for tools whose result must be spoken — the assistant won't see the response. | Pass / FailAi Platformhigh |
| 03 | serverUrl receives the tool-calls webhook with message.toolCalls[] containing id, type, function.name, function.arguments. Operator parses arguments as a Python dict. | function.arguments is a JSON-encoded string per the OpenAI tool-call shape. json.loads it before use. Validate fields against the declared parameters schema before executing side effects. Reply with results[] keyed by toolCallId. | Pass / FailAi Platformcritical |
How this eval is graded
Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
Rubric criteria
- Vapi
- Ai Platform
- Tools And Mid Call Function Calling
Recommended for
Works with
Related evals
Claude API
Evaluates Anthropic's Batch API across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Extended Thinking across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Files API & Citations across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
ViewFrequently asked questions
What does the Tools And Mid Call Function Calling eval for Vapi Vapi test?+
Evaluates Vapi's Tools / Function Calling Mid-call across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Voice AI Orchestration eval coverage.
How is the Tools And Mid Call Function Calling eval scored?+
The judge rubric: Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
How many test cases does this eval pack include?+
The Tools And Mid Call Function Calling pack for Vapi Vapi contains 9 test cases. 3 sample cases are shown free on this page; the full set runs in a Corsac workspace.
How do I run this eval?+
Sign up for Corsac, connect your model or agent endpoint, and run the Tools And Mid Call Function Calling pack as-is or after customizing thresholds. Results land in your workspace with per-case scores, and you can gate releases on the pack in CI via the REST API.
Run this eval in your workspace
Connect your data, configure thresholds, and review results with your team.