Structs§
- Input
Tokens Details - McpTool
Info - MCP Tool information for the mcp_list_tools output item
- Output
Tokens Details - Reasoning
Info - Response
Reasoning Param - Response
Tool - Response
Usage - OpenAI Responses API usage format (different from standard UsageInfo)
- Responses
GetParams - Responses
Request - Responses
Response - Text
Config - Text configuration for structured output requests
Enums§
- Include
Field - Reasoning
Effort - Reasoning
Summary - Response
Content Part - Response
Input - Response
Input Output Item - Response
Output Item - Response
Reasoning Content - Response
Status - Response
Tool Type - Responses
Usage - Service
Tier - String
OrContent Parts - Content can be either a simple string or array of content parts (for SimpleInputMessage)
- Text
Format - 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