Anthropic’s native structured outputs allow you to specify output requirements independently of tools. Using an output configuration file, you define the desired JSON schema for Claude’s responses, ensuring outputs consistently match your application’s expected structure — regardless of which tools are used. A powerful enhancement is the strict setting, which limits Claude’s responses to only the allowable values/formats, preventing unexpected variations such as different casing (false vs. False).
- Use Forced Tool Choice: When using a specific tool frequently and needing predictable outputs.
- Use Output Configs: When tools aren’t always used, but you still need structured responses.
- Enable
strict: When response casing or formatting must be exactly as defined for downstream systems.