Ollama structured outputs on thinking models
Parent: Mac local LLMs: Chat templates, reasoning and tool calling · Published reference · snapshot 2026-10-05
↓ Facts as markdownall context files
Ollama's structured-outputs doc states that Ollama Cloud does not support structured outputs
These notes link each claim to its source. A source may be a research report hosted on this site rather than the primary document. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.
Facts
- Ollama's structured-outputs doc states that Ollama Cloud does not support structured outputs [source]
- Ollama's doc shows `format: "json"` for free-form JSON and a JSON schema object in `format` for schema-constrained output, and advises also putting the schema text in the prompt to ground the model [source]
- The structured-outputs doc examples use gpt-oss, a thinking model, with `format` and no `think` field, so the example path is the one the v0.34.4 single-pass change affects [source]
- Ollama's thinking doc: `/api/show` returns a `thinking` object with `values` and `default`; `values: [false]` means no thinking support and an absent object means no thinking metadata [source]
- Ollama's thinking doc: `think` set to false asks for no thinking 'if the model permits it', and a string level must match `/api/show` `thinking.values` exactly or the model default applies [source]
Children
- No children recorded.