{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ResponseInputItem", "title": "ResponseInputItem", "type": "object", "required": [ "role" ], "properties": { "role": { "type": "string", "description": "The role of the input item.", "enum": [ "user", "assistant", "system", "developer" ], "example": "user" }, "content": { "description": "The content of the input item. Can be a string or an array\nof content parts for multimodal input.\n", "oneOf": [ { "type": "string" }, { "type": "array", "items": { "$ref": "#/components/schemas/ResponseInputContentPart" } } ], "example": "example_value" }, "type": { "type": "string", "description": "The type of the input item. Typically message for\nconversation messages, or specialized types like\nfunction_call_output.\n", "enum": [ "message", "function_call_output", "item_reference" ], "example": "message" }, "id": { "type": "string", "description": "The unique ID of the input item. Used for item_reference type.\n", "example": "abc123" }, "call_id": { "type": "string", "description": "The ID of the function call this output corresponds to.\nRequired for function_call_output type.\n", "example": "500123" }, "output": { "type": "string", "description": "The output of the function call. Required for\nfunction_call_output type.\n", "example": "example_value" }, "status": { "type": "string", "description": "The status of the input item.", "enum": [ "completed", "incomplete" ], "example": "completed" } } }