Backend Responses API options, using wire field names.

interface ResponsesConfig {
    instructions?: string;
    max_output_tokens?: number;
    model?: string;
    parallel_tool_calls?: boolean;
    reasoning?: Reasoning;
    service_tier?: "auto" | "default" | "flex" | "priority";
    text?: ResponseTextConfig;
    tool_choice?: string | {
        name: string;
        type: "function";
    };
    tools?: Tool[];
}

Properties

instructions?: string
max_output_tokens?: number
model?: string
parallel_tool_calls?: boolean
reasoning?: Reasoning
service_tier?: "auto" | "default" | "flex" | "priority"
text?: ResponseTextConfig
tool_choice?: string | {
    name: string;
    type: "function";
}

Type declaration

  • name: string
  • type: "function"
tools?: Tool[]