Properties
Optional instructions
instructions?: string
Optional max_output_tokens
max_output_tokens?: number
Optional model
model?: string
Optional parallel_tool_calls
parallel_tool_calls?: boolean
Optional reasoning
reasoning?: Reasoning
Optional service_tier
service_tier?: "auto" | "default" | "flex" | "priority"
Optional text
text?: ResponseTextConfig
Optional tool_choice
tool_choice?: string | {
name: string;
type: "function";
}
Type declaration
name: string
type: "function"
Optional tools
tools?: Tool[]
Backend Responses API options, using wire field names.