SongGuess
    Preparing search index...

    Workers AI support for OpenAI's Responses API Reference: https://github.com/openai/openai-node/blob/master/src/resources/responses/responses.ts

    It's a stripped down version from its source. It currently supports basic function calling, json mode and accepts images as input.

    It does not include types for WebSearch, CodeInterpreter, FileInputs, MCP, CustomTools. We plan to add those incrementally as model + platform capabilities evolve.

    type ResponsesInput = {
        background?: boolean | null;
        conversation?: string | ResponseConversationParam | null;
        include?: ResponseIncludable[] | null;
        input?: string | ResponseInput;
        instructions?: string | null;
        max_output_tokens?: number | null;
        parallel_tool_calls?: boolean | null;
        previous_response_id?: string | null;
        prompt_cache_key?: string;
        reasoning?: Reasoning | null;
        safety_identifier?: string;
        service_tier?: "auto" | "default" | "flex" | "scale" | "priority" | null;
        stream?: boolean | null;
        stream_options?: StreamOptions | null;
        temperature?: number | null;
        text?: ResponseTextConfig;
        tool_choice?: ToolChoiceOptions | ToolChoiceFunction;
        tools?: Tool[];
        top_p?: number | null;
        truncation?: "auto" | "disabled" | null;
    }
    Index

    Properties

    background?: boolean | null
    conversation?: string | ResponseConversationParam | null
    include?: ResponseIncludable[] | null
    input?: string | ResponseInput
    instructions?: string | null
    max_output_tokens?: number | null
    parallel_tool_calls?: boolean | null
    previous_response_id?: string | null
    prompt_cache_key?: string
    reasoning?: Reasoning | null
    safety_identifier?: string
    service_tier?: "auto" | "default" | "flex" | "scale" | "priority" | null
    stream?: boolean | null
    stream_options?: StreamOptions | null
    temperature?: number | null
    tools?: Tool[]
    top_p?: number | null
    truncation?: "auto" | "disabled" | null