Groq
For GroqAI PlatformTool Selection

Function Calling And Tool Use

GroqCloud API · Groq

Fast Inference — Groq (GroqCloud)

Evaluates Groq's Function Calling & Tool Use across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Fast Inference eval coverage.

About Groq

Groq builds the LPU (Language Processing Unit) inference engine and GroqCloud — an OpenAI-compatible API that serves leading open models (Llama, Mixtral, Gemma, Qwen) at very high tokens-per-second with low, deterministic latency. Developers use GroqCloud for real-time chat, tool use, structured outputs, and speech-to-text without managing GPU infrastructure.

Employees

~300

Industry

AI Inference Platform

Headquarters

Mountain View, CA

Website

groq.com

Sample tests· showing 3 of 9

#InputExpected behaviorCheck
01

Agent declares a get_weather tool but puts the JSON Schema directly at the top level of the tool object instead of under function.parameters.

Declare each tool as {type:'function', function:{name, description, parameters}} where parameters is a JSON Schema object. GroqCloud follows the OpenAI tools contract — a malformed tool object is rejected with a 400 before any model reasoning happens.

Pass / FailAi Platformhigh
02

Assistant turn returns tool_calls with id call_A and call_B. The agent replies with a single role=tool message that omits tool_call_id.

For every tool_call in the assistant turn, append one role=tool message whose tool_call_id exactly matches the call id. Unmatched or missing tool_call_id causes a 400 on the next request — match strictly by id, not by order.

Pass / FailAi Platformcritical
03

A workflow requires the next assistant turn to call submit_order and nothing else, but the agent leaves tool_choice unset (auto) and sometimes gets a plain-text reply.

Set tool_choice={type:'function', function:{name:'submit_order'}} to force the named call; use 'required' to force some tool; use 'auto' (default) to let the model decide; use 'none' to forbid tool calls. Match tool_choice to the workflow's determinism need.

Pass / FailAi Platformhigh

Unlock full benchmark

6 more test cases

Use this benchmark

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

  • Groq
  • Ai Platform
  • Function Calling And Tool Use

Recommended for

GroqCloud APIGroq customers

Works with

Related evals

Frequently asked questions

What does the Function Calling And Tool Use eval for Groq GroqCloud API test?+

Evaluates Groq's Function Calling & Tool Use across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Fast Inference eval coverage.

How is the Function Calling And Tool Use 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 Function Calling And Tool Use pack for Groq GroqCloud API 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 Function Calling And Tool Use 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.