AnthropicMessageRequest
Represents a request for an Anthropic message-based interaction.
This data class is used to configure the parameters for an Anthropic message request, including the model, messages, and additional settings for generation behavior.
Constructors
Types
Properties
The maximum number of tokens to generate in the response. Defaults to 2048.
MCP servers to be used in this request
A list of messages constituting the dialogue. Each message contains a role and corresponding content.
Determines whether to use priority capacity (if available) or standard capacity for this request.
Custom text sequences that will cause the model to stop generating.
Whether responses should be returned as a stream. Defaults to false.
An optional list of system-level messages defining additional context or instructions.
The sampling temperature for adjusting randomness in generation. Higher values increase randomness.
Configuration for enabling Claude's extended thinking.
An optional specification for tool selection during processing, which may define automatic, specific, or no tool usage.
An optional list of tools that the Anthropic model can utilize during processing.