Paper: Code-First Tool Calling Beats JSON for Agents
eyishazyer · x · 2026-08-15
A perspective suggests JSON tool calling is an unnecessary bottleneck for newer AI agents, and capable models can orchestrate tools better by writing code.
A paper compares standard JSON calls with a code-first setup where the model writes one Python script to invoke the same tools. Across 14 models on a 309-task BFCL v4 subset, programmatic tool calling matched or beat JSON in 11 models.
Related event: Study: Code-First Tool Calling Outperforms JSON(2 posts)→
More from coding & agent
- VASP: visual-anchored agent tops scientific poster generation with 94.3 mAP figure extraction — Huihan Wang · 2026-11-30
- Dev shows agents auto-verifying and sending SAFE fundraising docs in parallel — Scobleizer · 2026-11-30
- Ex-Citadel MD: AI will automate equity long-short workflows within 3 years; job seekers should build eval suites — _AustinCalvert_ · 2026-11-30
- Why Google bans users: wrapping Gemini CLI in Claude Code violates consumer ToS — thomasahle · 2026-11-30
- After two Claude account bans, a dev switches to Google AI and moves his Anthropic stock bets to Google — yangyi · 2026-11-30
- Antigravity remote control may not be enabled for enterprise accounts — gharik · 2026-11-30