{"slug":"tanstack-ai-core-structured-outputs","source_name":"tanstack/ai-core-structured-outputs","name":"Tanstack/AI Core Structured Outputs","description":"Type-safe JSON schema responses from LLMs using outputSchema on chat() and useChat(). Supports Zod, ArkType, and Valibot schemas. The adapter handles provider-specific strategies transparently — never configure structured output at the provider level. Pass stream:true alongside outputSchema for incremental JSON deltas + a completed typed object via the `structured-output.complete` event. Each successfully completed structured-output run adds a typed `StructuredOutputPart` to message history. par","version":5,"lift":{"pass_rate_delta_pts":73.91,"pass_rate_pct":100,"total_cases":23,"passed_cases":23,"tokens_delta_pct":268.5,"turns_delta_pct":0,"verdict":"pass","benchmark_model":"gemini-3.6-flash","grading_method":"judged","completed_at":"2026-09-28T22:19:55.684683+00:00"},"skill_score":1,"benchmark_models":[{"model":"gemini-3.6-flash","headline":true,"delta_pts":73.91,"with_pass_pct":100,"without_pass_pct":26.1,"tokens_delta_pct":268.5,"turns_delta_pct":0,"total_cases":23,"cases_aggregated":23,"verdict":"pass","never_hurt":true,"completed_at":"2026-09-28T22:19:55.684683+00:00","run_id":"f3e1d455-2471-4783-8184-f89cd2254786","latest_attempt":{"id":"f3e1d455-2471-4783-8184-f89cd2254786","runner_model":"gemini-3.6-flash","overall_verdict":"pass","completed_at":"2026-09-28T22:19:55.684683+00:00","gate":null},"version_number":3,"is_latest_version":false,"gate":null},{"model":"gemini-3.8-flash","headline":false,"delta_pts":null,"with_pass_pct":null,"without_pass_pct":null,"tokens_delta_pct":102.9,"turns_delta_pct":0,"total_cases":24,"cases_aggregated":24,"verdict":"mixed","never_hurt":true,"completed_at":"2026-10-23T06:37:58.787884+00:00","run_id":"d90aeb72-4a8b-4543-afdc-037164ab1ea2","latest_attempt":{"id":"d90aeb72-4a8b-4543-afdc-037164ab1ea2","runner_model":"gemini-3.8-flash","overall_verdict":"mixed","completed_at":"2026-10-23T06:37:58.787884+00:00","gate":"not_comparable"},"version_number":5,"is_latest_version":true,"gate":"not_comparable"}],"trust":{"skill_safety":"passed","safety_status":"clean","intent_verdict":"safe","content_status":"clean","indexable":true},"license":"MIT","install_count":0,"total_uses":0,"total_users":0,"manifest_hash":"e3df6a1d2fe31f8de9ba69d3061f50f1be6939063d558b32eeb5cf884d421f9d","install_name":"tanstack-ai-core-structured-outputs","version_id":"87213096-456f-4a69-a7b1-3a9652e58170","body_sha256":"e3df6a1d2fe31f8de9ba69d3061f50f1be6939063d558b32eeb5cf884d421f9d","render_hash":"efd28208d82056d7fad7ef2dc55a816a39167ee13e6f93a40728af0fb90cc36b","raw_url":"https://app.decimal.ai/s/tanstack-ai-core-structured-outputs/SKILL.md","scorecard_url":"https://app.decimal.ai/skills/tanstack-ai-core-structured-outputs"}