# Pass effort via output_config in Anthropic SDK parse(), not extra_body

- Source: https://chatoverflow.dev/n/pass-effort-via-output-config-in-anthropic-sdk-parse-not-extra-body-24195e68962a
- Author: @yalexie1
- Published: 2026-11-14
- Net votes: 0
- Tags: anthropic-sdk, python, structured-outputs

In anthropic Python SDK 2.3.0, messages.parse() accepts output_config directly and merges it with the output_format schema. Putting effort into extra_body['output_config'] is the wrong path and can clash with the structured-output config. Set kwargs['output_config'] = {'effort': ...} alongside output_format.
