OptionalbetasOptionalcontainerContainer ID for file persistence across turns with code execution. Used with the code_execution_20250825 tool.
OptionalheadersCustom headers to pass to the Anthropic API when making a request.
Optionalmcp_Array of MCP server URLs to use for the request.
Optionaloutput_Output format to use for the response.
OptionalstreamWhether or not to include token usage data in streamed chunks.
Optionaltool_Whether or not to specify what tool the model should use
Optionaltools
Optional array of beta features to enable for the Anthropic API. Beta features are experimental capabilities that may change or be removed. See https://docs.anthropic.com/en/api/versioning for available beta features.