OpenAI Responses API 格式,支持函数调用、内置工具与服务端多轮上下文管理
Responses API 是 OpenAI 推出的新一代 Agentic 接口,相比 Chat Completions 提供更强大的能力:Documentation Index
Fetch the complete documentation index at: https://docs.toapis.com/llms.txt
Use this file to discover all available pages before exploring further.
web_search_preview(联网搜索)等开箱即用previous_response_id 自动维护对话历史,无需客户端传完整消息reasoning.effort 精确调节思考深度"gpt-5-pro-official"、"gpt-5.3-codex-official"、"gpt-5.2-official"0 ~ 20 ~ 1auto、none、requiredprevious_response_id)responsecompleted、failed、in_progressmessage:文本回复,包含 content[].textfunction_call:函数调用请求,包含 name 和 argumentsreasoning:推理过程(当 reasoning.effort 非 none 时出现)web_search_call:联网搜索调用记录usage.input_tokens:输入 token 数usage.output_tokens:输出 token 数usage.output_tokens_details.reasoning_tokens:推理 token 数usage.total_tokens:总 token 数