Skip to content
1 min read · 123 words

Interface: OpenAIResponsesOpaqueOutputItem ​

Defined in: src/batteries/llm/openai_responses/types.ts:214

Any other output item type the Responses API can emit that this battery does not natively model (hosted server-side tools: web_search_call, code_interpreter_call, mcp_call, etc.). Carried through structurally so the streaming state machine can recognize — and deliberately decline to open a slot for — an item type it does not know, per Known Gotcha #6.

Indexable ​

ts
[key: string]: unknown

Properties ​

PropertyTypeDescriptionDefined in
id?stringItem id, as assigned by the provider, when present.src/batteries/llm/openai_responses/types.ts:218
typestringThe provider's item-type discriminator, not one this battery recognizes structurally.src/batteries/llm/openai_responses/types.ts:216