generate_types
Generate types, a runtime validator, or a full handler from a learned schema — the payoff of the knowledge layer. Everything is derived from the payloads this account ACTUALLY received, with genuinely-optional fields marked optional, instead of a plausible-but-wrong guess from a model's memory of the provider docs. Pass lang for a bare type (typescript / json-schema / zod), or framework (next / express) for a ready-to-paste handler that validates and hands back a fully-typed event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Output format for a bare type. | |
| version | No | Version number, or "current" (the default). | |
| framework | No | Return a ready-to-paste handler scaffold instead of a bare type. Overrides lang. | |
| schema_id | Yes | The schema id. |