mlsanityData to 7 Oct 2026

When JSON Is Not Enough: Semantic Reliability of Schema-Constrained LLM Ordering Agents

arXiv 2607.18261 ↗First posted 16 May 2026cs.AIcited by 1

On the map: LLM agents and tool use → Tool learning and function calling

Abstract (arXiv)

LLM agents are increasingly used as transaction compilers: a user states an intent in natural language, and the model emits a structured object that an API can execute. JSON Schema and provider-level structured-output modes are useful because they remove a large class of parse failures, but they do not by themselves decide whether the object is a safe, faithful transaction. We introduce OrderBench, a deterministic benchmark for restaurant ordering agents that separates syntactic validity, schema validity, status decisions, exact item semantics, constraint preservation, and unsafe acceptances. Across 2,400 Nebius Token Factory calls to four open models in prompt-only and JSON-schema modes, we find that schema-valid output can still have large semantic error rates. In the strongest model, both modes achieve 100% schema validity, yet semantic success remains near 80%; in weaker models, schema-valid unsafe acceptances occur in double digits. The result is a concrete engineering warning: structured output is a necessary interface layer, not a substitute for domain verification and fail-closed execution.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 2 of its 8 references that are in the map. First posted on arXiv 16 May 2026.

Builds on

2 of 8 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Gorilla: Large Language Model Connected with Massive APIs24 May

Other references · 1

  1. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Schema First Tool APIs for LLM Agents: A Controlled Study of Tool Misuse, Recovery, and Budgeted Performance
  2. 2025PARSE: LLM Driven Schema Optimization for Reliable Entity Extraction
  3. 2026Making Failure Safe: A Constrained, Verifiable Agent Framework for Open-Web Data Collection
  4. 2026S-Bus: Automatic Read-Set Reconstruction for Multi-Agent LLM State Coordination
  5. 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcement
  6. 2026TSCG: Deterministic Tool-Schema Compilation for Agentic LLM Deployments
  7. 2024A Simple and Fast Way to Handle Semantic Errors in Transactions
  8. 2026SilentProbe: Measuring Silent Failure in Production APIs Used as Agent Tools