Input items and conversation history
Replay all prior message, function-call and function-output items on every multi-turn request. OTRouter does not store or reconstruct conversation history.
Message items
Roles are system, developer, user and assistant. Text parts use text, input_text or output_text; user input accepts input_image by URL or data URL. Images require a route with verified image support.
Function and custom items
function_call may include namespace. custom_tool_call carries string input; each output item reuses its call_id and may return input_text or input_image parts. id and status are accepted replay metadata.
Codex tools
A developer additional_tools item may declare custom and namespace tools. OTRouter preserves their public identities while translating them to upstream functions. Hosted web search is never executed.
Reasoning and integrity
Reasoning accepts summary_text entries and optional encrypted_content replay metadata. Call IDs stay unique and every pending call requires a matching output before conversation continues.