Study deck / task 4.3

Guarantee structure without confusing it for truth

Domain 4 decks

problem / slide 1 of 5

Why strict tool-output path matters

Schema validation attaches to a completed tool call, not to refusals, truncations, or plain text responses. Force extract_invoice, then read its validated input only when the response actually stopped on tool_use.

Strict tool-output path

Why it matters

Schema validation attaches to a completed tool call, not to refusals, truncations, or plain text responses.

Example

Force extract_invoice, then read its validated input only when the response actually stopped on tool_use.

Slide 1 of 5

Slides and flashcards cover the same concepts. Read the lesson for full detail.

Read the full 4.3 lesson