CCA-F · Domain 4: Prompt Engineering & Structured Output
4.3 Enforce structured output using tool use and JSON schemas
What it covers
- Schema-constrained tool use as the reliable route to parseable output
- tool_choice auto versus any versus a forced named tool
- Schemas remove syntax errors but not semantic ones
- Nullable and optional fields so absent information is not fabricated