Skip to content
Loopfunder
All projects
Proposed

Structured tool-use and schema-repair benchmark tasks

Multi-step API-calling and JSON-schema debugging tasks built from open OpenAPI specs and checked by mock replay.

Ask us to open it

Architecture diagram showing tool schemas, model function calls, and automated execution and AST checks.
An example: the Berkeley Function Calling Leaderboard architecture for checking structured tool calls. UC Berkeley Gorilla / BFCL authors · Apache-2.0

Tool-calling AI agents often break on real-world API details like pagination, rate limits, nested JSON schemas, and error recovery. Contributors turn slices of open OpenAPI specifications into self-contained synthetic tasks with mock server responses and a verified call sequence. Every task is checked offline by deterministic mock replay with zero live API calls.

How one piece works

  1. Pick an open API slice

    Choose an open-licensed OpenAPI specification slice covering pagination, retries, or nested JSON inputs.

  2. Build mock responses

    Write synthetic mock payloads, a realistic user goal, a working call trace, and final state assertions in 20 to 40 minutes.

  3. Mock replay verifies it

    A program validates the OpenAPI slice, replays the golden trace offline, and rejects vacuous assertions or real secrets.

What you would make

One JSON bundle under 24 KB with an OpenAPI slice, synthetic mock responses, user goal, golden tool-call trace, and schema assertions.

What it becomes

An open suite of roughly 1,500 deterministic API-calling tasks testing whether AI agents handle real schemas, pagination, and error recovery.

Why it is worth doing

  • Deterministic offline mock replay runs in seconds without live API keys, network flakiness, or untrusted code execution.
  • APIs.guru's CC0 OpenAPI directory already indexes 2,529 APIs and 108,837 real-world endpoints as open starting material.
  • Developer interest in tool-use testing is strong: Berkeley's Gorilla repository holds 13,088 GitHub stars and tau-bench holds 1,518 stars.
  • Focusing on messy schema repair, pagination, and HTTP error recovery tests real agent pain points beyond single-turn calls.

How a piece is checked

A program validates the OpenAPI slice and JSON schema, scans for accidental secrets or real domains, replays the golden trace against the mock responses to pass all assertions, and confirms a naive empty trace fails.

Before this can open

Needs an offline OpenAPI mock-replay validator, secret-and-PII lint rules, and an importer to slice starter briefs from open OpenAPI specs.

Read more

Ask us to open it

Tell us why you would like this project to open.