effect-io-ai

Package: @effect/ai-openai
Module: OpenAiSchema

OpenAiSchema.InputItem

Item shape accepted by an OpenAI Responses request input field.

When to use

Use when typing structured CreateResponse.input array items.

Details

Accepted item families include request/output messages, function call and function call output, reasoning items, item references, shell and local shell calls and outputs, apply-patch output, and MCP approval responses.

Signature

type InputItem = typeof InputItem.Type

Source

Since v4.0.0