Skip to content

mirascope.core.anthropic.call_params

Usage Documentation

Calls

AnthropicCallParams

Bases: BaseCallParams

The parameters to use when calling the Anthropic API.

Anthropic API Reference

Attributes:

Name Type Description
max_tokens int

...

tool_choice NotRequired[ToolChoice | None]

...

metadata NotRequired[Metadata | None]

...

stop_sequences NotRequired[list[str] | None]

...

temperature NotRequired[float | None]

...

top_k NotRequired[int | None]

...

top_p NotRequired[float | None]

...

timeout NotRequired[float | Timeout | None]

...