interface ChatAnthropicCallOptions {
    streamUsage?: boolean;
    tool_choice?: "auto" | {
        name: string;
        type: "tool";
    } | "any";
    tools?: any[];
}

Hierarchy (view full)

Properties

streamUsage?: boolean

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

Default

true
tool_choice?: "auto" | {
    name: string;
    type: "tool";
} | "any"

Whether or not to specify what tool the model should use

Type declaration

  • name: string
  • type: "tool"

Default

"auto"
tools?: any[]

Generated using TypeDoc