Skip to content

Type Alias: MoonshotToolChoice

@providerprotocol/ai


@providerprotocol/ai / moonshot / MoonshotToolChoice

MoonshotToolChoice = "none" | "auto" | "required" | { function: { name: string; }; type: "function"; }

Defined in: src/providers/moonshot/types.ts:228

Tool choice options for controlling function calling behavior. Moonshot models support full tool_choice including ‘required’.