Skip to content
1 min read · 21 words

Type Alias: OpenAIResponsesToolChoice ​

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

Defined in: src/batteries/llm/openai_responses/types.ts:257

Tool-choice directive accepted by this battery's v1 (a subset of the full wire union).