# Schema Validation Retry Cost Audit

## Description
Quantifies wasted token expenditures incurred by recursive error correction loops when models emit invalid tool parameters.

## Category
`tool-use`

## Tags
`validation-retry`, `error-recovery`, `token-waste`, `economics`

## When to Use
Audit structured output APIs to measure the dollar tax of post-hoc JSON validation retry loops.

## Operational Limitations
Evaluates retry counts and token billing sums.

## Verification Script
Run the deterministic verification checker:
```bash
python3 scripts/check.py examples/synthetic.json
```
Exit codes:
- `0`: Check passed and thresholds satisfied.
- `1`: Threshold breach or operational violation detected.
- `2`: Schema error or invalid usage.
