The output shape is intentionally typed as a plain object literal
(not a full JSON-Schema TS type) — the OpenAI Responses API
accepts this shape and we round-trip it through JSON.stringify
when building the request body. Keeping the return type loose
avoids dragging a JSON-Schema dependency into the converter.
The output shape is intentionally typed as a plain object literal (not a full JSON-Schema TS type) — the OpenAI Responses API accepts this shape and we round-trip it through JSON.stringify when building the request body. Keeping the return type loose avoids dragging a JSON-Schema dependency into the converter.