Module responses

Module responses 

Source

Structs§

InputTokensDetails
McpToolInfo
MCP Tool information for the mcp_list_tools output item
OutputTokensDetails
ReasoningInfo
ResponseReasoningParam
ResponseTool
ResponseUsage
OpenAI Responses API usage format (different from standard UsageInfo)
ResponsesGetParams
ResponsesRequest
ResponsesResponse
TextConfig
Text configuration for structured output requests

Enums§

IncludeField
ReasoningEffort
ReasoningSummary
ResponseContentPart
ResponseInput
ResponseInputOutputItem
ResponseOutputItem
ResponseReasoningContent
ResponseStatus
ResponseToolType
ResponsesUsage
ServiceTier
StringOrContentParts
Content can be either a simple string or array of content parts (for SimpleInputMessage)
TextFormat
Text format: text (default), json_object (legacy), or json_schema (recommended)
Truncation

Functions§

generate_id
normalize_input_item
Normalize a SimpleInputMessage to a proper Message item
validate_conversation_id
Validate conversation ID format