---
slug: 25-structured-generation-constrained-decoding
role: index
date: 2026-04-21
---

> **📅 Research snapshot as of 2026-04-21.** Provider pricing, free-tier availability, and model capabilities drift every quarter. The router reads `data/routing-table.json` and `data/model-registry.json` at runtime — treat those as source of truth. If this document disagrees with the registry, the registry wins.

# Category 25 — Structured Generation Constrained Decoding

Outlines / Instructor / Pydantic-TS validation, SVG grammar/schema enforcement, AssetSpec schema design, runtime validation patterns, MCP tool design, tool-schema best practices.

## Angles

| File | Topic |
|---|---|
| [`25a-constrained-decoding-frameworks.md`](./25a-constrained-decoding-frameworks.md) | Constrained Decoding Frameworks |
| [`25b-instructor-pydantic-typescript-validation.md`](./25b-instructor-pydantic-typescript-validation.md) | Instructor, Pydantic, and TypeScript Validation |
| [`25c-svg-grammar-schema-enforcement.md`](./25c-svg-grammar-schema-enforcement.md) | SVG Grammar and Schema Enforcement |
| [`25d-asset-spec-schema-design.md`](./25d-asset-spec-schema-design.md) | AssetSpec JSON Schema Design |
| [`25e-runtime-validation-patterns.md`](./25e-runtime-validation-patterns.md) | Runtime Validation Patterns for TypeScript |
| [`25f-mcp-tool-design-patterns.md`](./25f-mcp-tool-design-patterns.md) | MCP Tool Design Patterns |
| [`25g-tool-schema-best-practices.md`](./25g-tool-schema-best-practices.md) | Tool Schema Best Practices — Synthesis |

## Also in this folder

- [`SYNTHESIS.md`](./SYNTHESIS.md) — synthesized insights across angles

## Up one level

- [`../index.md`](../index.md) — master research index
- [`../SYNTHESIS.md`](../SYNTHESIS.md) — master synthesis
