interface ChatAnthropicCallOptions {
    headers?: Record<string, string>;
    streamUsage?: boolean;
    tool_choice?: AnthropicToolChoice;
    tools?: any[];
}

Hierarchy (view full)

Properties

headers?: Record<string, string>

Custom headers to pass to the Anthropic API when making a request.

streamUsage?: boolean

Whether or not to include token usage data in streamed chunks.

true
tool_choice?: AnthropicToolChoice

Whether or not to specify what tool the model should use

"auto"
tools?: any[]