Documentation Type
Missing documentation (feature not documented)
Documentation Location
Section/Topic
The ClaudeAgentOptions parameter list within the Python Agent SDK reference.
Current Documentation
The Effort guide (https://platform.claude.com/docs/en/build-with-claude/effort) states:
"Claude Opus 4.5 is the only model that supports the effort parameter... include the beta header effort-2025-11-24."
However, the Agent SDK reference - Python (https://platform.claude.com/docs/en/agent-sdk/python#claudeagentoptions) lists all available fields for the ClaudeAgentOptions dataclass but does not mention effort or an output_config parameter.
What's Wrong or Missing?
The effort parameter is a core feature for the new Claude Opus 4.5 model, allowing users to trade off between response thoroughness and token efficiency. While the feature is documented in the "Build with Claude" section, it is completely omitted from the Python SDK's ClaudeAgentOptions definition.
Reviewing the provided source code confirms this omission:
src/claude_agent_sdk/types.py: The ClaudeAgentOptions dataclass lacks an effort or output_config field.
src/claude_agent_sdk/_internal/transport/subprocess_cli.py: The _build_command method contains no logic to map an effort parameter to a CLI flag (e.g., --effort).
Suggested Improvement
- Update the Python SDK Reference: Add
effort to the ClaudeAgentOptions table.
- Add Type Definitions: Update the documentation to show the parameter in the dataclass:
@dataclass
class ClaudeAgentOptions:
# ... existing fields ...
effort: Literal["low", "medium", "high"] | None = None
- Update Parameters Table:
| Property |
Type |
Default |
Description |
effort |
Literal["low", "medium", "high"] | None |
None |
Control how many tokens Claude uses when responding. Requires Claude Opus 4.5 and the effort-2025-11-24 beta header. |
Impact
High - Prevents users from using a feature
Additional Context
Documentation Type
Missing documentation (feature not documented)
Documentation Location
Section/Topic
The
ClaudeAgentOptionsparameter list within the Python Agent SDK reference.Current Documentation
The Effort guide (https://platform.claude.com/docs/en/build-with-claude/effort) states:
However, the Agent SDK reference - Python (https://platform.claude.com/docs/en/agent-sdk/python#claudeagentoptions) lists all available fields for the
ClaudeAgentOptionsdataclass but does not mentioneffortor anoutput_configparameter.What's Wrong or Missing?
The
effortparameter is a core feature for the new Claude Opus 4.5 model, allowing users to trade off between response thoroughness and token efficiency. While the feature is documented in the "Build with Claude" section, it is completely omitted from the Python SDK'sClaudeAgentOptionsdefinition.Reviewing the provided source code confirms this omission:
src/claude_agent_sdk/types.py: TheClaudeAgentOptionsdataclass lacks aneffortoroutput_configfield.src/claude_agent_sdk/_internal/transport/subprocess_cli.py: The_build_commandmethod contains no logic to map an effort parameter to a CLI flag (e.g.,--effort).Suggested Improvement
effortto theClaudeAgentOptionstable.effortLiteral["low", "medium", "high"] | NoneNoneeffort-2025-11-24beta header.Impact
High - Prevents users from using a feature
Additional Context
output_config={"effort": "medium"}, but the Python SDKClaudeAgentOptionsdoes not support this structure, and the SDK reference lists neithereffortnoroutput_config.Optionstype definition.