UNPKG

@langchain/anthropic

Version:
4 lines (3 loc) 330 B
import type { MessageCreateParams } from "@anthropic-ai/sdk/resources/index.mjs"; import { AnthropicToolChoice } from "../types.js"; export declare function handleToolChoice(toolChoice?: AnthropicToolChoice): MessageCreateParams.ToolChoiceAuto | MessageCreateParams.ToolChoiceAny | MessageCreateParams.ToolChoiceTool | undefined;