Skip to content

Empty Arguments as Omitted

An empty string that a model sends for an optional argument counts as omitted, as a null already does, so that the call runs instead of failing.

Field Value
ID AGT-08
Status Planned
Scope Core
Pillar Agents and Automation
Sprint 3.2
Depends On Widget Agent (AGT-05)
Unblocks None
Docs None
Branches None
Design None

Coverage Ledger

  • design/builder-overview.md, under Next. Empty optional arguments count as left out.
  • design/byok-agent.md, under Widget sessions. An empty value on an optional argument is checked against the full schema before a call; no rule treats it as omitted yet.
  • design/mcp-server.md, under Before anything is sent. An empty string on an optional argument counts as the argument left out, as a null already does (the empty-arguments rule); this page treats absent or null arguments as empty.
  • Orchestrators' notes, _notes/HANDOFF-sprint3.md. A null on an optional argument counts as left out, before validation (sprint 3 fix); the planned empty-value case is separate.
  • Orchestrators' notes, _notes/HANDOFF-sprint3.md. The queued round after sprint 3.1: the Data view, empty optional arguments, offering the Ollama preset and the documented setup building the native sender and the WebAssembly views.
  • Orchestrators' notes, sprint3-integration/PR3.md. A null on an optional argument counts as the argument left out; spec.get with no spec open answers open false.
  • Orchestrators' notes, sprint3-integration/PR3.md. Known gap: local models send empty strings for optional arguments and the first call fails before it is retried without them.
  • Orchestrators' notes, sprint3-integration/PR31.md. The next round's four planned items were recorded in design/builder-overview.md.

Roadmap Graph Feature in Graph