changedInput schema / properties / input / anyOf
Previous value: -[
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "items": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "content": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "items": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "text": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "input_text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "text": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "output_text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- }
- ]
- },
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "role": {
- "enum": [
- "user",
- "assistant",
- "system",
- "developer"
- ],
- "type": "string"
- },
- "type": {
- "const": "message",
- "type": "string"
- }
- },
- "required": [
- "role",
- "content"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "arguments": {
- "type": "string"
- },
- "call_id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "function_call",
- "type": "string"
- }
- },
- "required": [
- "type",
- "call_id",
- "name",
- "arguments"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "call_id": {
- "minLength": 1,
- "type": "string"
- },
- "output": {
- "type": "string"
- },
- "type": {
- "const": "function_call_output",
- "type": "string"
- }
- },
- "required": [
- "type",
- "call_id",
- "output"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "content": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "text": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "reasoning_text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "type": {
- "const": "reasoning",
- "type": "string"
- }
- },
- "required": [
- "type",
- "content"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "type": {
- "const": "web_search_call",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- }
- ]
- },
- "minItems": 1,
- "type": "array"
- }
-]New value: +[
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "content": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "items": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "text": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "input_text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "text": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "output_text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "detail": {
+ "enum": [
+ "low",
+ "high",
+ "original",
+ "auto"
+ ],
+ "type": "string"
+ },
+ "file_id": {
+ "pattern": "^file-api-[a-zA-Z0-9_-]+$",
+ "type": "string"
+ },
+ "image_url": {
+ "type": "string"
+ },
+ "type": {
+ "const": "input_image",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "role": {
+ "enum": [
+ "user",
+ "assistant",
+ "system",
+ "developer"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "message",
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "content"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "arguments": {
+ "type": "string"
+ },
+ "call_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "function_call",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "call_id",
+ "name",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "call_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "output": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "text": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "input_text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "detail": {
+ "enum": [
+ "low",
+ "high",
+ "original",
+ "auto"
+ ],
+ "type": "string"
+ },
+ "file_id": {
+ "pattern": "^file-api-[a-zA-Z0-9_-]+$",
+ "type": "string"
+ },
+ "image_url": {
+ "type": "string"
+ },
+ "type": {
+ "const": "input_image",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "type": {
+ "const": "function_call_output",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "call_id",
+ "output"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "call_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "input": {
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "custom_tool_call",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "call_id",
+ "name",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "call_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "output": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "text": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "input_text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "detail": {
+ "enum": [
+ "low",
+ "high",
+ "original",
+ "auto"
+ ],
+ "type": "string"
+ },
+ "file_id": {
+ "pattern": "^file-api-[a-zA-Z0-9_-]+$",
+ "type": "string"
+ },
+ "image_url": {
+ "type": "string"
+ },
+ "type": {
+ "const": "input_image",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "type": {
+ "const": "custom_tool_call_output",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "call_id",
+ "output"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "content": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "text": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "reasoning_text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "reasoning",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "content"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "type": {
+ "const": "web_search_call",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+]