Implemented
0
Anthropic Chat Model: support structured outputs (Output Format JSON Schema)
Source: n8n-io/n8n#43271 · opened by @kauecostax
Feature request Add an Output Format option to the Anthropic Chat Model node, so the final response can be constrained to a JSON Schema through [Anthropic structured outputs]( (output_config.format). Why Today the only way to get structured JSON from Claude in an AI Agent is Require Specific Output Format with the Structured Output Parser. The parser asks the model to call a formatting tool and validates the result afterwards, so the format depends on the model following instructions. With newer models we see frequent "Model output doesn't fit required format" errors (the output arrives as a string, or with extra keys), and retries do not always fix it. The Anthropic API can enforce the schema while generating, which removes this class of error. The OpenAI Chat Model node already exposes the equivalent (Text Format json_schema on the Responses API), but the Anthropic node has no way to send output_config.format. Proposal • New options in the node: Output For…
No pledges yet. Be the first to back this.
Comments
Similar requests
Anthropic Chat Model: expose "strict": true for client tool definitions
0 votes · 0 comments
AI Agent: return tool-schema validation failures to the model as recoverable errors instead of terminating the execution
0 votes · 0 comments
OpenAI Chat Model still defaults to gpt-5-mini ahead of its December 11 shutdown
0 votes · 0 comments
When custom Ollama credentials are configured and the endpoint is inaccessible, the '/home/chat' page keeps displaying a loading status when selecting a model, resulting in a timeout for the API endpoint /rest/chat/models.
0 votes · 0 comments
OpenAI Chat Model node does not retry 429 Rate Limit errors
0 votes · 0 comments
No comments yet.