diff --git a/en/resources/live/primary-websocket.md b/en/resources/live/primary-websocket.md index 6bee218b527fb3c73fa44a1005f4fcad872a511f..f3d737db7ea516036261e326213d94bfd922f934 100644 --- a/en/resources/live/primary-websocket.md +++ b/en/resources/live/primary-websocket.md @@ -68,8 +68,12 @@ The server confirms the session has started. Audio, transcripts, and other serve [Using WebRTC on the frontend? Attach a sideband WebSocket from your backend.](https://developers.openai.com/api/reference/resources/live/sideband-websocket) + + ## Client events + + ### session.start Start a Live session on a primary WebSocket. Send this event before other commands and wait for `session.started`. @@ -78,43758 +82,7570 @@ Start a Live session on a primary WebSocket. Send this event before other comman Schema name: `LiveSessionStartEvent` -```json -{ - "(resource) live > (model) session_start_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionStartEvent", - "docstring": "Start a Live session on a primary WebSocket. Send this event before other commands and wait for `session.started`.", - "ident": "SessionStartEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "session" - }, - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_start_event > (schema) > (property) session", - "(resource) live > (model) session_start_event > (schema) > (property) type", - "(resource) live > (model) session_start_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) session_start_event > (schema) > (property) session": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionStartEvent/properties/session", - "deprecated": false, - "key": "session", - "docstring": "Initial configuration for a primary WebSocket. Send session.start first and wait for session.started before application commands. WebRTC creation already starts the session; do not send this event again on its data channel.", - "type": { - "kind": "HttpTypeReference", - "ident": "SessionConfig", - "$ref": "(resource) live > (model) session_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) session_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) model", - "(resource) live > (model) session_config > (schema) > (property) audio", - "(resource) live > (model) session_config > (schema) > (property) client", - "(resource) live > (model) session_config > (schema) > (property) delegation", - "(resource) live > (model) session_config > (schema) > (property) input", - "(resource) live > (model) session_config > (schema) > (property) instructions", - "(resource) live > (model) session_config > (schema) > (property) store" - ] - }, - "(resource) live > (model) session_start_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionStartEvent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `session.start`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionStartEvent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.start" - } - ] - }, - "default": "session.start", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_start_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_start_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionStartEvent/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_config > (schema) > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/model", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - ] - } - ] - }, - "examples": [ - "gpt-live-1" - ], - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) model > (variant) 0", - "(resource) live > (model) session_config > (schema) > (property) model > (variant) 1" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) audio": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/audio", - "deprecated": false, - "key": "audio", - "docstring": "Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "format" - }, - { - "ident": "output" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) audio > (property) format", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) client": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/client", - "deprecated": false, - "key": "client", - "docstring": "Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.", - "type": { - "kind": "HttpTypeReference", - "ident": "ClientConfig", - "$ref": "(resource) live > (model) client_config > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) client_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_config > (schema) > (property) data_channel" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) delegation": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/delegation", - "deprecated": false, - "key": "delegation", - "docstring": "Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/delegation", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "responses" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 0", - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 1" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) input": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/input", - "deprecated": false, - "key": "input", - "docstring": "Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/input", - "elementType": { - "kind": "HttpTypeReference", - "ident": "InitialItem", - "$ref": "(resource) live > (model) initial_item > (schema)" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1", - "(resource) live > (model) initial_item > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) instructions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/instructions", - "deprecated": false, - "key": "instructions", - "docstring": "Frontend instructions for voice, conversation, interruptions, and when to delegate. Start with the [Live prompting guide](/api/docs/guides/live-prompting); put business rules and tool workflows in a separate [backend prompt](/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). Limited to 16,384 client-supplied tokens. Omitted or blank instructions use server defaults. Immutable after startup.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_config > (schema) > (property) store": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/store", - "deprecated": false, - "key": "store", - "docstring": "Whether to store the session for later forking and recording download. Defaults to false for new sessions.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) session_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionCreateParams", - "docstring": "Initial configuration for a Live session, including its model, conversation instructions, audio, and delegated task handling.", - "ident": "SessionConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "model" - }, - { - "ident": "audio" - }, - { - "ident": "client" - }, - { - "ident": "delegation" - }, - { - "ident": "input" - }, - { - "ident": "instructions" - }, - { - "ident": "store" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) model", - "(resource) live > (model) session_config > (schema) > (property) audio", - "(resource) live > (model) session_config > (schema) > (property) client", - "(resource) live > (model) session_config > (schema) > (property) delegation", - "(resource) live > (model) session_config > (schema) > (property) input", - "(resource) live > (model) session_config > (schema) > (property) instructions", - "(resource) live > (model) session_config > (schema) > (property) store" - ] - }, - "(resource) live > (model) session_start_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.start" - } - }, - "(resource) live > (model) session_config > (schema) > (property) model > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) session_config > (schema) > (property) model > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "docstring": "The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) model > (variant) 1 > (member) 0" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioParam/properties/format", - "deprecated": false, - "key": "format", - "docstring": "Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.", - "type": { - "kind": "HttpTypeReference", - "ident": "AudioFormat", - "$ref": "(resource) live > (model) audio_format > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) live > (model) audio_format", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 1", - "(resource) live > (model) audio_format > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioParam/properties/output", - "deprecated": false, - "key": "output", - "docstring": "The voice used for speech generated by the Live model.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "voice" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice" - ] - }, - "(resource) live > (model) client_config > (schema) > (property) data_channel": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveClientConfigParam/properties/data_channel", - "deprecated": false, - "key": "data_channel", - "docstring": "Client and server event permissions for the WebRTC frontend data channel.", - "type": { - "kind": "HttpTypeReference", - "ident": "DataChannelConfig", - "$ref": "(resource) live > (model) data_channel_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) data_channel_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events" - ] - }, - "(resource) live > (model) client_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveClientConfigParam", - "docstring": "Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.", - "ident": "ClientConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "data_channel" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_config > (schema) > (property) data_channel" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionCreateParams/properties/delegation/anyOf/0/oneOf/1", - "docstring": "Delegate tasks to a Responses model managed by the Live session.", - "ident": "Responses", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "responses" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 1 > (property) responses", - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) client_delegation > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveClientDelegationParam", - "docstring": "Delegate tasks to your application. The Live session emits delegation events that your backend handles.", - "ident": "ClientDelegation", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/0", - "docstring": "A developer message included in the initial text history of a Live session.", - "ident": "Developer", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/1", - "docstring": "A user message included in the initial text history of a Live session.", - "ident": "User", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/2", - "docstring": "An assistant message included in the initial text history of a Live session.", - "ident": "Assistant", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem", - "docstring": "A developer, user, or assistant message supplied as text history before the Live session starts.", - "ident": "InitialItem", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialItem", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1", - "(resource) live > (model) initial_item > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) model > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/0", - "docstring": "Raw, mono 16-bit little-endian PCM audio for a Live WebSocket connection.", - "ident": "AudioPCM", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/1", - "docstring": "Raw, mono G.711 μ-law audio for a Live WebSocket connection.", - "ident": "AudioPCMU", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/2", - "docstring": "Raw, mono G.711 A-law audio for a Live WebSocket connection.", - "ident": "AudioPCMA", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat", - "docstring": "Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.", - "ident": "AudioFormat", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveAudioFormat", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 1", - "(resource) live > (model) audio_format > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice", - "deprecated": false, - "key": "voice", - "docstring": "The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "alloy" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ash" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ballad" - }, - { - "kind": "HttpTypeLiteral", - "literal": "beacon" - }, - { - "kind": "HttpTypeLiteral", - "literal": "bossa" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cedar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cinder" - }, - { - "kind": "HttpTypeLiteral", - "literal": "coral" - }, - { - "kind": "HttpTypeLiteral", - "literal": "delta" - }, - { - "kind": "HttpTypeLiteral", - "literal": "echo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gleam" - }, - { - "kind": "HttpTypeLiteral", - "literal": "marin" - }, - { - "kind": "HttpTypeLiteral", - "literal": "meridian" - }, - { - "kind": "HttpTypeLiteral", - "literal": "quartz" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ripple" - }, - { - "kind": "HttpTypeLiteral", - "literal": "sage" - }, - { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - }, - { - "kind": "HttpTypeLiteral", - "literal": "stone" - }, - { - "kind": "HttpTypeLiteral", - "literal": "tempo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "verse" - }, - { - "kind": "HttpTypeLiteral", - "literal": "vesper" - }, - { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - ] - }, - { - "kind": "HttpTypeReference", - "ident": "CustomVoice", - "$ref": "(resource) live > (model) custom_voice > (schema)" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 0", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 2" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events", - "deprecated": false, - "key": "allowed_client_events", - "docstring": "Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "elementType": { - "kind": "HttpTypeString" - } - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 1" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events", - "deprecated": false, - "key": "allowed_server_events", - "docstring": "Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ServerEventSelector", - "$ref": "(resource) live > (model) server_event_selector > (schema)" - } - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 1" - ] - }, - "(resource) live > (model) data_channel_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam", - "docstring": "Control which Live events an untrusted WebRTC frontend can send and receive over its data channel. These restrictions do not apply to trusted sideband connections.", - "ident": "DataChannelConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "allowed_client_events" - }, - { - "ident": "allowed_server_events" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `client` for tasks handled by your application.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "client" - } - ] - }, - "default": "client", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 1 > (property) responses": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/responses", - "deprecated": false, - "key": "responses", - "docstring": "Backend model, prompt, and tools used when the Live session delegates a task to Responses.", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponsesDelegationConfig", - "$ref": "(resource) live > (model) responses_delegation_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) responses_delegation_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `responses` for tasks handled by the Responses API.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - ] - }, - "default": "responses", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `developer`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - ] - }, - "default": "developer", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `user`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "user" - } - ] - }, - "default": "user", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `assistant`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - ] - }, - "default": "assistant", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. Live WebSocket PCM audio supports 16000 or 24000 Hz.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/rate", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": 16000 - }, - { - "kind": "HttpTypeLiteral", - "literal": 24000 - } - ] - }, - "constraints": { - "minimum": 16000, - "maximum": 24000 - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 1" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcm`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcm" - } - ] - }, - "default": "audio/pcm", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. G.711 audio uses 8000 Hz.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 8000, - "maximum": 8000 - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcmu`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcmu" - } - ] - }, - "default": "audio/pcmu", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. G.711 audio uses 8000 Hz.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 8000, - "maximum": 8000 - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcma`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcma" - } - ] - }, - "default": "audio/pcma", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "docstring": "The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "alloy" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ash" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ballad" - }, - { - "kind": "HttpTypeLiteral", - "literal": "beacon" - }, - { - "kind": "HttpTypeLiteral", - "literal": "bossa" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cedar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cinder" - }, - { - "kind": "HttpTypeLiteral", - "literal": "coral" - }, - { - "kind": "HttpTypeLiteral", - "literal": "delta" - }, - { - "kind": "HttpTypeLiteral", - "literal": "echo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gleam" - }, - { - "kind": "HttpTypeLiteral", - "literal": "marin" - }, - { - "kind": "HttpTypeLiteral", - "literal": "meridian" - }, - { - "kind": "HttpTypeLiteral", - "literal": "quartz" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ripple" - }, - { - "kind": "HttpTypeLiteral", - "literal": "sage" - }, - { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - }, - { - "kind": "HttpTypeLiteral", - "literal": "stone" - }, - { - "kind": "HttpTypeLiteral", - "literal": "tempo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "verse" - }, - { - "kind": "HttpTypeLiteral", - "literal": "vesper" - }, - { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 0", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 1", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 2", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 3", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 4", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 5", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 6", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 7", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 8", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 9", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 10", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 11", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 12", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 13", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 14", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 15", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 16", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 17", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 18", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 19", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 20", - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 21" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "CustomVoice", - "$ref": "(resource) live > (model) custom_voice > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) custom_voice > (schema) > (property) id" - ] - }, - "(resource) live > (model) custom_voice > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveCustomVoiceParam", - "ident": "CustomVoice", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) custom_voice > (schema) > (property) id" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0 > (member) 0" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "elementType": { - "kind": "HttpTypeString" - } - }, - "children": [] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0 > (member) 0" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ServerEventSelector", - "$ref": "(resource) live > (model) server_event_selector > (schema)" - } - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event_selector > (schema) > (property) type", - "(resource) live > (model) server_event_selector > (schema) > (property) response_event" - ] - }, - "(resource) live > (model) server_event_selector > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam", - "docstring": "A Live server event selector for the WebRTC frontend data channel.", - "ident": "ServerEventSelector", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "response_event" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event_selector > (schema) > (property) type", - "(resource) live > (model) server_event_selector > (schema) > (property) response_event" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The model used for server-owned Responses delegations.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/instructions", - "deprecated": false, - "key": "instructions", - "docstring": "Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt).", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/max_output_tokens", - "deprecated": false, - "key": "max_output_tokens", - "docstring": "Maximum number of output tokens for each delegated response.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 16 - }, - "optional": true, - "nullable": true, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/parallel_tool_calls", - "deprecated": false, - "key": "parallel_tool_calls", - "docstring": "Whether the delegated Responses model may request multiple tool calls in a single response.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/reasoning", - "deprecated": false, - "key": "reasoning", - "docstring": "Reasoning settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "effort" - }, - { - "ident": "summary" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/service_tier", - "deprecated": false, - "key": "service_tier", - "docstring": "Service tier for delegated Responses requests.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/service_tier", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "default" - }, - { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - }, - { - "kind": "HttpTypeLiteral", - "literal": "flex" - }, - { - "kind": "HttpTypeLiteral", - "literal": "priority" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 2", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 3", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 4", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "Text generation settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "verbosity" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice", - "deprecated": false, - "key": "tool_choice", - "docstring": "Controls which tool the Responses backend uses when handling a task delegated by the Live model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "Tools available to the Responses backend while it handles tasks delegated by the Live model.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam", - "docstring": "Model, prompt, and tool settings for tasks delegated by the Live session to a Responses backend.", - "ident": "ResponsesDelegationConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "model" - }, - { - "ident": "instructions" - }, - { - "ident": "max_output_tokens" - }, - { - "ident": "parallel_tool_calls" - }, - { - "ident": "reasoning" - }, - { - "ident": "service_tier" - }, - { - "ident": "text" - }, - { - "ident": "tool_choice" - }, - { - "ident": "tools" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) session_config > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "user" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items/oneOf/0", - "docstring": "Assistant text supplied as conversation history when starting a Live session.", - "ident": "Text", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items/oneOf/1", - "docstring": "Assistant output text supplied as conversation history when starting a Live session.", - "ident": "OutputText", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": 16000 - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": 24000 - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcm" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcmu" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcma" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "alloy" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ash" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ballad" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "beacon" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "bossa" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "cedar" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "cinder" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 7": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "coral" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 8": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "delta" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 9": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "echo" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 10": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gleam" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 11": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "marin" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 12": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "meridian" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 13": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "quartz" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 14": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ripple" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 15": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "sage" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 16": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 17": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "stone" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 18": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "tempo" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 19": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "verse" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 20": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "vesper" - } - }, - "(resource) live > (model) session_config > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 21": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - }, - "(resource) live > (model) custom_voice > (schema) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCustomVoiceParam/properties/id", - "deprecated": false, - "key": "id", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 128 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "all" - } - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "all" - } - }, - "(resource) live > (model) server_event_selector > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The outer Live server event type. Use 'response.event' for Responses events.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 256 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event_selector > (schema) > (property) response_event": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam/properties/response_event", - "deprecated": false, - "key": "response_event", - "docstring": "The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 256 - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "deprecated": false, - "key": "effort", - "docstring": "How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "minimal" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 2", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 3", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 4", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "deprecated": false, - "key": "summary", - "docstring": "The reasoning summary to request from the delegated Responses model, when supported.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "concise" - }, - { - "kind": "HttpTypeLiteral", - "literal": "detailed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "default" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "flex" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "priority" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "deprecated": false, - "key": "verbosity", - "docstring": "The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "ident": "LiveToolChoiceEnum", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/1", - "ident": "LiveFunctionToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) name", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/2", - "ident": "LiveMCPToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) name", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools/items/oneOf/1", - "docstring": "A web search tool available to the Live session’s Responses backend.", - "ident": "WebSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) function_tool > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam", - "docstring": "A function tool available to the Responses backend when the Live model delegates a task.", - "ident": "FunctionTool", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "description" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "text" - } - ] - }, - "default": "text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `output_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "output_text" - } - ] - }, - "default": "output_text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "minimal" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "concise" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "detailed" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "required" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/server_label", - "deprecated": false, - "key": "server_label", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - ] - }, - "default": "mcp", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name the delegated Responses model uses when calling this function.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `function`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "What the function does and when the delegated Responses model should call it.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "deprecated": false, - "key": "parameters", - "docstring": "A JSON Schema object describing the arguments accepted by the function.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) strict": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/strict", - "deprecated": false, - "key": "strict", - "docstring": "Whether the delegated Responses model must follow the function’s parameter schema exactly.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `web_search`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - ] - }, - "default": "web_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "text" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "output_text" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - }, - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.start", - "event_id": "evt_start_001", - "session": { - "model": "gpt-live-1", - "instructions": "Help the caller plan a restaurant reservation. Confirm details before booking.", - "audio": { - "format": { - "type": "audio/pcm", - "rate": 24000 - }, - "output": { - "voice": "marin" - } - }, - "delegation": { - "type": "client" - } - } -} -``` - -### session.update - -Update the delegation settings of an active Live session. The server acknowledges accepted changes with `session.updated`. - -#### Schema - -Schema name: `LiveSessionUpdateParam` - -```json -{ - "(resource) live > (model) session_update_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionUpdateParam", - "docstring": "Update the delegation settings of an active Live session. The server acknowledges accepted changes with `session.updated`.", - "ident": "SessionUpdateEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "session" - }, - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_update_event > (schema) > (property) session", - "(resource) live > (model) session_update_event > (schema) > (property) type", - "(resource) live > (model) session_update_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) session_update_event > (schema) > (property) session": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUpdateParam/properties/session", - "deprecated": false, - "key": "session", - "docstring": "Sparse delegation updates. Omitted settings retain their values. The delegation type cannot change, including resetting Responses delegation to null or client. Model, frontend instructions, audio, and startup input are immutable.", - "type": { - "kind": "HttpTypeReference", - "ident": "SessionUpdateConfig", - "$ref": "(resource) live > (model) session_update_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) session_update_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_update_config > (schema) > (property) delegation" - ] - }, - "(resource) live > (model) session_update_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUpdateParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `session.update`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionUpdateParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.update" - } - ] - }, - "default": "session.update", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_update_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_update_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUpdateParam/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_update_config > (schema) > (property) delegation": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUpdateParams/properties/delegation", - "deprecated": false, - "key": "delegation", - "docstring": "Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionUpdateParams/properties/delegation", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "responses" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 0", - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 1" - ] - }, - "(resource) live > (model) session_update_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionUpdateParams", - "docstring": "Changes to an active Live session. Only delegation backend settings can be updated after startup.", - "ident": "SessionUpdateConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "delegation" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_update_config > (schema) > (property) delegation" - ] - }, - "(resource) live > (model) session_update_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.update" - } - }, - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionUpdateParams/properties/delegation/anyOf/0/oneOf/1", - "docstring": "Update the Responses backend for an existing Live session without changing delegation ownership.", - "ident": "Responses", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "responses" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 1 > (property) type", - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 1 > (property) responses" - ] - }, - "(resource) live > (model) client_delegation > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveClientDelegationParam", - "docstring": "Delegate tasks to your application. The Live session emits delegation events that your backend handles.", - "ident": "ClientDelegation", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `client` for tasks handled by your application.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "client" - } - ] - }, - "default": "client", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationUpdateParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `responses` for tasks handled by the Responses API.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationUpdateParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - ] - }, - "default": "responses", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 1 > (property) responses": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationUpdateParam/properties/responses", - "deprecated": false, - "key": "responses", - "docstring": "Responses backend settings to update. Omitted settings keep their existing values.", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponsesDelegationUpdateConfig", - "$ref": "(resource) live > (model) responses_delegation_update_config > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) responses_delegation_update_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) session_update_config > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) instructions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/instructions", - "deprecated": false, - "key": "instructions", - "docstring": "Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt).", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) max_output_tokens": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/max_output_tokens", - "deprecated": false, - "key": "max_output_tokens", - "docstring": "Maximum number of output tokens for each delegated response.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 16 - }, - "optional": true, - "nullable": true, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The Responses backend model to use for subsequent delegated requests. Omit to keep the current backend model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) parallel_tool_calls": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/parallel_tool_calls", - "deprecated": false, - "key": "parallel_tool_calls", - "docstring": "Whether the delegated Responses model may request multiple tool calls in a single response.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/reasoning", - "deprecated": false, - "key": "reasoning", - "docstring": "Reasoning settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "effort" - }, - { - "ident": "summary" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) summary" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/service_tier", - "deprecated": false, - "key": "service_tier", - "docstring": "Service tier for delegated Responses requests.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/service_tier", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "default" - }, - { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - }, - { - "kind": "HttpTypeLiteral", - "literal": "flex" - }, - { - "kind": "HttpTypeLiteral", - "literal": "priority" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 0", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 1", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 2", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 3", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 4", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "Text generation settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "verbosity" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text > (property) verbosity" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tool_choice", - "deprecated": false, - "key": "tool_choice", - "docstring": "Controls which tool the Responses backend uses when handling a task delegated by the Live model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tool_choice", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 0", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 1", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "Tools available to the Responses backend while it handles tasks delegated by the Live model.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tools", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tools/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools > (items) > (variant) 0", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools > (items) > (variant) 1" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam", - "docstring": "Updates to the Responses backend of an existing Live session. Omitted settings retain their current values.", - "ident": "ResponsesDelegationUpdateConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "instructions" - }, - { - "ident": "max_output_tokens" - }, - { - "ident": "model" - }, - { - "ident": "parallel_tool_calls" - }, - { - "ident": "reasoning" - }, - { - "ident": "service_tier" - }, - { - "ident": "text" - }, - { - "ident": "tool_choice" - }, - { - "ident": "tools" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "deprecated": false, - "key": "effort", - "docstring": "How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "minimal" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 0", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 1", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 2", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 3", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 4", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) summary": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "deprecated": false, - "key": "summary", - "docstring": "The reasoning summary to request from the delegated Responses model, when supported.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "concise" - }, - { - "kind": "HttpTypeLiteral", - "literal": "detailed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) summary > (member) 0", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) summary > (member) 1", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) summary > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "default" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "flex" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "priority" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) service_tier > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text > (property) verbosity": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "deprecated": false, - "key": "verbosity", - "docstring": "The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text > (property) verbosity > (member) 0", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text > (property) verbosity > (member) 1", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text > (property) verbosity > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tool_choice/oneOf/0", - "ident": "LiveToolChoiceEnum", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tool_choice/oneOf/1", - "ident": "LiveFunctionToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 1 > (property) name", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tool_choice/oneOf/2", - "ident": "LiveMCPToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2 > (property) name", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label", - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsUpdateInputParam/properties/tools/items/oneOf/1", - "docstring": "A web search tool available to the Live session’s Responses backend.", - "ident": "WebSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) function_tool > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam", - "docstring": "A function tool available to the Responses backend when the Live model delegates a task.", - "ident": "FunctionTool", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "description" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "minimal" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) effort > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) summary > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "concise" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) summary > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "detailed" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) reasoning > (property) summary > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text > (property) verbosity > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text > (property) verbosity > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) text > (property) verbosity > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "required" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 1 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/server_label", - "deprecated": false, - "key": "server_label", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - ] - }, - "default": "mcp", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name the delegated Responses model uses when calling this function.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `function`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "What the function does and when the delegated Responses model should call it.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "deprecated": false, - "key": "parameters", - "docstring": "A JSON Schema object describing the arguments accepted by the function.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) strict": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/strict", - "deprecated": false, - "key": "strict", - "docstring": "Whether the delegated Responses model must follow the function’s parameter schema exactly.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `web_search`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - ] - }, - "default": "web_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - }, - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) responses_delegation_update_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.update", - "event_id": "evt_update_001", - "session": { - "delegation": { - "type": "responses", - "responses": { - "instructions": "Check restaurant availability. Ask before confirming a booking.", - "max_output_tokens": 1024 - } - } - } -} -``` - -### session.input_audio.append - -Send audio to a Live session over its primary WebSocket. WebRTC and SIP sessions send audio over their media transport. - -#### Schema - -Schema name: `LiveInputAudioAppendEvent` - -```json -{ - "(resource) live > (model) input_audio_append_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInputAudioAppendEvent", - "docstring": "Send audio to a Live session over its primary WebSocket. WebRTC and SIP sessions send audio over their media transport.", - "ident": "InputAudioAppendEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "audio" - }, - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) input_audio_append_event > (schema) > (property) audio", - "(resource) live > (model) input_audio_append_event > (schema) > (property) type", - "(resource) live > (model) input_audio_append_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) input_audio_append_event > (schema) > (property) audio": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioAppendEvent/properties/audio", - "deprecated": false, - "key": "audio", - "docstring": "Base64-encoded raw audio in the startup-selected format, without a WAV or other container header. Primary WebSocket only; media transports use their audio track. Audio appends have no acknowledgment. Reflected sideband server events reuse this event type and audio key, with no timestamps or event_id; their audio is always mono PCM16LE at 24 kHz.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_audio_append_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioAppendEvent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `session.input_audio.append`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInputAudioAppendEvent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.append" - } - ] - }, - "default": "session.input_audio.append", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) input_audio_append_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) input_audio_append_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioAppendEvent/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_audio_append_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.append" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.input_audio.append", - "audio": "AACAAIAAAIAAAP9/AIAAgA==" -} -``` - -### session.input_audio.mute - -Mute audio input to the Live model without closing the session. The server acknowledges with `session.input_audio.muted`. - -#### Schema - -Schema name: `LiveInputAudioMuteParam` - -```json -{ - "(resource) live > (model) input_audio_mute_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInputAudioMuteParam", - "docstring": "Mute audio input to the Live model without closing the session. The server acknowledges with `session.input_audio.muted`.", - "ident": "InputAudioMuteEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) input_audio_mute_event > (schema) > (property) type", - "(resource) live > (model) input_audio_mute_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) input_audio_mute_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioMuteParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `session.input_audio.mute`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInputAudioMuteParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.mute" - } - ] - }, - "default": "session.input_audio.mute", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) input_audio_mute_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) input_audio_mute_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioMuteParam/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_audio_mute_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.mute" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.input_audio.mute", - "event_id": "evt_mute_001" -} -``` - -### session.input_audio.unmute - -Resume audio input to a Live model after muting it. The server acknowledges with `session.input_audio.unmuted`. - -#### Schema - -Schema name: `LiveInputAudioUnmuteParam` - -```json -{ - "(resource) live > (model) input_audio_unmute_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInputAudioUnmuteParam", - "docstring": "Resume audio input to a Live model after muting it. The server acknowledges with `session.input_audio.unmuted`.", - "ident": "InputAudioUnmuteEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) input_audio_unmute_event > (schema) > (property) type", - "(resource) live > (model) input_audio_unmute_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) input_audio_unmute_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioUnmuteParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `session.input_audio.unmute`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInputAudioUnmuteParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.unmute" - } - ] - }, - "default": "session.input_audio.unmute", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) input_audio_unmute_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) input_audio_unmute_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioUnmuteParam/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_audio_unmute_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.unmute" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.input_audio.unmute", - "event_id": "evt_unmute_001" -} -``` - -### session.instructions.append - -Append instructions to the Live conversation while it is running, optionally associating them with an existing client delegation. - -#### Schema - -Schema name: `LiveInstructionsAppendParam` - -```json -{ - "(resource) live > (model) instructions_append_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInstructionsAppendParam", - "docstring": "Append instructions to the Live conversation while it is running, optionally associating them with an existing client delegation.", - "ident": "InstructionsAppendEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "delegation_id" - }, - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) instructions_append_event > (schema) > (property) content", - "(resource) live > (model) instructions_append_event > (schema) > (property) delegation_id", - "(resource) live > (model) instructions_append_event > (schema) > (property) type", - "(resource) live > (model) instructions_append_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) instructions_append_event > (schema) > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInstructionsAppendParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "Instruction text to append, limited to 500 tokens. This is a plain string, not an array of content parts.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) instructions_append_event > (schema) > (property) delegation_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInstructionsAppendParam/properties/delegation_id", - "deprecated": false, - "key": "delegation_id", - "docstring": "Required, nullable. Set null for general session context, or use the ID from session.delegation.created for an existing client delegation. Non-null IDs are not accepted with Responses delegation.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) instructions_append_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInstructionsAppendParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `session.instructions.append`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInstructionsAppendParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.instructions.append" - } - ] - }, - "default": "session.instructions.append", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) instructions_append_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) instructions_append_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInstructionsAppendParam/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) instructions_append_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.instructions.append" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.instructions.append", - "event_id": "evt_instructions_001", - "delegation_id": null, - "content": "The caller prefers outdoor seating." -} -``` - -### session.thinking.append - -Provide silent reasoning or progress context to the Live model, optionally for an existing client delegation. - -#### Schema - -Schema name: `LiveThinkingAppendParam` - -```json -{ - "(resource) live > (model) thinking_append_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveThinkingAppendParam", - "docstring": "Provide silent reasoning or progress context to the Live model, optionally for an existing client delegation.", - "ident": "ThinkingAppendEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "delegation_id" - }, - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) thinking_append_event > (schema) > (property) content", - "(resource) live > (model) thinking_append_event > (schema) > (property) delegation_id", - "(resource) live > (model) thinking_append_event > (schema) > (property) type", - "(resource) live > (model) thinking_append_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) thinking_append_event > (schema) > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveThinkingAppendParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "Silent reasoning or progress context, limited to 500 tokens. It does not directly request speech, but can influence later speech and is not a secrecy boundary.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) thinking_append_event > (schema) > (property) delegation_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveThinkingAppendParam/properties/delegation_id", - "deprecated": false, - "key": "delegation_id", - "docstring": "Required, nullable. Set null for general session context, or use the ID from session.delegation.created for an existing client delegation. Non-null IDs are not accepted with Responses delegation.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) thinking_append_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveThinkingAppendParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `session.thinking.append`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveThinkingAppendParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.thinking.append" - } - ] - }, - "default": "session.thinking.append", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) thinking_append_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) thinking_append_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveThinkingAppendParam/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) thinking_append_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.thinking.append" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.thinking.append", - "event_id": "evt_thinking_001", - "delegation_id": "del_abc123", - "content": "Checking availability for two guests at 7 PM." -} -``` - -### session.commentary.append - -Provide context the Live model can communicate to the user, optionally for an existing client delegation. - -#### Schema - -Schema name: `LiveCommentaryAppendParam` - -```json -{ - "(resource) live > (model) commentary_append_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveCommentaryAppendParam", - "docstring": "Provide context the Live model can communicate to the user, optionally for an existing client delegation.", - "ident": "CommentaryAppendEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "delegation_id" - }, - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) commentary_append_event > (schema) > (property) content", - "(resource) live > (model) commentary_append_event > (schema) > (property) delegation_id", - "(resource) live > (model) commentary_append_event > (schema) > (property) type", - "(resource) live > (model) commentary_append_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) commentary_append_event > (schema) > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCommentaryAppendParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "Speakable context for the Live model, limited to 500 tokens. Use this for a result the model should communicate; use session.thinking.append for silent context.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) commentary_append_event > (schema) > (property) delegation_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCommentaryAppendParam/properties/delegation_id", - "deprecated": false, - "key": "delegation_id", - "docstring": "Required, nullable. Set null for general session context, or use the ID from session.delegation.created for an existing client delegation. Non-null IDs are not accepted with Responses delegation.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) commentary_append_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCommentaryAppendParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `session.commentary.append`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveCommentaryAppendParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.commentary.append" - } - ] - }, - "default": "session.commentary.append", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) commentary_append_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) commentary_append_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCommentaryAppendParam/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) commentary_append_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.commentary.append" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.commentary.append", - "event_id": "evt_commentary_001", - "delegation_id": "del_abc123", - "content": "There is an outdoor table for two at 7 PM. Ask whether to reserve it." -} -``` - -### response.item.create - -Add an input item to the Live session’s Responses backend. Requires Responses delegation; use `response.create` to request a response. - -#### Schema - -Schema name: `LiveResponseItemCreateParam` - -```json -{ - "(resource) live > (model) response_item_create_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponseItemCreateParam", - "docstring": "Add an input item to the Live session’s Responses backend. Requires Responses delegation; use `response.create` to request a response.", - "ident": "ResponseItemCreateEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "item" - }, - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item", - "(resource) live > (model) response_item_create_event > (schema) > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseItemCreateParam/properties/item", - "deprecated": false, - "key": "item", - "docstring": "An input item to append to the Responses backend conversation, such as a user message or a function tool result.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponseItemCreateParam/properties/item", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "EasyInputMessage", - "$ref": "(resource) responses > (model) easy_input_message > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseOutputMessage", - "$ref": "(resource) responses > (model) response_output_message > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "queries" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "results" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "pending_safety_checks" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "action" - }, - { - "ident": "actions" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "acknowledged_safety_checks" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "action" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "arguments" - }, - { - "ident": "call_id" - }, - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "async" - }, - { - "ident": "caller" - }, - { - "ident": "namespace" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "caller" - }, - { - "ident": "name" - }, - { - "ident": "namespace" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "arguments" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "execution" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "tools" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "execution" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "role" - }, - { - "ident": "tools" - }, - { - "ident": "type" - }, - { - "ident": "id" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "reasoning" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "summary" - }, - { - "ident": "type" - }, - { - "ident": "content" - }, - { - "ident": "encrypted_content" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "encrypted_content" - }, - { - "ident": "type" - }, - { - "ident": "id" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "result" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "action" - }, - { - "ident": "background" - }, - { - "ident": "output_format" - }, - { - "ident": "quality" - }, - { - "ident": "revised_prompt" - }, - { - "ident": "size" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "code" - }, - { - "ident": "container_id" - }, - { - "ident": "outputs" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "action" - }, - { - "ident": "call_id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "action" - }, - { - "ident": "call_id" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - }, - { - "ident": "environment" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - }, - { - "ident": "max_output_length" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "operation" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - }, - { - "ident": "output" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "server_label" - }, - { - "ident": "tools" - }, - { - "ident": "type" - }, - { - "ident": "error" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "arguments" - }, - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "approval_request_id" - }, - { - "ident": "approve" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "reason" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "arguments" - }, - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - }, - { - "ident": "approval_request_id" - }, - { - "ident": "error" - }, - { - "ident": "output" - }, - { - "ident": "status" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "input" - }, - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "async" - }, - { - "ident": "caller" - }, - { - "ident": "namespace" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "id" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "code" - }, - { - "ident": "fingerprint" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "result" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 29", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 30", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseItemCreateParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `response.item.create`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponseItemCreateParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "response.item.create" - } - ] - }, - "default": "response.item.create", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseItemCreateParam/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "EasyInputMessage", - "$ref": "(resource) responses > (model) easy_input_message > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) easy_input_message > (schema) > (property) content", - "(resource) responses > (model) easy_input_message > (schema) > (property) role", - "(resource) responses > (model) easy_input_message > (schema) > (property) phase", - "(resource) responses > (model) easy_input_message > (schema) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/0", - "docstring": "A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role.\n", - "ident": "Message", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) content", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) role", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseOutputMessage", - "$ref": "(resource) responses > (model) response_output_message > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_message > (schema) > (property) id", - "(resource) responses > (model) response_output_message > (schema) > (property) content", - "(resource) responses > (model) response_output_message > (schema) > (property) role", - "(resource) responses > (model) response_output_message > (schema) > (property) status", - "(resource) responses > (model) response_output_message > (schema) > (property) type", - "(resource) responses > (model) response_output_message > (schema) > (property) phase" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/2", - "docstring": "The results of a file search tool call. See the\n[file search guide](/api/docs/guides/tools-file-search) for more information.\n", - "ident": "FileSearchCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "queries" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "results" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) queries", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/3", - "docstring": "A tool call to a computer use tool. See the\n[computer use guide](/api/docs/guides/tools-computer-use) for more information.\n", - "ident": "ComputerCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "pending_safety_checks" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "action" - }, - { - "ident": "actions" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) pending_safety_checks", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) action", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) actions" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/4", - "docstring": "The output of a computer tool call.", - "ident": "ComputerCallOutput", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "acknowledged_safety_checks" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) output", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) acknowledged_safety_checks", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/5", - "docstring": "The results of a web search tool call. See the\n[web search guide](/api/docs/guides/tools-web-search) for more information.\n", - "ident": "WebSearchCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "action" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/6", - "docstring": "A tool call to run a function. See the\n[function calling guide](/api/docs/guides/function-calling) for more information.\n", - "ident": "FunctionCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "arguments" - }, - { - "ident": "call_id" - }, - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "async" - }, - { - "ident": "caller" - }, - { - "ident": "namespace" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) arguments", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) namespace", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/7", - "docstring": "The output of a function tool call.", - "ident": "FunctionCallOutput", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "caller" - }, - { - "ident": "name" - }, - { - "ident": "namespace" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) namespace", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/8", - "ident": "ToolSearchCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "arguments" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "execution" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) arguments", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) execution", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/9", - "ident": "ToolSearchOutput", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "tools" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "execution" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) execution", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/10", - "ident": "AdditionalTools", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "role" - }, - { - "ident": "tools" - }, - { - "ident": "type" - }, - { - "ident": "id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) role", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) id" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/11", - "docstring": "An update to the conversation's response configuration. The configuration\nremains in effect for subsequent responses until it is replaced by another\nconfiguration update.\n", - "ident": "ConfigurationUpdate", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "reasoning" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) reasoning" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/12", - "docstring": "A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](/api/docs/guides/conversation-state).\n", - "ident": "Reasoning", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "summary" - }, - { - "ident": "type" - }, - { - "ident": "content" - }, - { - "ident": "encrypted_content" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) summary", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) content", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) encrypted_content", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/13", - "docstring": "A compaction item generated by the [`v1/responses/compact` API](/api/reference/resources/responses/methods/compact).", - "ident": "Compaction", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "encrypted_content" - }, - { - "ident": "type" - }, - { - "ident": "id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14 > (property) encrypted_content", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14 > (property) id" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/14", - "docstring": "An image generation request made by the model.", - "ident": "ImageGenerationCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "result" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "action" - }, - { - "ident": "background" - }, - { - "ident": "output_format" - }, - { - "ident": "quality" - }, - { - "ident": "revised_prompt" - }, - { - "ident": "size" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) result", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) action", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) background", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) output_format", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) revised_prompt", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/15", - "docstring": "A tool call to run code.\n", - "ident": "CodeInterpreterCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "code" - }, - { - "ident": "container_id" - }, - { - "ident": "outputs" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) code", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) container_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/16", - "docstring": "A tool call to run a command on the local shell.\n", - "ident": "LocalShellCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "action" - }, - { - "ident": "call_id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/17", - "docstring": "The output of a local shell tool call.\n", - "ident": "LocalShellCallOutput", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) output", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/18", - "docstring": "A tool representing a request to execute one or more shell commands.", - "ident": "ShellCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "action" - }, - { - "ident": "call_id" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - }, - { - "ident": "environment" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) action", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) environment", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/19", - "docstring": "The streamed output items emitted by a shell tool call.", - "ident": "ShellCallOutput", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - }, - { - "ident": "max_output_length" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) output", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) max_output_length", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/20", - "docstring": "A tool call representing a request to create, delete, or update files using diff patches.", - "ident": "ApplyPatchCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "operation" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/21", - "docstring": "The streamed output emitted by an apply patch tool call.", - "ident": "ApplyPatchCallOutput", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - }, - { - "ident": "output" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) output" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/22", - "docstring": "A list of tools available on an MCP server.\n", - "ident": "McpListTools", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "server_label" - }, - { - "ident": "tools" - }, - { - "ident": "type" - }, - { - "ident": "error" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) server_label", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) error" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/23", - "docstring": "A request for human approval of a tool invocation.\n", - "ident": "McpApprovalRequest", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "arguments" - }, - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) arguments", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) server_label", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/24", - "docstring": "A response to an MCP approval request.\n", - "ident": "McpApprovalResponse", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "approval_request_id" - }, - { - "ident": "approve" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "reason" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) approval_request_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) approve", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) reason" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/25", - "docstring": "An invocation of a tool on an MCP server.\n", - "ident": "McpCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "arguments" - }, - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - }, - { - "ident": "approval_request_id" - }, - { - "ident": "error" - }, - { - "ident": "output" - }, - { - "ident": "status" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) arguments", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) server_label", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) approval_request_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) error", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) output", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/26", - "docstring": "The output of a custom tool call from your code, being sent back to the model.\n", - "ident": "CustomToolCallOutput", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "output" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "caller" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Item/oneOf/27", - "docstring": "A call to a custom tool created by the model.\n", - "ident": "CustomToolCall", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "call_id" - }, - { - "ident": "input" - }, - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "id" - }, - { - "ident": "async" - }, - { - "ident": "caller" - }, - { - "ident": "namespace" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) input", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) namespace" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 29": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputItem/oneOf/2", - "docstring": "Compacts the current context. Must be the final input item.", - "ident": "CompactionTrigger", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 29 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 29 > (property) id" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 30": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputItem/oneOf/3", - "docstring": "An internal identifier for an item to reference.", - "ident": "ItemReference", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 30 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 30 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputItem/oneOf/4", - "ident": "Program", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "code" - }, - { - "ident": "fingerprint" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) code", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) fingerprint", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputItem/oneOf/5", - "ident": "ProgramOutput", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "call_id" - }, - { - "ident": "result" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) call_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) result", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) status", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) type" - ] - }, - "(resource) responses > (model) easy_input_message > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/EasyInputMessage", - "docstring": "A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n", - "ident": "EasyInputMessage", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "phase" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) easy_input_message > (schema) > (property) content", - "(resource) responses > (model) easy_input_message > (schema) > (property) role", - "(resource) responses > (model) easy_input_message > (schema) > (property) phase", - "(resource) responses > (model) easy_input_message > (schema) > (property) type" - ] - }, - "(resource) responses > (model) response_output_message > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/OutputMessage", - "docstring": "An output message from the model.\n", - "ident": "ResponseOutputMessage", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "status" - }, - { - "ident": "type" - }, - { - "ident": "phase" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_message > (schema) > (property) id", - "(resource) responses > (model) response_output_message > (schema) > (property) content", - "(resource) responses > (model) response_output_message > (schema) > (property) role", - "(resource) responses > (model) response_output_message > (schema) > (property) status", - "(resource) responses > (model) response_output_message > (schema) > (property) type", - "(resource) responses > (model) response_output_message > (schema) > (property) phase" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "response.item.create" - } - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/EasyInputMessage/properties/content", - "deprecated": false, - "key": "content", - "docstring": "Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/EasyInputMessage/properties/content", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputMessageContentList", - "$ref": "(resource) responses > (model) response_input_message_content_list > (schema)" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) easy_input_message > (schema) > (property) content > (variant) 0", - "(resource) responses > (model) easy_input_message > (schema) > (property) content > (variant) 1" - ] - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/EasyInputMessage/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/EasyInputMessage/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "user" - }, - { - "kind": "HttpTypeLiteral", - "literal": "assistant" - }, - { - "kind": "HttpTypeLiteral", - "literal": "system" - }, - { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) easy_input_message > (schema) > (property) role > (member) 0", - "(resource) responses > (model) easy_input_message > (schema) > (property) role > (member) 1", - "(resource) responses > (model) easy_input_message > (schema) > (property) role > (member) 2", - "(resource) responses > (model) easy_input_message > (schema) > (property) role > (member) 3" - ] - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) phase": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/EasyInputMessage/properties/phase", - "deprecated": false, - "key": "phase", - "docstring": "Labels an `assistant` message as intermediate commentary (`commentary`) or the final answer (`final_answer`).\nFor models like `gpt-5.3-codex` and beyond, when sending follow-up requests, preserve and resend\nphase on all assistant messages — dropping it can degrade performance. Not used for user messages.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/EasyInputMessage/properties/phase", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "commentary" - }, - { - "kind": "HttpTypeLiteral", - "literal": "final_answer" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) easy_input_message > (schema) > (property) phase > (member) 0", - "(resource) responses > (model) easy_input_message > (schema) > (property) phase > (member) 1" - ] - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/EasyInputMessage/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the message input. Always `message`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/EasyInputMessage/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) easy_input_message > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputMessage/properties/content", - "deprecated": false, - "key": "content", - "docstring": "A list of one or many input items to the model, containing different content \ntypes.\n", - "title": "Input item content list", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputMessageContentList", - "$ref": "(resource) responses > (model) response_input_message_content_list > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "array", - "modelPath": "(resource) responses > (model) response_input_message_content_list", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) response_input_content > (schema) > (variant) 0", - "(resource) responses > (model) response_input_content > (schema) > (variant) 1", - "(resource) responses > (model) response_input_content > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputMessage/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The role of the message input. One of `user`, `system`, or `developer`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputMessage/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "user" - }, - { - "kind": "HttpTypeLiteral", - "literal": "system" - }, - { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) role > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) role > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) role > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputMessage/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputMessage/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputMessage/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the message input. Always set to `message`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputMessage/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_output_message > (schema) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputMessage/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the output message.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_message > (schema) > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputMessage/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The content of the output message.\n", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/OutputMessage/properties/content", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/OutputMessage/properties/content/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ResponseOutputText", - "$ref": "(resource) responses > (model) response_output_text > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseOutputRefusal", - "$ref": "(resource) responses > (model) response_output_refusal > (schema)" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) response_output_message > (schema) > (property) content > (items) > (variant) 0", - "(resource) responses > (model) response_output_message > (schema) > (property) content > (items) > (variant) 1" - ] - }, - "(resource) responses > (model) response_output_message > (schema) > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputMessage/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The role of the output message. Always `assistant`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/OutputMessage/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_message > (schema) > (property) role > (member) 0" - ] - }, - "(resource) responses > (model) response_output_message > (schema) > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputMessage/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/OutputMessage/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_message > (schema) > (property) status > (member) 0", - "(resource) responses > (model) response_output_message > (schema) > (property) status > (member) 1", - "(resource) responses > (model) response_output_message > (schema) > (property) status > (member) 2" - ] - }, - "(resource) responses > (model) response_output_message > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputMessage/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the output message. Always `message`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/OutputMessage/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_message > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_output_message > (schema) > (property) phase": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputMessage/properties/phase", - "deprecated": false, - "key": "phase", - "docstring": "Labels an `assistant` message as intermediate commentary (`commentary`) or the final answer (`final_answer`).\nFor models like `gpt-5.3-codex` and beyond, when sending follow-up requests, preserve and resend\nphase on all assistant messages — dropping it can degrade performance. Not used for user messages.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/OutputMessage/properties/phase", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "commentary" - }, - { - "kind": "HttpTypeLiteral", - "literal": "final_answer" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_message > (schema) > (property) phase > (member) 0", - "(resource) responses > (model) response_output_message > (schema) > (property) phase > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the file search tool call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) queries": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/queries", - "deprecated": false, - "key": "queries", - "docstring": "The queries used to search for files.\n", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/queries", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "searching" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 4" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the file search tool call. Always `file_search_call`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "file_search_call" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/results", - "deprecated": false, - "key": "results", - "docstring": "The results of the file search tool call.\n", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/results", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "attributes" - }, - { - "ident": "file_id" - }, - { - "ident": "filename" - }, - { - "ident": "score" - }, - { - "ident": "text" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) attributes", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) file_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) filename", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) score", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) text" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerToolCall/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the computer call.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerToolCall/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "An identifier used when responding to the tool call with output.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) pending_safety_checks": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerToolCall/properties/pending_safety_checks", - "deprecated": false, - "key": "pending_safety_checks", - "docstring": "The pending safety checks for the computer call.\n", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ComputerToolCall/properties/pending_safety_checks", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "code" - }, - { - "ident": "message" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) pending_safety_checks > (items) > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) pending_safety_checks > (items) > (property) code", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) pending_safety_checks > (items) > (property) message" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerToolCall/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerToolCall/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerToolCall/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the computer call. Always `computer_call`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerToolCall/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "computer_call" - } - ] - }, - "default": "computer_call", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) action": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerToolCall/properties/action", - "deprecated": false, - "key": "action", - "docstring": "A click action.", - "type": { - "kind": "HttpTypeReference", - "ident": "ComputerAction", - "$ref": "(resource) responses > (model) computer_action > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) responses > (model) computer_action", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 0", - "(resource) responses > (model) computer_action > (schema) > (variant) 1", - "(resource) responses > (model) computer_action > (schema) > (variant) 2", - "(resource) responses > (model) computer_action > (schema) > (variant) 3", - "(resource) responses > (model) computer_action > (schema) > (variant) 4", - "(resource) responses > (model) computer_action > (schema) > (variant) 5", - "(resource) responses > (model) computer_action > (schema) > (variant) 6", - "(resource) responses > (model) computer_action > (schema) > (variant) 7", - "(resource) responses > (model) computer_action > (schema) > (variant) 8" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) actions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerToolCall/properties/actions", - "deprecated": false, - "key": "actions", - "docstring": "Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n", - "title": "Computer Action List", - "type": { - "kind": "HttpTypeReference", - "ident": "ComputerActionList", - "$ref": "(resource) responses > (model) computer_action_list > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "array", - "modelPath": "(resource) responses > (model) computer_action_list", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 0", - "(resource) responses > (model) computer_action > (schema) > (variant) 1", - "(resource) responses > (model) computer_action > (schema) > (variant) 2", - "(resource) responses > (model) computer_action > (schema) > (variant) 3", - "(resource) responses > (model) computer_action > (schema) > (variant) 4", - "(resource) responses > (model) computer_action > (schema) > (variant) 5", - "(resource) responses > (model) computer_action > (schema) > (variant) 6", - "(resource) responses > (model) computer_action > (schema) > (variant) 7", - "(resource) responses > (model) computer_action > (schema) > (variant) 8" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallOutputItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The ID of the computer tool call that produced the output.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallOutputItemParam/properties/output", - "deprecated": false, - "key": "output", - "docstring": "A computer screenshot image used with the computer use tool.\n", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseComputerToolCallOutputScreenshot", - "$ref": "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) responses > (model) response_computer_tool_call_output_screenshot", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) type", - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) file_id", - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) image_url" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallOutputItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the computer tool call output. Always `computer_call_output`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerCallOutputItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "computer_call_output" - } - ] - }, - "default": "computer_call_output", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallOutputItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The ID of the computer tool call output.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "cuo_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) acknowledged_safety_checks": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallOutputItemParam/properties/acknowledged_safety_checks", - "deprecated": false, - "key": "acknowledged_safety_checks", - "docstring": "The safety checks reported by the API that have been acknowledged by the developer.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ComputerCallOutputItemParam/properties/acknowledged_safety_checks", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "code" - }, - { - "ident": "message" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) acknowledged_safety_checks > (items) > (property) id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) acknowledged_safety_checks > (items) > (property) code", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) acknowledged_safety_checks > (items) > (property) message" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallOutputItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the message input. One of `in_progress`, `completed`, or `incomplete`. Populated when input items are returned via API.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerCallOutputItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the web search tool call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/action", - "deprecated": false, - "key": "action", - "docstring": "An object describing the specific action taken in this web search call.\nIncludes details on how the model used the web (search, open_page, find_in_page).\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/action", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "queries" - }, - { - "ident": "query" - }, - { - "ident": "sources" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "url" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "pattern" - }, - { - "ident": "type" - }, - { - "ident": "url" - } - ] - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the web search tool call.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "searching" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "failed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 4" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the web search tool call. Always `web_search_call`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search_call" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) arguments": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolCall/properties/arguments", - "deprecated": false, - "key": "arguments", - "docstring": "A JSON string of the arguments to pass to the function.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolCall/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The unique ID of the function tool call generated by the model.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolCall/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the function to run.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolCall/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the function tool call. Always `function_call`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionToolCall/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function_call" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolCall/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the function tool call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolCall/properties/async", - "deprecated": false, - "key": "async", - "docstring": "Whether the function tool call runs asynchronously.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolCall/properties/caller", - "deprecated": false, - "key": "caller", - "docstring": "The execution context that produced this tool call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionToolCall/properties/caller", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) namespace": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolCall/properties/namespace", - "deprecated": false, - "key": "namespace", - "docstring": "The namespace of the function to run.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolCall/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionToolCall/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/output", - "deprecated": false, - "key": "output", - "docstring": "Text, image, or file output of the function tool call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/output", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/output/oneOf/1", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/output/oneOf/1/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ResponseInputTextContent", - "$ref": "(resource) responses > (model) response_input_text_content > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputImageContent", - "$ref": "(resource) responses > (model) response_input_image_content > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputFileContent", - "$ref": "(resource) responses > (model) response_input_file_content > (schema)" - } - ] - } - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the function tool call output. Always `function_call_output`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function_call_output" - } - ] - }, - "default": "function_call_output", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the function tool call output. Populated when this item is returned via API.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "fc_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The unique ID of the function tool call generated by the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/caller", - "deprecated": false, - "key": "caller", - "docstring": "The execution context that produced this tool call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/caller", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the tool that produced the output.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 128 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) namespace": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/namespace", - "deprecated": false, - "key": "namespace", - "docstring": "The namespace of the tool that produced the output.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) arguments": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchCallItemParam/properties/arguments", - "deprecated": false, - "key": "arguments", - "docstring": "The arguments supplied to the tool search call.", - "type": { - "kind": "HttpTypeUnknown" - }, - "optional": false, - "nullable": false, - "schemaType": "unknown", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchCallItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The item type. Always `tool_search_call`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchCallItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "tool_search_call" - } - ] - }, - "default": "tool_search_call", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchCallItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of this tool search call.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "tsc_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchCallItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The unique ID of the tool search call generated by the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) execution": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchCallItemParam/properties/execution", - "deprecated": false, - "key": "execution", - "docstring": "Whether tool search was executed by the server or by the client.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchCallItemParam/properties/execution", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "server" - }, - { - "kind": "HttpTypeLiteral", - "literal": "client" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) execution > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) execution > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchCallItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the tool search call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchCallItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "The loaded tool definitions returned by the tool search output.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/tools", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/tools/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "output_schema" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "vector_store_ids" - }, - { - "ident": "filters" - }, - { - "ident": "max_num_results" - }, - { - "ident": "ranking_options" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "display_height" - }, - { - "ident": "display_width" - }, - { - "ident": "environment" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "external_web_access" - }, - { - "ident": "filters" - }, - { - "ident": "search_context_size" - }, - { - "ident": "user_location" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "server_label" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "allowed_tools" - }, - { - "ident": "authorization" - }, - { - "ident": "connector_id" - }, - { - "ident": "defer_loading" - }, - { - "ident": "headers" - }, - { - "ident": "require_approval" - }, - { - "ident": "server_description" - }, - { - "ident": "server_url" - }, - { - "ident": "tunnel_id" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "container" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "action" - }, - { - "ident": "background" - }, - { - "ident": "input_fidelity" - }, - { - "ident": "input_image_mask" - }, - { - "ident": "model" - }, - { - "ident": "moderation" - }, - { - "ident": "output_compression" - }, - { - "ident": "output_format" - }, - { - "ident": "partial_images" - }, - { - "ident": "quality" - }, - { - "ident": "size" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "environment" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "format" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "description" - }, - { - "ident": "name" - }, - { - "ident": "tools" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "description" - }, - { - "ident": "execution" - }, - { - "ident": "parameters" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "search_content_types" - }, - { - "ident": "search_context_size" - }, - { - "ident": "user_location" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "allowed_callers" - } - ] - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 7", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 9", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The item type. Always `tool_search_output`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "tool_search_output" - } - ] - }, - "default": "tool_search_output", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of this tool search output.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "tso_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The unique ID of the tool search call generated by the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) execution": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/execution", - "deprecated": false, - "key": "execution", - "docstring": "Whether tool search was executed by the server or by the client.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/execution", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "server" - }, - { - "kind": "HttpTypeLiteral", - "literal": "client" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) execution > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) execution > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the tool search output.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchOutputItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AdditionalToolsItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The role that provided the additional tools. Only `developer` is supported.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/AdditionalToolsItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - ] - }, - "default": "developer", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AdditionalToolsItemParam/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "A list of additional tools made available at this item.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/AdditionalToolsItemParam/properties/tools", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/AdditionalToolsItemParam/properties/tools/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "output_schema" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "vector_store_ids" - }, - { - "ident": "filters" - }, - { - "ident": "max_num_results" - }, - { - "ident": "ranking_options" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "display_height" - }, - { - "ident": "display_width" - }, - { - "ident": "environment" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "external_web_access" - }, - { - "ident": "filters" - }, - { - "ident": "search_context_size" - }, - { - "ident": "user_location" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "server_label" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "allowed_tools" - }, - { - "ident": "authorization" - }, - { - "ident": "connector_id" - }, - { - "ident": "defer_loading" - }, - { - "ident": "headers" - }, - { - "ident": "require_approval" - }, - { - "ident": "server_description" - }, - { - "ident": "server_url" - }, - { - "ident": "tunnel_id" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "container" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "action" - }, - { - "ident": "background" - }, - { - "ident": "input_fidelity" - }, - { - "ident": "input_image_mask" - }, - { - "ident": "model" - }, - { - "ident": "moderation" - }, - { - "ident": "output_compression" - }, - { - "ident": "output_format" - }, - { - "ident": "partial_images" - }, - { - "ident": "quality" - }, - { - "ident": "size" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "environment" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "format" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "description" - }, - { - "ident": "name" - }, - { - "ident": "tools" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "description" - }, - { - "ident": "execution" - }, - { - "ident": "parameters" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "search_content_types" - }, - { - "ident": "search_context_size" - }, - { - "ident": "user_location" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "allowed_callers" - } - ] - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 7", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 9", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AdditionalToolsItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The item type. Always `additional_tools`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/AdditionalToolsItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "additional_tools" - } - ] - }, - "default": "additional_tools", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AdditionalToolsItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of this additional tools item.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "at_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ResponseConfigurationUpdateItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The item type. Always `configuration_update`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ResponseConfigurationUpdateItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "configuration_update" - } - ] - }, - "default": "configuration_update", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ResponseConfigurationUpdateItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the configuration update item.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "cnfu_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) reasoning": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ResponseConfigurationUpdateItemParam/properties/reasoning", - "deprecated": false, - "key": "reasoning", - "docstring": "Updates to reasoning configuration. Only effort is supported.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "effort" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) reasoning > (property) effort" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ReasoningItem/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique identifier of the reasoning content.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) summary": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ReasoningItem/properties/summary", - "deprecated": false, - "key": "summary", - "docstring": "Reasoning summary content.\n", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ReasoningItem/properties/summary", - "elementType": { - "kind": "HttpTypeReference", - "ident": "SummaryTextContent", - "$ref": "(resource) conversations > (model) summary_text_content > (schema)" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) conversations > (model) summary_text_content > (schema) > (property) text", - "(resource) conversations > (model) summary_text_content > (schema) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ReasoningItem/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the object. Always `reasoning`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ReasoningItem/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "reasoning" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ReasoningItem/properties/content", - "deprecated": false, - "key": "content", - "docstring": "Reasoning text content.\n", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ReasoningItem/properties/content", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) content > (items) > (property) text", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) content > (items) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) encrypted_content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ReasoningItem/properties/encrypted_content", - "deprecated": false, - "key": "encrypted_content", - "docstring": "The encrypted content of the reasoning item. This is populated by default\nfor reasoning items returned by `POST /v1/responses` and WebSocket\n`response.create` requests.\n\nWhen streaming, use the completed reasoning item and its\n`encrypted_content` from the `response.output_item.done` event in\nsubsequent requests. The `encrypted_content` in\n`response.output_item.added` may be incomplete. This is especially\nimportant when `store` is `false` or when using Zero Data Retention.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ReasoningItem/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ReasoningItem/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14 > (property) encrypted_content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CompactionSummaryItemParam/properties/encrypted_content", - "deprecated": false, - "key": "encrypted_content", - "docstring": "The encrypted content of the compaction summary.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 20971520 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CompactionSummaryItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `compaction`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CompactionSummaryItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "compaction" - } - ] - }, - "default": "compaction", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CompactionSummaryItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The ID of the compaction item.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "cmp_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the image generation call.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) result": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/result", - "deprecated": false, - "key": "result", - "docstring": "The generated image encoded in base64.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the image generation call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "generating" - }, - { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status > (member) 3" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the image generation call. Always `image_generation_call`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "image_generation_call" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) action": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/action", - "deprecated": false, - "key": "action", - "docstring": "The action used for image generation.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/action", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "generate" - }, - { - "kind": "HttpTypeLiteral", - "literal": "edit" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) action > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) action > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) action > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) background": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/background", - "deprecated": false, - "key": "background", - "docstring": "The background setting used for generation.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/background", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "transparent" - }, - { - "kind": "HttpTypeLiteral", - "literal": "opaque" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) background > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) background > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) background > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) output_format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/output_format", - "deprecated": false, - "key": "output_format", - "docstring": "The output format used for generation.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/output_format", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "png" - }, - { - "kind": "HttpTypeLiteral", - "literal": "webp" - }, - { - "kind": "HttpTypeLiteral", - "literal": "jpeg" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) output_format > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) output_format > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) output_format > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/quality", - "deprecated": false, - "key": "quality", - "docstring": "The quality of the image generated by the image generation tool call. One of `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/quality", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - }, - { - "kind": "HttpTypeLiteral", - "literal": "max" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 5" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) revised_prompt": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/revised_prompt", - "deprecated": false, - "key": "revised_prompt", - "docstring": "The prompt that was used after any model prompt rewriting.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/size", - "deprecated": false, - "key": "size", - "docstring": "The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/size", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/size/anyOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "1024x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1024x1536" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1536x1024" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the code interpreter tool call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/code", - "deprecated": false, - "key": "code", - "docstring": "The code to run, or null if not available.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) container_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/container_id", - "deprecated": false, - "key": "container_id", - "docstring": "The ID of the container used to run the code.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/outputs", - "deprecated": false, - "key": "outputs", - "docstring": "The outputs generated by the code interpreter, such as logs or images.\nCan be null if no outputs are available.\n", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/outputs", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/outputs/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "logs" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "url" - } - ] - } - ] - } - }, - "optional": false, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "interpreting" - }, - { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 4" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the code interpreter tool call. Always `code_interpreter_call`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "code_interpreter_call" - } - ] - }, - "default": "code_interpreter_call", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolCall/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the local shell call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolCall/properties/action", - "deprecated": false, - "key": "action", - "docstring": "Execute a shell command on the server.", - "title": "Local shell exec action", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "command" - }, - { - "ident": "env" - }, - { - "ident": "type" - }, - { - "ident": "timeout_ms" - }, - { - "ident": "user" - }, - { - "ident": "working_directory" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) command", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) env", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) timeout_ms", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) user", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) working_directory" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolCall/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The unique ID of the local shell tool call generated by the model.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolCall/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the local shell call.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LocalShellToolCall/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolCall/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the local shell call. Always `local_shell_call`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LocalShellToolCall/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "local_shell_call" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolCallOutput/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the local shell tool call generated by the model.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolCallOutput/properties/output", - "deprecated": false, - "key": "output", - "docstring": "A JSON string of the output of the local shell tool call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolCallOutput/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the local shell tool call output. Always `local_shell_call_output`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LocalShellToolCallOutput/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "local_shell_call_output" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolCallOutput/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the item. One of `in_progress`, `completed`, or `incomplete`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LocalShellToolCallOutput/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) action": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/action", - "deprecated": false, - "key": "action", - "docstring": "The shell commands and limits that describe how to run the tool call.", - "title": "Shell action", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "commands" - }, - { - "ident": "max_output_length" - }, - { - "ident": "timeout_ms" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) action > (property) commands", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) action > (property) max_output_length", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) action > (property) timeout_ms" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The unique ID of the shell tool call generated by the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `shell_call`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "shell_call" - } - ] - }, - "default": "shell_call", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the shell tool call. Populated when this item is returned via API.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "sh_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/caller", - "deprecated": false, - "key": "caller", - "docstring": "The execution context that produced this tool call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/caller", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) environment": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/environment", - "deprecated": false, - "key": "environment", - "docstring": "The environment to execute the shell commands in.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/environment", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "LocalEnvironment", - "$ref": "(resource) responses > (model) local_environment > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ContainerReference", - "$ref": "(resource) responses > (model) container_reference > (schema)" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) environment > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) environment > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.", - "title": "Shell call status", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The unique ID of the shell tool call generated by the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/output", - "deprecated": false, - "key": "output", - "docstring": "Captured chunks of stdout and stderr output, along with their associated outcomes.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/output", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ResponseFunctionShellCallOutputContent", - "$ref": "(resource) responses > (model) response_function_shell_call_output_content > (schema)" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome", - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) stderr", - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) stdout" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `shell_call_output`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "shell_call_output" - } - ] - }, - "default": "shell_call_output", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the shell tool call output. Populated when this item is returned via API.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "sho_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/caller", - "deprecated": false, - "key": "caller", - "docstring": "The execution context that produced this tool call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/caller", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) max_output_length": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/max_output_length", - "deprecated": false, - "key": "max_output_length", - "docstring": "The maximum number of UTF-8 characters captured for this shell call's combined output.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": true, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the shell call output.", - "title": "Shell call status", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallOutputItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) status > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The unique ID of the apply patch tool call generated by the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/operation", - "deprecated": false, - "key": "operation", - "docstring": "The specific create, delete, or update instruction for the apply_patch tool call.", - "title": "Apply patch operation", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/operation", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "diff" - }, - { - "ident": "path" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "path" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "diff" - }, - { - "ident": "path" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the apply patch tool call. One of `in_progress` or `completed`.", - "title": "Apply patch call status", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `apply_patch_call`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "apply_patch_call" - } - ] - }, - "default": "apply_patch_call", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the apply patch tool call. Populated when this item is returned via API.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "apc_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/caller", - "deprecated": false, - "key": "caller", - "docstring": "The execution context that produced this tool call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolCallItemParam/properties/caller", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallOutputItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The unique ID of the apply patch tool call generated by the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallOutputItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the apply patch tool call output. One of `completed` or `failed`.", - "title": "Apply patch call output status", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolCallOutputItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallOutputItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `apply_patch_call_output`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolCallOutputItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "apply_patch_call_output" - } - ] - }, - "default": "apply_patch_call_output", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallOutputItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the apply patch tool call output. Populated when this item is returned via API.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "apco_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallOutputItemParam/properties/caller", - "deprecated": false, - "key": "caller", - "docstring": "The execution context that produced this tool call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolCallOutputItemParam/properties/caller", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolCallOutputItemParam/properties/output", - "deprecated": false, - "key": "output", - "docstring": "Optional human-readable log text from the apply patch tool (e.g., patch results or errors).", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 10485760 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPListTools/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the list.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPListTools/properties/server_label", - "deprecated": false, - "key": "server_label", - "docstring": "The label of the MCP server.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPListTools/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "The tools available on the server.\n", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPListTools/properties/tools", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "input_schema" - }, - { - "ident": "name" - }, - { - "ident": "annotations" - }, - { - "ident": "description" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools > (items) > (property) input_schema", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools > (items) > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools > (items) > (property) annotations", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools > (items) > (property) description" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPListTools/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `mcp_list_tools`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPListTools/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp_list_tools" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) error": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPListTools/properties/error", - "deprecated": false, - "key": "error", - "docstring": "Error message if the server could not list tools.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalRequest/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the approval request.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) arguments": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalRequest/properties/arguments", - "deprecated": false, - "key": "arguments", - "docstring": "A JSON string of arguments for the tool.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalRequest/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the tool to run.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalRequest/properties/server_label", - "deprecated": false, - "key": "server_label", - "docstring": "The label of the MCP server making the request.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalRequest/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `mcp_approval_request`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPApprovalRequest/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp_approval_request" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) approval_request_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalResponse/properties/approval_request_id", - "deprecated": false, - "key": "approval_request_id", - "docstring": "The ID of the approval request being answered.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) approve": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalResponse/properties/approve", - "deprecated": false, - "key": "approve", - "docstring": "Whether the request was approved.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": false, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalResponse/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `mcp_approval_response`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPApprovalResponse/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp_approval_response" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalResponse/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the approval response\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) reason": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPApprovalResponse/properties/reason", - "deprecated": false, - "key": "reason", - "docstring": "Optional reason for the decision.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolCall/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the tool call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) arguments": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolCall/properties/arguments", - "deprecated": false, - "key": "arguments", - "docstring": "A JSON string of the arguments passed to the tool.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolCall/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the tool that was run.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolCall/properties/server_label", - "deprecated": false, - "key": "server_label", - "docstring": "The label of the MCP server running the tool.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolCall/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `mcp_call`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPToolCall/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp_call" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) approval_request_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolCall/properties/approval_request_id", - "deprecated": false, - "key": "approval_request_id", - "docstring": "Unique identifier for the MCP tool call approval request.\nInclude this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) error": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolCall/properties/error", - "deprecated": false, - "key": "error", - "docstring": "The error from the tool call, if any.", - "type": { - "kind": "HttpTypeReference", - "ident": "McpToolCallError", - "$ref": "(resource) responses > (model) mcp_tool_call_error > (schema)" - }, - "optional": true, - "nullable": true, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) responses > (model) mcp_tool_call_error", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0", - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 1", - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolCall/properties/output", - "deprecated": false, - "key": "output", - "docstring": "The output from the tool call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolCall/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPToolCall/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "calling" - }, - { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 4" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The call ID, used to map this custom tool call output to a custom tool call.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/output", - "deprecated": false, - "key": "output", - "docstring": "The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/output", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/output/oneOf/1", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/output/oneOf/1/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ResponseInputText", - "$ref": "(resource) responses > (model) response_input_text > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputImage", - "$ref": "(resource) responses > (model) response_input_image > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputFile", - "$ref": "(resource) responses > (model) response_input_file > (schema)" - } - ] - } - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the custom tool call output. Always `custom_tool_call_output`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "custom_tool_call_output" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the custom tool call output in the OpenAI platform.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/caller", - "deprecated": false, - "key": "caller", - "docstring": "The execution context that produced this tool call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/caller", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCall/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "An identifier used to map this custom tool call to a tool call output.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) input": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCall/properties/input", - "deprecated": false, - "key": "input", - "docstring": "The input for the custom tool call generated by the model.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCall/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the custom tool being called.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCall/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the custom tool call. Always `custom_tool_call`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolCall/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "custom_tool_call" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCall/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the custom tool call in the OpenAI platform.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCall/properties/async", - "deprecated": false, - "key": "async", - "docstring": "Whether the custom tool call runs asynchronously.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCall/properties/caller", - "deprecated": false, - "key": "caller", - "docstring": "The execution context that produced this tool call.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolCall/properties/caller", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) namespace": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolCall/properties/namespace", - "deprecated": false, - "key": "namespace", - "docstring": "The namespace of the custom tool being called.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 29 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CompactionTriggerItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the item. Always `compaction_trigger`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CompactionTriggerItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "compaction_trigger" - } - ] - }, - "default": "compaction_trigger", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 29 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 29 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CompactionTriggerItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of this compaction trigger.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "msg_123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 30 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ItemReferenceParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The ID of the item to reference.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 30 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ItemReferenceParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of item to reference. Always `item_reference`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ItemReferenceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "item_reference" - } - ] - }, - "default": "item_reference", - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 30 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of this program item.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "cm_123" - ], - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The stable call ID of the program item.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramItemParam/properties/code", - "deprecated": false, - "key": "code", - "docstring": "The JavaScript source executed by programmatic tool calling.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 10485760 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) fingerprint": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramItemParam/properties/fingerprint", - "deprecated": false, - "key": "fingerprint", - "docstring": "Opaque program replay fingerprint that must be round-tripped.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 10485760 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The item type. Always `program`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program" - } - ] - }, - "default": "program", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramOutputItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of this program output item.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "cmo_123" - ], - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) call_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramOutputItemParam/properties/call_id", - "deprecated": false, - "key": "call_id", - "docstring": "The call ID of the program item.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) result": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramOutputItemParam/properties/result", - "deprecated": false, - "key": "result", - "docstring": "The result produced by the program item.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 10485760 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramOutputItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The terminal status of the program output.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramOutputItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "completed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) status > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramOutputItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The item type. Always `program_output`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramOutputItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program_output" - } - ] - }, - "default": "program_output", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) content > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/EasyInputMessage/properties/content/oneOf/0", - "docstring": "A text input to the model.\n", - "ident": "TextInput", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) content > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputMessageContentList", - "$ref": "(resource) responses > (model) response_input_message_content_list > (schema)" - }, - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) response_input_content > (schema) > (variant) 0", - "(resource) responses > (model) response_input_content > (schema) > (variant) 1", - "(resource) responses > (model) response_input_content > (schema) > (variant) 2" - ] - }, - "(resource) responses > (model) response_input_message_content_list > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputMessageContentList", - "docstring": "A list of one or many input items to the model, containing different content \ntypes.\n", - "ident": "ResponseInputMessageContentList", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/InputMessageContentList", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ResponseInputContent", - "$ref": "(resource) responses > (model) response_input_content > (schema)" - } - }, - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) response_input_content > (schema) > (variant) 0", - "(resource) responses > (model) response_input_content > (schema) > (variant) 1", - "(resource) responses > (model) response_input_content > (schema) > (variant) 2" - ] - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "user" - } - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) role > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) role > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "system" - } - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) role > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) phase > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "commentary" - } - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) phase > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "final_answer" - } - }, - "(resource) responses > (model) easy_input_message > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) responses > (model) response_input_content > (schema) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputText", - "$ref": "(resource) responses > (model) response_input_text > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_text > (schema) > (property) text", - "(resource) responses > (model) response_input_text > (schema) > (property) type", - "(resource) responses > (model) response_input_text > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) responses > (model) response_input_content > (schema) > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputImage", - "$ref": "(resource) responses > (model) response_input_image > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_image > (schema) > (property) detail", - "(resource) responses > (model) response_input_image > (schema) > (property) type", - "(resource) responses > (model) response_input_image > (schema) > (property) file_id", - "(resource) responses > (model) response_input_image > (schema) > (property) image_url", - "(resource) responses > (model) response_input_image > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) responses > (model) response_input_content > (schema) > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputFile", - "$ref": "(resource) responses > (model) response_input_file > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_file > (schema) > (property) type", - "(resource) responses > (model) response_input_file > (schema) > (property) detail", - "(resource) responses > (model) response_input_file > (schema) > (property) file_data", - "(resource) responses > (model) response_input_file > (schema) > (property) file_id", - "(resource) responses > (model) response_input_file > (schema) > (property) file_url", - "(resource) responses > (model) response_input_file > (schema) > (property) filename", - "(resource) responses > (model) response_input_file > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "user" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) role > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "system" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) role > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) responses > (model) response_output_message > (schema) > (property) content > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseOutputText", - "$ref": "(resource) responses > (model) response_output_text > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations", - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs", - "(resource) responses > (model) response_output_text > (schema) > (property) text", - "(resource) responses > (model) response_output_text > (schema) > (property) type" - ] - }, - "(resource) responses > (model) response_output_message > (schema) > (property) content > (items) > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseOutputRefusal", - "$ref": "(resource) responses > (model) response_output_refusal > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_refusal > (schema) > (property) refusal", - "(resource) responses > (model) response_output_refusal > (schema) > (property) type" - ] - }, - "(resource) responses > (model) response_output_text > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/OutputTextContent", - "docstring": "A text output from the model.", - "ident": "ResponseOutputText", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "annotations" - }, - { - "ident": "logprobs" - }, - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations", - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs", - "(resource) responses > (model) response_output_text > (schema) > (property) text", - "(resource) responses > (model) response_output_text > (schema) > (property) type" - ] - }, - "(resource) responses > (model) response_output_refusal > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/RefusalContent", - "docstring": "A refusal from the model.", - "ident": "ResponseOutputRefusal", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "refusal" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_refusal > (schema) > (property) refusal", - "(resource) responses > (model) response_output_refusal > (schema) > (property) type" - ] - }, - "(resource) responses > (model) response_output_message > (schema) > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - }, - "(resource) responses > (model) response_output_message > (schema) > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) responses > (model) response_output_message > (schema) > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) responses > (model) response_output_message > (schema) > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) responses > (model) response_output_message > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) responses > (model) response_output_message > (schema) > (property) phase > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "commentary" - } - }, - "(resource) responses > (model) response_output_message > (schema) > (property) phase > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "final_answer" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "searching" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) status > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "file_search_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) attributes": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/results/anyOf/0/items/properties/attributes", - "deprecated": false, - "key": "attributes", - "docstring": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard. Keys are strings\nwith a maximum length of 64 characters. Values are strings with a maximum\nlength of 512 characters, booleans, or numbers.\n", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/results/anyOf/0/items/properties/attributes", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/VectorStoreFileAttributes/anyOf/0/additionalProperties", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeNumber" - }, - { - "kind": "HttpTypeBoolean" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) attributes > (items) > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) attributes > (items) > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) attributes > (items) > (variant) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/results/anyOf/0/items/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "The unique ID of the file.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) filename": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/results/anyOf/0/items/properties/filename", - "deprecated": false, - "key": "filename", - "docstring": "The name of the file.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) score": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/results/anyOf/0/items/properties/score", - "deprecated": false, - "key": "score", - "docstring": "The relevance score of the file - a value between 0 and 1.\n", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "format": "float" - }, - "optional": true, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchToolCall/properties/results/anyOf/0/items/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The text that was retrieved from the file.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) pending_safety_checks > (items) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallSafetyCheckParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The ID of the pending safety check.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) pending_safety_checks > (items) > (property) code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallSafetyCheckParam/properties/code", - "deprecated": false, - "key": "code", - "docstring": "The type of the pending safety check.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) pending_safety_checks > (items) > (property) message": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallSafetyCheckParam/properties/message", - "deprecated": false, - "key": "message", - "docstring": "Details about the pending safety check.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 4 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "computer_call" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction/oneOf/0", - "docstring": "A click action.", - "ident": "Click", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "button" - }, - { - "ident": "type" - }, - { - "ident": "x" - }, - { - "ident": "y" - }, - { - "ident": "keys" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button", - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) type", - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) x", - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) y", - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) keys" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction/oneOf/1", - "docstring": "A double click action.", - "ident": "DoubleClick", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "keys" - }, - { - "ident": "type" - }, - { - "ident": "x" - }, - { - "ident": "y" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) keys", - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) type", - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) x", - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) y" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction/oneOf/2", - "docstring": "A drag action.", - "ident": "Drag", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "path" - }, - { - "ident": "type" - }, - { - "ident": "keys" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) path", - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) type", - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) keys" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 3": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction/oneOf/3", - "docstring": "A collection of keypresses the model would like to perform.", - "ident": "Keypress", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "keys" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 3 > (property) keys", - "(resource) responses > (model) computer_action > (schema) > (variant) 3 > (property) type" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 4": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction/oneOf/4", - "docstring": "A mouse move action.", - "ident": "Move", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "x" - }, - { - "ident": "y" - }, - { - "ident": "keys" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) type", - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) x", - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) y", - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) keys" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 5": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction/oneOf/5", - "docstring": "A screenshot action.", - "ident": "Screenshot", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 5 > (property) type" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 6": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction/oneOf/6", - "docstring": "A scroll action.", - "ident": "Scroll", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "scroll_x" - }, - { - "ident": "scroll_y" - }, - { - "ident": "type" - }, - { - "ident": "x" - }, - { - "ident": "y" - }, - { - "ident": "keys" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) scroll_x", - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) scroll_y", - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) type", - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) x", - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) y", - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) keys" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 7": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction/oneOf/7", - "docstring": "An action to type in text.", - "ident": "Type", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 7 > (property) text", - "(resource) responses > (model) computer_action > (schema) > (variant) 7 > (property) type" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 8": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction/oneOf/8", - "docstring": "A wait action.", - "ident": "Wait", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 8 > (property) type" - ] - }, - "(resource) responses > (model) computer_action > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerAction", - "docstring": "A click action.", - "ident": "ComputerAction", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerAction", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "button" - }, - { - "ident": "type" - }, - { - "ident": "x" - }, - { - "ident": "y" - }, - { - "ident": "keys" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "keys" - }, - { - "ident": "type" - }, - { - "ident": "x" - }, - { - "ident": "y" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "path" - }, - { - "ident": "type" - }, - { - "ident": "keys" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "keys" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "x" - }, - { - "ident": "y" - }, - { - "ident": "keys" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "scroll_x" - }, - { - "ident": "scroll_y" - }, - { - "ident": "type" - }, - { - "ident": "x" - }, - { - "ident": "y" - }, - { - "ident": "keys" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 0", - "(resource) responses > (model) computer_action > (schema) > (variant) 1", - "(resource) responses > (model) computer_action > (schema) > (variant) 2", - "(resource) responses > (model) computer_action > (schema) > (variant) 3", - "(resource) responses > (model) computer_action > (schema) > (variant) 4", - "(resource) responses > (model) computer_action > (schema) > (variant) 5", - "(resource) responses > (model) computer_action > (schema) > (variant) 6", - "(resource) responses > (model) computer_action > (schema) > (variant) 7", - "(resource) responses > (model) computer_action > (schema) > (variant) 8" - ] - }, - "(resource) responses > (model) computer_action_list > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerActionList", - "docstring": "Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n", - "ident": "ComputerActionList", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ComputerActionList", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ComputerAction", - "$ref": "(resource) responses > (model) computer_action > (schema)" - } - }, - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 0", - "(resource) responses > (model) computer_action > (schema) > (variant) 1", - "(resource) responses > (model) computer_action > (schema) > (variant) 2", - "(resource) responses > (model) computer_action > (schema) > (variant) 3", - "(resource) responses > (model) computer_action > (schema) > (variant) 4", - "(resource) responses > (model) computer_action > (schema) > (variant) 5", - "(resource) responses > (model) computer_action > (schema) > (variant) 6", - "(resource) responses > (model) computer_action > (schema) > (variant) 7", - "(resource) responses > (model) computer_action > (schema) > (variant) 8" - ] - }, - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerScreenshotImage/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerScreenshotImage/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "computer_screenshot" - } - ] - }, - "default": "computer_screenshot", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerScreenshotImage/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "The identifier of an uploaded file that contains the screenshot.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) image_url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerScreenshotImage/properties/image_url", - "deprecated": false, - "key": "image_url", - "docstring": "The URL of the screenshot image.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComputerScreenshotImage", - "docstring": "A computer screenshot image used with the computer use tool.\n", - "ident": "ResponseComputerToolCallOutputScreenshot", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "file_id" - }, - { - "ident": "image_url" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) type", - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) file_id", - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) image_url" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "computer_call_output" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) acknowledged_safety_checks > (items) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallSafetyCheckParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The ID of the pending safety check.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) acknowledged_safety_checks > (items) > (property) code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallSafetyCheckParam/properties/code", - "deprecated": false, - "key": "code", - "docstring": "The type of the pending safety check.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) acknowledged_safety_checks > (items) > (property) message": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerCallSafetyCheckParam/properties/message", - "deprecated": false, - "key": "message", - "docstring": "Details about the pending safety check.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 5 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/action/oneOf/0", - "docstring": "Action type \"search\" - Performs a web search query.\n", - "ident": "Search", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "queries" - }, - { - "ident": "query" - }, - { - "ident": "sources" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) queries", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) query", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) sources" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/action/oneOf/1", - "docstring": "Action type \"open_page\" - Opens a specific URL from search results.\n", - "ident": "OpenPage", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "url" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 1 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 1 > (property) url" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/WebSearchToolCall/properties/action/oneOf/2", - "docstring": "Action type \"find_in_page\": Searches for a pattern within a loaded page.\n", - "ident": "FindInPage", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "pattern" - }, - { - "ident": "type" - }, - { - "ident": "url" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2 > (property) pattern", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2 > (property) url" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "searching" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) status > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCaller/oneOf/0", - "ident": "Direct", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCaller/oneOf/1", - "ident": "Program", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 1 > (property) caller_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/output/oneOf/0", - "docstring": "A JSON string of the output of the function tool call.", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/output/oneOf/1", - "docstring": "An array of content outputs (text, image, file) for the function tool call.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/output/oneOf/1", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionCallOutputItemParam/properties/output/oneOf/1/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ResponseInputTextContent", - "$ref": "(resource) responses > (model) response_input_text_content > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputImageContent", - "$ref": "(resource) responses > (model) response_input_image_content > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputFileContent", - "$ref": "(resource) responses > (model) response_input_file_content > (schema)" - } - ] - } - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 1 > (items) > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 1 > (items) > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 1 > (items) > (variant) 2" - ] - }, - "(resource) responses > (model) response_input_text_content > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputTextContentParam", - "docstring": "A text input to the model.", - "ident": "ResponseInputTextContent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - }, - { - "ident": "prompt_cache_breakpoint" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_text_content > (schema) > (property) text", - "(resource) responses > (model) response_input_text_content > (schema) > (property) type", - "(resource) responses > (model) response_input_text_content > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) responses > (model) response_input_image_content > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputImageContentParamAutoParam", - "docstring": "An image input to the model. Learn about [image inputs](/api/docs/guides/images-vision)", - "ident": "ResponseInputImageContent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "detail" - }, - { - "ident": "file_id" - }, - { - "ident": "image_url" - }, - { - "ident": "prompt_cache_breakpoint" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_image_content > (schema) > (property) type", - "(resource) responses > (model) response_input_image_content > (schema) > (property) detail", - "(resource) responses > (model) response_input_image_content > (schema) > (property) file_id", - "(resource) responses > (model) response_input_image_content > (schema) > (property) image_url", - "(resource) responses > (model) response_input_image_content > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) responses > (model) response_input_file_content > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputFileContentParam", - "docstring": "A file input to the model.", - "ident": "ResponseInputFileContent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "detail" - }, - { - "ident": "file_data" - }, - { - "ident": "file_id" - }, - { - "ident": "file_url" - }, - { - "ident": "filename" - }, - { - "ident": "prompt_cache_breakpoint" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_file_content > (schema) > (property) type", - "(resource) responses > (model) response_input_file_content > (schema) > (property) detail", - "(resource) responses > (model) response_input_file_content > (schema) > (property) file_data", - "(resource) responses > (model) response_input_file_content > (schema) > (property) file_id", - "(resource) responses > (model) response_input_file_content > (schema) > (property) file_url", - "(resource) responses > (model) response_input_file_content > (schema) > (property) filename", - "(resource) responses > (model) response_input_file_content > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function_call_output" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/0", - "ident": "Direct", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/1", - "ident": "Program", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 1 > (property) caller_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "tool_search_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) execution > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "server" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) execution > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 9 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/0", - "docstring": "Defines a function in your own code the model can choose to call. Learn more about [function calling](/api/docs/guides/function-calling).", - "ident": "Function", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "output_schema" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) parameters", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) strict", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) output_schema" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/1", - "docstring": "A tool that searches for relevant content from uploaded files. Learn more about the [file search tool](/api/docs/guides/tools-file-search).", - "ident": "FileSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "vector_store_ids" - }, - { - "ident": "filters" - }, - { - "ident": "max_num_results" - }, - { - "ident": "ranking_options" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) vector_store_ids", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) filters", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) max_num_results", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/2", - "docstring": "A tool that controls a virtual computer. Learn more about the [computer tool](/api/docs/guides/tools-computer-use).", - "ident": "Computer", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/3", - "docstring": "A tool that controls a virtual computer. Learn more about the [computer tool](/api/docs/guides/tools-computer-use).", - "ident": "ComputerUsePreview", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "display_height" - }, - { - "ident": "display_width" - }, - { - "ident": "environment" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) display_height", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) display_width", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/4", - "docstring": "Search the Internet for sources related to the prompt. Learn more about the\n[web search tool](/api/docs/guides/tools-web-search).\n", - "ident": "WebSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "external_web_access" - }, - { - "ident": "filters" - }, - { - "ident": "search_context_size" - }, - { - "ident": "user_location" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) external_web_access", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) filters", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) search_context_size", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/5", - "docstring": "Give the model access to additional tools via remote Model Context Protocol\n(MCP) servers. [Learn more about MCP](/api/docs/guides/tools-connectors-mcp).\n", - "ident": "Mcp", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "server_label" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "allowed_tools" - }, - { - "ident": "authorization" - }, - { - "ident": "connector_id" - }, - { - "ident": "defer_loading" - }, - { - "ident": "headers" - }, - { - "ident": "require_approval" - }, - { - "ident": "server_description" - }, - { - "ident": "server_url" - }, - { - "ident": "tunnel_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) server_label", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) authorization", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) headers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) server_description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) server_url", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) tunnel_id" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/6", - "docstring": "A tool that runs Python code to help generate a response to a prompt.\n", - "ident": "CodeInterpreter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "container" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) allowed_callers" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 7": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/7", - "ident": "ProgrammaticToolCalling", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 7 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/8", - "docstring": "A tool that generates images using the GPT image models.\n", - "ident": "ImageGeneration", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "action" - }, - { - "ident": "background" - }, - { - "ident": "input_fidelity" - }, - { - "ident": "input_image_mask" - }, - { - "ident": "model" - }, - { - "ident": "moderation" - }, - { - "ident": "output_compression" - }, - { - "ident": "output_format" - }, - { - "ident": "partial_images" - }, - { - "ident": "quality" - }, - { - "ident": "size" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) action", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) background", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_fidelity", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_image_mask", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) moderation", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_compression", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_format", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) partial_images", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 9": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/9", - "docstring": "A tool that allows the model to execute shell commands in a local environment.", - "ident": "LocalShell", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 9 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/10", - "docstring": "A tool that allows the model to execute shell commands.", - "ident": "Shell", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "environment" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) environment" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/11", - "docstring": "A custom tool that processes input using a specified format. Learn more about [custom tools](/api/docs/guides/function-calling#custom-tools)", - "ident": "Custom", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "format" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) format" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/12", - "docstring": "Groups function/custom tools under a shared namespace.", - "ident": "Namespace", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "description" - }, - { - "ident": "name" - }, - { - "ident": "tools" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/13", - "docstring": "Hosted or BYOT tool search configuration for deferred tools.", - "ident": "ToolSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "description" - }, - { - "ident": "execution" - }, - { - "ident": "parameters" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) execution", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) parameters" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/14", - "docstring": "This tool searches the web for relevant results to use in a response. Learn more about the [web search tool](/api/docs/guides/tools-web-search).", - "ident": "WebSearchPreview", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "search_content_types" - }, - { - "ident": "search_context_size" - }, - { - "ident": "user_location" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_content_types", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_context_size", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/15", - "docstring": "Allows the assistant to create, delete, or update files using unified diffs.", - "ident": "ApplyPatch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "allowed_callers" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) allowed_callers" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "tool_search_output" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) execution > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "server" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) execution > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/0", - "docstring": "Defines a function in your own code the model can choose to call. Learn more about [function calling](/api/docs/guides/function-calling).", - "ident": "Function", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "output_schema" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) parameters", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) strict", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) output_schema" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/1", - "docstring": "A tool that searches for relevant content from uploaded files. Learn more about the [file search tool](/api/docs/guides/tools-file-search).", - "ident": "FileSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "vector_store_ids" - }, - { - "ident": "filters" - }, - { - "ident": "max_num_results" - }, - { - "ident": "ranking_options" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) vector_store_ids", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) filters", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) max_num_results", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/2", - "docstring": "A tool that controls a virtual computer. Learn more about the [computer tool](/api/docs/guides/tools-computer-use).", - "ident": "Computer", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/3", - "docstring": "A tool that controls a virtual computer. Learn more about the [computer tool](/api/docs/guides/tools-computer-use).", - "ident": "ComputerUsePreview", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "display_height" - }, - { - "ident": "display_width" - }, - { - "ident": "environment" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) display_height", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) display_width", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/4", - "docstring": "Search the Internet for sources related to the prompt. Learn more about the\n[web search tool](/api/docs/guides/tools-web-search).\n", - "ident": "WebSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "external_web_access" - }, - { - "ident": "filters" - }, - { - "ident": "search_context_size" - }, - { - "ident": "user_location" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) external_web_access", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) filters", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) search_context_size", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/5", - "docstring": "Give the model access to additional tools via remote Model Context Protocol\n(MCP) servers. [Learn more about MCP](/api/docs/guides/tools-connectors-mcp).\n", - "ident": "Mcp", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "server_label" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "allowed_tools" - }, - { - "ident": "authorization" - }, - { - "ident": "connector_id" - }, - { - "ident": "defer_loading" - }, - { - "ident": "headers" - }, - { - "ident": "require_approval" - }, - { - "ident": "server_description" - }, - { - "ident": "server_url" - }, - { - "ident": "tunnel_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) server_label", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) authorization", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) headers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) server_description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) server_url", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) tunnel_id" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/6", - "docstring": "A tool that runs Python code to help generate a response to a prompt.\n", - "ident": "CodeInterpreter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "container" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) allowed_callers" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 7": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/7", - "ident": "ProgrammaticToolCalling", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 7 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/8", - "docstring": "A tool that generates images using the GPT image models.\n", - "ident": "ImageGeneration", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "action" - }, - { - "ident": "background" - }, - { - "ident": "input_fidelity" - }, - { - "ident": "input_image_mask" - }, - { - "ident": "model" - }, - { - "ident": "moderation" - }, - { - "ident": "output_compression" - }, - { - "ident": "output_format" - }, - { - "ident": "partial_images" - }, - { - "ident": "quality" - }, - { - "ident": "size" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) action", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) background", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_fidelity", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_image_mask", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) moderation", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_compression", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_format", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) partial_images", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 9": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/9", - "docstring": "A tool that allows the model to execute shell commands in a local environment.", - "ident": "LocalShell", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 9 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/10", - "docstring": "A tool that allows the model to execute shell commands.", - "ident": "Shell", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "environment" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) environment" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/11", - "docstring": "A custom tool that processes input using a specified format. Learn more about [custom tools](/api/docs/guides/function-calling#custom-tools)", - "ident": "Custom", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "format" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) format" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/12", - "docstring": "Groups function/custom tools under a shared namespace.", - "ident": "Namespace", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "description" - }, - { - "ident": "name" - }, - { - "ident": "tools" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/13", - "docstring": "Hosted or BYOT tool search configuration for deferred tools.", - "ident": "ToolSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "description" - }, - { - "ident": "execution" - }, - { - "ident": "parameters" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) execution", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) parameters" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/14", - "docstring": "This tool searches the web for relevant results to use in a response. Learn more about the [web search tool](/api/docs/guides/tools-web-search).", - "ident": "WebSearchPreview", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "search_content_types" - }, - { - "ident": "search_context_size" - }, - { - "ident": "user_location" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_content_types", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_context_size", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Tool/oneOf/15", - "docstring": "Allows the assistant to create, delete, or update files using unified diffs.", - "ident": "ApplyPatch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "allowed_callers" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) allowed_callers" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "additional_tools" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "configuration_update" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 12 > (property) reasoning > (property) effort": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ResponseConfigurationUpdateItemParam/properties/reasoning/properties/effort", - "deprecated": false, - "key": "effort", - "docstring": "The reasoning effort to use for subsequent responses until another\nconfiguration update replaces it.\n", - "type": { - "kind": "HttpTypeReference", - "ident": "ReasoningEffort", - "$ref": "(resource) $shared > (model) reasoning_effort > (schema)" - }, - "default": "medium", - "optional": true, - "nullable": true, - "modelImplicit": false, - "schemaType": "enum", - "modelPath": "(resource) $shared > (model) reasoning_effort", - "childrenParentSchema": "enum", - "children": [ - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 0", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 1", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 2", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 3", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 4", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 5", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 6" - ] - }, - "(resource) conversations > (model) summary_text_content > (schema) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/SummaryTextContent/properties/text", - "deprecated": false, - "key": "text", - "docstring": "A summary of the reasoning output from the model so far.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) conversations > (model) summary_text_content > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/SummaryTextContent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the object. Always `summary_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/SummaryTextContent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "summary_text" - } - ] - }, - "default": "summary_text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) conversations > (model) summary_text_content > (schema) > (property) type > (member) 0" - ] - }, - "(resource) conversations > (model) summary_text_content > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/SummaryTextContent", - "docstring": "A summary text from the model.", - "ident": "SummaryTextContent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) conversations > (model) summary_text_content > (schema) > (property) text", - "(resource) conversations > (model) summary_text_content > (schema) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "reasoning" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) content > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ReasoningTextContent/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The reasoning text from the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) content > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ReasoningTextContent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the reasoning text. Always `reasoning_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ReasoningTextContent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "reasoning_text" - } - ] - }, - "default": "reasoning_text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) content > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 14 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "compaction" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "generating" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) status > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "image_generation_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) action > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "generate" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) action > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "edit" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) action > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) background > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "transparent" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) background > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "opaque" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) background > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) output_format > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "png" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) output_format > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "webp" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) output_format > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "jpeg" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "max" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) quality > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/size/anyOf/0/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/size/anyOf/0/anyOf/1", - "docstring": "The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenToolCall/properties/size/anyOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "1024x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1024x1536" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1536x1024" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 1 > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 1 > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 1 > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/outputs/anyOf/0/items/oneOf/0", - "docstring": "The logs output from the code interpreter.", - "ident": "Logs", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "logs" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 0 > (property) logs", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CodeInterpreterToolCall/properties/outputs/anyOf/0/items/oneOf/1", - "docstring": "The image output from the code interpreter.", - "ident": "Image", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "url" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 1 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 1 > (property) url" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "interpreting" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) status > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "code_interpreter_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) command": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellExecAction/properties/command", - "deprecated": false, - "key": "command", - "docstring": "The command to run.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LocalShellExecAction/properties/command", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) env": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellExecAction/properties/env", - "deprecated": false, - "key": "env", - "docstring": "Environment variables to set for the command.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/LocalShellExecAction/properties/env", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeString" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellExecAction/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the local shell action. Always `exec`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LocalShellExecAction/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "exec" - } - ] - }, - "default": "exec", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) timeout_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellExecAction/properties/timeout_ms", - "deprecated": false, - "key": "timeout_ms", - "docstring": "Optional timeout in milliseconds for the command.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": true, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) user": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellExecAction/properties/user", - "deprecated": false, - "key": "user", - "docstring": "Optional user to run the command as.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) working_directory": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellExecAction/properties/working_directory", - "deprecated": false, - "key": "working_directory", - "docstring": "Optional working directory to run the command in.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "local_shell_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "local_shell_call_output" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 18 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) action > (property) commands": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellActionParam/properties/commands", - "deprecated": false, - "key": "commands", - "docstring": "Ordered shell commands for the execution environment to run.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionShellActionParam/properties/commands", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) action > (property) max_output_length": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellActionParam/properties/max_output_length", - "deprecated": false, - "key": "max_output_length", - "docstring": "Maximum number of UTF-8 characters to capture from combined stdout and stderr output.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": true, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) action > (property) timeout_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellActionParam/properties/timeout_ms", - "deprecated": false, - "key": "timeout_ms", - "docstring": "Maximum wall-clock time in milliseconds to allow the shell commands to run.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": true, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "shell_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/0", - "ident": "Direct", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/1", - "ident": "Program", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 1 > (property) caller_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) environment > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "LocalEnvironment", - "$ref": "(resource) responses > (model) local_environment > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) local_environment > (schema) > (property) type", - "(resource) responses > (model) local_environment > (schema) > (property) skills" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) environment > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerReference", - "$ref": "(resource) responses > (model) container_reference > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_reference > (schema) > (property) container_id", - "(resource) responses > (model) container_reference > (schema) > (property) type" - ] - }, - "(resource) responses > (model) local_environment > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LocalEnvironmentParam", - "ident": "LocalEnvironment", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "skills" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) local_environment > (schema) > (property) type", - "(resource) responses > (model) local_environment > (schema) > (property) skills" - ] - }, - "(resource) responses > (model) container_reference > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ContainerReferenceParam", - "ident": "ContainerReference", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "container_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_reference > (schema) > (property) container_id", - "(resource) responses > (model) container_reference > (schema) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputContentParam/properties/outcome", - "deprecated": false, - "key": "outcome", - "docstring": "The exit or timeout outcome associated with this shell call.", - "title": "Shell call outcome", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallOutputContentParam/properties/outcome", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "exit_code" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 0", - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 1" - ] - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) stderr": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputContentParam/properties/stderr", - "deprecated": false, - "key": "stderr", - "docstring": "Captured stderr output for the shell call.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 10485760 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) stdout": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputContentParam/properties/stdout", - "deprecated": false, - "key": "stdout", - "docstring": "Captured stdout output for the shell call.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 10485760 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/FunctionShellCallOutputContentParam", - "docstring": "Captured stdout and stderr for a portion of a shell tool call output.", - "ident": "ResponseFunctionShellCallOutputContent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "outcome" - }, - { - "ident": "stderr" - }, - { - "ident": "stdout" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome", - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) stderr", - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) stdout" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "shell_call_output" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/0", - "ident": "Direct", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/1", - "ident": "Program", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 1 > (property) caller_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ApplyPatchOperationParam/oneOf/0", - "docstring": "Instruction for creating a new file via the apply_patch tool.", - "ident": "CreateFile", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "diff" - }, - { - "ident": "path" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0 > (property) diff", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0 > (property) path", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ApplyPatchOperationParam/oneOf/1", - "docstring": "Instruction for deleting an existing file via the apply_patch tool.", - "ident": "DeleteFile", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "path" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 1 > (property) path", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ApplyPatchOperationParam/oneOf/2", - "docstring": "Instruction for updating an existing file via the apply_patch tool.", - "ident": "UpdateFile", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "diff" - }, - { - "ident": "path" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2 > (property) diff", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2 > (property) path", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "apply_patch_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/0", - "ident": "Direct", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/1", - "ident": "Program", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 1 > (property) caller_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "apply_patch_call_output" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/0", - "ident": "Direct", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/1", - "ident": "Program", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 1 > (property) caller_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools > (items) > (property) input_schema": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPListToolsTool/properties/input_schema", - "deprecated": false, - "key": "input_schema", - "docstring": "The JSON schema describing the tool's input.\n", - "type": { - "kind": "HttpTypeUnknown" - }, - "optional": false, - "nullable": false, - "schemaType": "unknown", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools > (items) > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPListToolsTool/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the tool.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools > (items) > (property) annotations": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPListToolsTool/properties/annotations", - "deprecated": false, - "key": "annotations", - "docstring": "Additional annotations about the tool.\n", - "type": { - "kind": "HttpTypeUnknown" - }, - "optional": true, - "nullable": true, - "schemaType": "unknown", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) tools > (items) > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPListToolsTool/properties/description", - "deprecated": false, - "key": "description", - "docstring": "The description of the tool.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 23 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp_list_tools" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 24 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp_approval_request" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 25 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp_approval_response" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp_call" - } - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPToolCallError/oneOf/0", - "ident": "McpProtocolError", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "code" - }, - { - "ident": "message" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0 > (property) code", - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0 > (property) message", - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPToolCallError/oneOf/1", - "ident": "McpToolExecutionError", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 1 > (property) content", - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPToolCallError/oneOf/2", - "ident": "HTTPError", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "code" - }, - { - "ident": "message" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2 > (property) code", - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2 > (property) message", - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2 > (property) type" - ] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPToolCallError", - "ident": "McpToolCallError", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPToolCallError", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "code" - }, - { - "ident": "message" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "code" - }, - { - "ident": "message" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0", - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 1", - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in_progress" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "calling" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 26 > (property) status > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "failed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/output/oneOf/0", - "docstring": "A string of the output of the custom tool call.\n", - "ident": "StringOutput", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/output/oneOf/1", - "docstring": "Text, image, or file output of the custom tool call.\n", - "ident": "OutputContentList", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/output/oneOf/1", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolCallOutput/properties/output/oneOf/1/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ResponseInputText", - "$ref": "(resource) responses > (model) response_input_text > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputImage", - "$ref": "(resource) responses > (model) response_input_image > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputFile", - "$ref": "(resource) responses > (model) response_input_file > (schema)" - } - ] - } - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 1 > (items) > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 1 > (items) > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 1 > (items) > (variant) 2" - ] - }, - "(resource) responses > (model) response_input_text > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputTextContent", - "docstring": "A text input to the model.", - "ident": "ResponseInputText", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - }, - { - "ident": "prompt_cache_breakpoint" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_text > (schema) > (property) text", - "(resource) responses > (model) response_input_text > (schema) > (property) type", - "(resource) responses > (model) response_input_text > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) responses > (model) response_input_image > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputImageContent", - "docstring": "An image input to the model. Learn about [image inputs](/api/docs/guides/images-vision).", - "ident": "ResponseInputImage", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "detail" - }, - { - "ident": "type" - }, - { - "ident": "file_id" - }, - { - "ident": "image_url" - }, - { - "ident": "prompt_cache_breakpoint" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_image > (schema) > (property) detail", - "(resource) responses > (model) response_input_image > (schema) > (property) type", - "(resource) responses > (model) response_input_image > (schema) > (property) file_id", - "(resource) responses > (model) response_input_image > (schema) > (property) image_url", - "(resource) responses > (model) response_input_image > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) responses > (model) response_input_file > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputFileContent", - "docstring": "A file input to the model.", - "ident": "ResponseInputFile", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "detail" - }, - { - "ident": "file_data" - }, - { - "ident": "file_id" - }, - { - "ident": "file_url" - }, - { - "ident": "filename" - }, - { - "ident": "prompt_cache_breakpoint" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_file > (schema) > (property) type", - "(resource) responses > (model) response_input_file > (schema) > (property) detail", - "(resource) responses > (model) response_input_file > (schema) > (property) file_data", - "(resource) responses > (model) response_input_file > (schema) > (property) file_id", - "(resource) responses > (model) response_input_file > (schema) > (property) file_url", - "(resource) responses > (model) response_input_file > (schema) > (property) filename", - "(resource) responses > (model) response_input_file > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "custom_tool_call_output" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/0", - "ident": "Direct", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCallerParam/oneOf/1", - "ident": "Program", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 1 > (property) caller_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "custom_tool_call" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCaller/oneOf/0", - "ident": "Direct", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ToolCallCaller/oneOf/1", - "ident": "Program", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "caller_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 1 > (property) caller_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 29 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "compaction_trigger" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 30 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "item_reference" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 31 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 32 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program_output" - } - }, - "(resource) responses > (model) response_input_content > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InputContent", - "docstring": "A text input to the model.", - "ident": "ResponseInputContent", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputContent", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ResponseInputText", - "$ref": "(resource) responses > (model) response_input_text > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputImage", - "$ref": "(resource) responses > (model) response_input_image > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ResponseInputFile", - "$ref": "(resource) responses > (model) response_input_file > (schema)" - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) response_input_content > (schema) > (variant) 0", - "(resource) responses > (model) response_input_content > (schema) > (variant) 1", - "(resource) responses > (model) response_input_content > (schema) > (variant) 2" - ] - }, - "(resource) responses > (model) response_input_text > (schema) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputTextContent/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The text input to the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_text > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputTextContent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the input item. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputTextContent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_text > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_input_text > (schema) > (property) prompt_cache_breakpoint": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputTextContent/properties/prompt_cache_breakpoint", - "deprecated": false, - "key": "prompt_cache_breakpoint", - "docstring": "Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.", - "title": "Prompt cache breakpoint", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "mode" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_text > (schema) > (property) prompt_cache_breakpoint > (property) mode" - ] - }, - "(resource) responses > (model) response_input_image > (schema) > (property) detail": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContent/properties/detail", - "deprecated": false, - "key": "detail", - "docstring": "The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.", - "type": { - "kind": "HttpTypeReference", - "ident": "ImageDetail", - "$ref": "(resource) responses > (model) image_detail > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "enum", - "modelPath": "(resource) responses > (model) image_detail", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) image_detail > (schema) > (member) 0", - "(resource) responses > (model) image_detail > (schema) > (member) 1", - "(resource) responses > (model) image_detail > (schema) > (member) 2", - "(resource) responses > (model) image_detail > (schema) > (member) 3" - ] - }, - "(resource) responses > (model) response_input_image > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the input item. Always `input_image`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputImageContent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_image" - } - ] - }, - "default": "input_image", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_image > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_input_image > (schema) > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContent/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "The ID of the file to be sent to the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_image > (schema) > (property) image_url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContent/properties/image_url", - "deprecated": false, - "key": "image_url", - "docstring": "The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_image > (schema) > (property) prompt_cache_breakpoint": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContent/properties/prompt_cache_breakpoint", - "deprecated": false, - "key": "prompt_cache_breakpoint", - "docstring": "Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.", - "title": "Prompt cache breakpoint", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "mode" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_image > (schema) > (property) prompt_cache_breakpoint > (property) mode" - ] - }, - "(resource) responses > (model) response_input_file > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the input item. Always `input_file`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputFileContent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_file" - } - ] - }, - "default": "input_file", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_file > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_input_file > (schema) > (property) detail": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContent/properties/detail", - "deprecated": false, - "key": "detail", - "docstring": "The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputFileContent/properties/detail", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_file > (schema) > (property) detail > (member) 0", - "(resource) responses > (model) response_input_file > (schema) > (property) detail > (member) 1", - "(resource) responses > (model) response_input_file > (schema) > (property) detail > (member) 2" - ] - }, - "(resource) responses > (model) response_input_file > (schema) > (property) file_data": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContent/properties/file_data", - "deprecated": false, - "key": "file_data", - "docstring": "The content of the file to be sent to the model.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_file > (schema) > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContent/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "The ID of the file to be sent to the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_file > (schema) > (property) file_url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContent/properties/file_url", - "deprecated": false, - "key": "file_url", - "docstring": "The URL of the file to be sent to the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_file > (schema) > (property) filename": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContent/properties/filename", - "deprecated": false, - "key": "filename", - "docstring": "The name of the file to be sent to the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_file > (schema) > (property) prompt_cache_breakpoint": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContent/properties/prompt_cache_breakpoint", - "deprecated": false, - "key": "prompt_cache_breakpoint", - "docstring": "Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.", - "title": "Prompt cache breakpoint", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "mode" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_file > (schema) > (property) prompt_cache_breakpoint > (property) mode" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputTextContent/properties/annotations", - "deprecated": false, - "key": "annotations", - "docstring": "The annotations of the text output.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/OutputTextContent/properties/annotations", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/OutputTextContent/properties/annotations/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "file_id" - }, - { - "ident": "filename" - }, - { - "ident": "index" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "end_index" - }, - { - "ident": "start_index" - }, - { - "ident": "title" - }, - { - "ident": "type" - }, - { - "ident": "url" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "container_id" - }, - { - "ident": "end_index" - }, - { - "ident": "file_id" - }, - { - "ident": "filename" - }, - { - "ident": "start_index" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "file_id" - }, - { - "ident": "index" - }, - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputTextContent/properties/logprobs", - "deprecated": false, - "key": "logprobs", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/OutputTextContent/properties/logprobs", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "token" - }, - { - "ident": "bytes" - }, - { - "ident": "logprob" - }, - { - "ident": "top_logprobs" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) token", - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) bytes", - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) logprob", - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) top_logprobs" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputTextContent/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The text output from the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/OutputTextContent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the output text. Always `output_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/OutputTextContent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "output_text" - } - ] - }, - "default": "output_text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_output_refusal > (schema) > (property) refusal": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/RefusalContent/properties/refusal", - "deprecated": false, - "key": "refusal", - "docstring": "The refusal explanation from the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_refusal > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/RefusalContent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the refusal. Always `refusal`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/RefusalContent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "refusal" - } - ] - }, - "default": "refusal", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_refusal > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) attributes > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/VectorStoreFileAttributes/anyOf/0/additionalProperties/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) attributes > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/VectorStoreFileAttributes/anyOf/0/additionalProperties/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeNumber" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 3 > (property) results > (items) > (property) attributes > (items) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/VectorStoreFileAttributes/anyOf/0/additionalProperties/oneOf/2", - "ident": "UnionMember2", - "type": { - "kind": "HttpTypeBoolean" - }, - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ClickParam/properties/button", - "deprecated": false, - "key": "button", - "docstring": "Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ClickParam/properties/button", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "left" - }, - { - "kind": "HttpTypeLiteral", - "literal": "right" - }, - { - "kind": "HttpTypeLiteral", - "literal": "wheel" - }, - { - "kind": "HttpTypeLiteral", - "literal": "back" - }, - { - "kind": "HttpTypeLiteral", - "literal": "forward" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 0", - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 1", - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 2", - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 3", - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 4" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ClickParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a click action, this property is always `click`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ClickParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "click" - } - ] - }, - "default": "click", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) x": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ClickParam/properties/x", - "deprecated": false, - "key": "x", - "docstring": "The x-coordinate where the click occurred.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) y": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ClickParam/properties/y", - "deprecated": false, - "key": "y", - "docstring": "The y-coordinate where the click occurred.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) keys": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ClickParam/properties/keys", - "deprecated": false, - "key": "keys", - "docstring": "The keys being held while clicking.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ClickParam/properties/keys", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) keys": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DoubleClickAction/properties/keys", - "deprecated": false, - "key": "keys", - "docstring": "The keys being held while double-clicking.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/DoubleClickAction/properties/keys", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": false, - "nullable": true, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DoubleClickAction/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a double click action, this property is always set to `double_click`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DoubleClickAction/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "double_click" - } - ] - }, - "default": "double_click", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) x": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DoubleClickAction/properties/x", - "deprecated": false, - "key": "x", - "docstring": "The x-coordinate where the double click occurred.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) y": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DoubleClickAction/properties/y", - "deprecated": false, - "key": "y", - "docstring": "The y-coordinate where the double click occurred.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) path": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DragParam/properties/path", - "deprecated": false, - "key": "path", - "docstring": "An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg\n```\n[\n { x: 100, y: 200 },\n { x: 200, y: 300 }\n]\n```", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/DragParam/properties/path", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "x" - }, - { - "ident": "y" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) path > (items) > (property) x", - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) path > (items) > (property) y" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DragParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a drag action, this property is always set to `drag`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DragParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "drag" - } - ] - }, - "default": "drag", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) keys": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DragParam/properties/keys", - "deprecated": false, - "key": "keys", - "docstring": "The keys being held while dragging the mouse.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/DragParam/properties/keys", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 3 > (property) keys": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/KeyPressAction/properties/keys", - "deprecated": false, - "key": "keys", - "docstring": "The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/KeyPressAction/properties/keys", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 3 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/KeyPressAction/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a keypress action, this property is always set to `keypress`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/KeyPressAction/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "keypress" - } - ] - }, - "default": "keypress", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 3 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MoveParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a move action, this property is always set to `move`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MoveParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "move" - } - ] - }, - "default": "move", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) x": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MoveParam/properties/x", - "deprecated": false, - "key": "x", - "docstring": "The x-coordinate to move to.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) y": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MoveParam/properties/y", - "deprecated": false, - "key": "y", - "docstring": "The y-coordinate to move to.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) keys": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MoveParam/properties/keys", - "deprecated": false, - "key": "keys", - "docstring": "The keys being held while moving the mouse.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MoveParam/properties/keys", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 5 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ScreenshotParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a screenshot action, this property is always set to `screenshot`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ScreenshotParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "screenshot" - } - ] - }, - "default": "screenshot", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 5 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) scroll_x": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ScrollParam/properties/scroll_x", - "deprecated": false, - "key": "scroll_x", - "docstring": "The horizontal scroll distance.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) scroll_y": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ScrollParam/properties/scroll_y", - "deprecated": false, - "key": "scroll_y", - "docstring": "The vertical scroll distance.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ScrollParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a scroll action, this property is always set to `scroll`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ScrollParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "scroll" - } - ] - }, - "default": "scroll", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) x": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ScrollParam/properties/x", - "deprecated": false, - "key": "x", - "docstring": "The x-coordinate where the scroll occurred.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) y": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ScrollParam/properties/y", - "deprecated": false, - "key": "y", - "docstring": "The y-coordinate where the scroll occurred.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) keys": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ScrollParam/properties/keys", - "deprecated": false, - "key": "keys", - "docstring": "The keys being held while scrolling.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ScrollParam/properties/keys", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 7 > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/TypeParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The text to type.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 7 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/TypeParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a type action, this property is always set to `type`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/TypeParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "type" - } - ] - }, - "default": "type", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 7 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 8 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WaitParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the event type. For a wait action, this property is always set to `wait`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WaitParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "wait" - } - ] - }, - "default": "wait", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) computer_action > (schema) > (variant) 8 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_computer_tool_call_output_screenshot > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "computer_screenshot" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The action type.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "search" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) queries": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/queries", - "deprecated": false, - "key": "queries", - "docstring": "The search queries.\n", - "title": "Search queries", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/queries", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) query": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/query", - "deprecated": true, - "key": "query", - "docstring": "The search query.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) sources": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/sources", - "deprecated": false, - "key": "sources", - "docstring": "The sources used in the search.\n", - "title": "Web search sources", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/sources", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "url" - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) sources > (items) > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) sources > (items) > (property) url" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionOpenPage/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The action type.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchActionOpenPage/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "open_page" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 1 > (property) url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionOpenPage/properties/url", - "deprecated": false, - "key": "url", - "docstring": "The URL opened by the model.\n", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2 > (property) pattern": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionFind/properties/pattern", - "deprecated": false, - "key": "pattern", - "docstring": "The pattern or text to search for within the page.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionFind/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The action type.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchActionFind/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "find_in_page" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2 > (property) url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionFind/properties/url", - "deprecated": false, - "key": "url", - "docstring": "The URL of the page searched for the pattern.\n", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DirectToolCallCaller/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DirectToolCallCaller/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - ] - }, - "default": "direct", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 1 > (property) caller_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCaller/properties/caller_id", - "deprecated": false, - "key": "caller_id", - "docstring": "The call ID of the program item that produced this tool call.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCaller/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramToolCallCaller/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program" - } - ] - }, - "default": "program", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 1 > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputTextContent", - "$ref": "(resource) responses > (model) response_input_text_content > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_text_content > (schema) > (property) text", - "(resource) responses > (model) response_input_text_content > (schema) > (property) type", - "(resource) responses > (model) response_input_text_content > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 1 > (items) > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputImageContent", - "$ref": "(resource) responses > (model) response_input_image_content > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_image_content > (schema) > (property) type", - "(resource) responses > (model) response_input_image_content > (schema) > (property) detail", - "(resource) responses > (model) response_input_image_content > (schema) > (property) file_id", - "(resource) responses > (model) response_input_image_content > (schema) > (property) image_url", - "(resource) responses > (model) response_input_image_content > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) output > (variant) 1 > (items) > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputFileContent", - "$ref": "(resource) responses > (model) response_input_file_content > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_file_content > (schema) > (property) type", - "(resource) responses > (model) response_input_file_content > (schema) > (property) detail", - "(resource) responses > (model) response_input_file_content > (schema) > (property) file_data", - "(resource) responses > (model) response_input_file_content > (schema) > (property) file_id", - "(resource) responses > (model) response_input_file_content > (schema) > (property) file_url", - "(resource) responses > (model) response_input_file_content > (schema) > (property) filename", - "(resource) responses > (model) response_input_file_content > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) responses > (model) response_input_text_content > (schema) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputTextContentParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The text input to the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 10485760 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_text_content > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputTextContentParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the input item. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputTextContentParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_text_content > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_input_text_content > (schema) > (property) prompt_cache_breakpoint": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputTextContentParam/properties/prompt_cache_breakpoint", - "deprecated": false, - "key": "prompt_cache_breakpoint", - "docstring": "Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.", - "title": "Prompt cache breakpoint", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "mode" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_text_content > (schema) > (property) prompt_cache_breakpoint > (property) mode" - ] - }, - "(resource) responses > (model) response_input_image_content > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContentParamAutoParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the input item. Always `input_image`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputImageContentParamAutoParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_image" - } - ] - }, - "default": "input_image", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_image_content > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_input_image_content > (schema) > (property) detail": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContentParamAutoParam/properties/detail", - "deprecated": false, - "key": "detail", - "docstring": "The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.", - "type": { - "kind": "HttpTypeReference", - "ident": "ImageDetail", - "$ref": "(resource) responses > (model) image_detail > (schema)" - }, - "optional": true, - "nullable": true, - "modelImplicit": false, - "schemaType": "enum", - "modelPath": "(resource) responses > (model) image_detail", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) image_detail > (schema) > (member) 0", - "(resource) responses > (model) image_detail > (schema) > (member) 1", - "(resource) responses > (model) image_detail > (schema) > (member) 2", - "(resource) responses > (model) image_detail > (schema) > (member) 3" - ] - }, - "(resource) responses > (model) response_input_image_content > (schema) > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContentParamAutoParam/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "The ID of the file to be sent to the model.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "file-123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_image_content > (schema) > (property) image_url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContentParamAutoParam/properties/image_url", - "deprecated": false, - "key": "image_url", - "docstring": "The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 20971520, - "format": "uri" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_image_content > (schema) > (property) prompt_cache_breakpoint": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputImageContentParamAutoParam/properties/prompt_cache_breakpoint", - "deprecated": false, - "key": "prompt_cache_breakpoint", - "docstring": "Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.", - "title": "Prompt cache breakpoint", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "mode" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_image_content > (schema) > (property) prompt_cache_breakpoint > (property) mode" - ] - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContentParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the input item. Always `input_file`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputFileContentParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_file" - } - ] - }, - "default": "input_file", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_file_content > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) detail": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContentParam/properties/detail", - "deprecated": false, - "key": "detail", - "docstring": "The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InputFileContentParam/properties/detail", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_file_content > (schema) > (property) detail > (member) 0", - "(resource) responses > (model) response_input_file_content > (schema) > (property) detail > (member) 1", - "(resource) responses > (model) response_input_file_content > (schema) > (property) detail > (member) 2" - ] - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) file_data": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContentParam/properties/file_data", - "deprecated": false, - "key": "file_data", - "docstring": "The base64-encoded data of the file to be sent to the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 73400320 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContentParam/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "The ID of the file to be sent to the model.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "file-123" - ], - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) file_url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContentParam/properties/file_url", - "deprecated": false, - "key": "file_url", - "docstring": "The URL of the file to be sent to the model.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) filename": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContentParam/properties/filename", - "deprecated": false, - "key": "filename", - "docstring": "The name of the file to be sent to the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) prompt_cache_breakpoint": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InputFileContentParam/properties/prompt_cache_breakpoint", - "deprecated": false, - "key": "prompt_cache_breakpoint", - "docstring": "Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.", - "title": "Prompt cache breakpoint", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "mode" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_file_content > (schema) > (property) prompt_cache_breakpoint > (property) mode" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `direct`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - ] - }, - "default": "direct", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 1 > (property) caller_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/caller_id", - "deprecated": false, - "key": "caller_id", - "docstring": "The call ID of the program item that produced this tool call.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `program`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program" - } - ] - }, - "default": "program", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the function to call.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/parameters", - "deprecated": false, - "key": "parameters", - "docstring": "A JSON schema object describing the parameters of the function.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/FunctionTool/properties/parameters", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": false, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) strict": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/strict", - "deprecated": false, - "key": "strict", - "docstring": "Whether strict parameter validation is enforced for this function tool.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": false, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the function tool. Always `function`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionTool/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionTool/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/async", - "deprecated": false, - "key": "async", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this function is deferred and loaded via tool search.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/description", - "deprecated": false, - "key": "description", - "docstring": "A description of the function. Used by the model to determine whether or not to call the function.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) output_schema": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/output_schema", - "deprecated": false, - "key": "output_schema", - "docstring": "A JSON schema object describing the JSON value encoded in string outputs for this function.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/FunctionTool/properties/output_schema", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the file search tool. Always `file_search`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FileSearchTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "file_search" - } - ] - }, - "default": "file_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) vector_store_ids": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/vector_store_ids", - "deprecated": false, - "key": "vector_store_ids", - "docstring": "The IDs of the vector stores to search.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FileSearchTool/properties/vector_store_ids", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) filters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/filters", - "deprecated": false, - "key": "filters", - "docstring": "A filter to apply.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FileSearchTool/properties/filters", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ComparisonFilter", - "$ref": "(resource) $shared > (model) comparison_filter > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "CompoundFilter", - "$ref": "(resource) $shared > (model) compound_filter > (schema)" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) filters > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) filters > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) max_num_results": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/max_num_results", - "deprecated": false, - "key": "max_num_results", - "docstring": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/ranking_options", - "deprecated": false, - "key": "ranking_options", - "docstring": "Ranking options for search.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "hybrid_search" - }, - { - "ident": "ranker" - }, - { - "ident": "score_threshold" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) score_threshold" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the computer tool. Always `computer`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "computer" - } - ] - }, - "default": "computer", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) display_height": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/display_height", - "deprecated": false, - "key": "display_height", - "docstring": "The height of the computer display.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) display_width": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/display_width", - "deprecated": false, - "key": "display_width", - "docstring": "The width of the computer display.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/environment", - "deprecated": false, - "key": "environment", - "docstring": "The type of computer environment to control.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/environment", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "windows" - }, - { - "kind": "HttpTypeLiteral", - "literal": "mac" - }, - { - "kind": "HttpTypeLiteral", - "literal": "linux" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ubuntu" - }, - { - "kind": "HttpTypeLiteral", - "literal": "browser" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 4" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the computer use tool. Always `computer_use_preview`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "computer_use_preview" - } - ] - }, - "default": "computer_use_preview", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search" - }, - { - "kind": "HttpTypeLiteral", - "literal": "web_search_2025_08_26" - } - ] - }, - "default": "web_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) type > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) type > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) external_web_access": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/external_web_access", - "deprecated": false, - "key": "external_web_access", - "docstring": "Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.", - "type": { - "kind": "HttpTypeBoolean" - }, - "default": true, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) filters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/filters", - "deprecated": false, - "key": "filters", - "docstring": "Filters for the search.\n", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "allowed_domains" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) filters > (property) allowed_domains" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) search_context_size": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/search_context_size", - "deprecated": false, - "key": "search_context_size", - "docstring": "High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchTool/properties/search_context_size", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "default": "medium", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/user_location", - "deprecated": false, - "key": "user_location", - "docstring": "The approximate location of the user.\n", - "title": "Web search approximate location", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "city" - }, - { - "ident": "country" - }, - { - "ident": "region" - }, - { - "ident": "timezone" - }, - { - "ident": "type" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) city", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) country", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) region", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) timezone", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/server_label", - "deprecated": false, - "key": "server_label", - "docstring": "A label for this MCP server, used to identify it in tool calls.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the MCP tool. Always `mcp`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools", - "deprecated": false, - "key": "allowed_tools", - "docstring": "List of allowed tool names or a filter object.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools", - "types": [ - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools/anyOf/0/oneOf/0", - "elementType": { - "kind": "HttpTypeString" - } - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "read_only" - }, - { - "ident": "tool_names" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) authorization": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/authorization", - "deprecated": false, - "key": "authorization", - "docstring": "An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/connector_id", - "deprecated": false, - "key": "connector_id", - "docstring": "Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](/api/docs/guides/tools-connectors-mcp#connectors).\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/connector_id", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "connector_dropbox" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_gmail" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_googlecalendar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_googledrive" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_microsoftteams" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_outlookcalendar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_outlookemail" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_sharepoint" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 5", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 6", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 7" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this MCP tool is deferred and discovered via tool search.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) headers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/headers", - "deprecated": false, - "key": "headers", - "docstring": "Optional HTTP headers to send to the MCP server. Use for authentication\nor other purposes.\n", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/MCPTool/properties/headers", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeString" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval", - "deprecated": false, - "key": "require_approval", - "docstring": "Specify which of the MCP server's tools require approval.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "always" - }, - { - "ident": "never" - } - ] - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "always" - }, - { - "kind": "HttpTypeLiteral", - "literal": "never" - } - ] - } - ] - }, - "default": "always", - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) server_description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/server_description", - "deprecated": false, - "key": "server_description", - "docstring": "Optional description of the MCP server, used to provide more context.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) server_url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/server_url", - "deprecated": false, - "key": "server_url", - "docstring": "The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) tunnel_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/tunnel_id", - "deprecated": false, - "key": "tunnel_id", - "docstring": "The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/container", - "deprecated": false, - "key": "container", - "docstring": "The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/container", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "file_ids" - }, - { - "ident": "memory_limit" - }, - { - "ident": "network_policy" - } - ] - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the code interpreter tool. Always `code_interpreter`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "code_interpreter" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 7 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgrammaticToolCallingParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the tool. Always `programmatic_tool_calling`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgrammaticToolCallingParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "programmatic_tool_calling" - } - ] - }, - "default": "programmatic_tool_calling", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 7 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the image generation tool. Always `image_generation`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "image_generation" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) action": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/action", - "deprecated": false, - "key": "action", - "docstring": "Whether to generate a new image or edit an existing image. Default: `auto`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/action", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "generate" - }, - { - "kind": "HttpTypeLiteral", - "literal": "edit" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) action > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) action > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) action > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) background": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/background", - "deprecated": false, - "key": "background", - "docstring": "Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/background", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "transparent" - }, - { - "kind": "HttpTypeLiteral", - "literal": "opaque" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "default": "auto", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) background > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) background > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) background > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_fidelity": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_fidelity", - "deprecated": false, - "key": "input_fidelity", - "docstring": "Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1` and `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_fidelity", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_fidelity > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_fidelity > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_image_mask": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_image_mask", - "deprecated": false, - "key": "input_image_mask", - "docstring": "Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "file_id" - }, - { - "ident": "image_url" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_image_mask > (property) file_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_image_mask > (property) image_url" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The image generation model to use. One of `gpt-image-1`,\n`gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,\n`gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,\n`gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,\n`gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:\n`gpt-image-1`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/model", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/model/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1-mini" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1.5" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2-2026-04-21" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst-2026-09-08" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare-2026-09-08" - } - ] - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) moderation": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/moderation", - "deprecated": false, - "key": "moderation", - "docstring": "Moderation level for the generated image. Default: `auto`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/moderation", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - } - ] - }, - "default": "auto", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) moderation > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) moderation > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_compression": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/output_compression", - "deprecated": false, - "key": "output_compression", - "docstring": "Compression level for the output image. Default: 100.\n", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 0, - "maximum": 100 - }, - "default": 100, - "optional": true, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/output_format", - "deprecated": false, - "key": "output_format", - "docstring": "The output format of the generated image. One of `png`, `webp`, or\n`jpeg`. Default: `png`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/output_format", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "png" - }, - { - "kind": "HttpTypeLiteral", - "literal": "webp" - }, - { - "kind": "HttpTypeLiteral", - "literal": "jpeg" - } - ] - }, - "default": "png", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) partial_images": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/partial_images", - "deprecated": false, - "key": "partial_images", - "docstring": "Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 0, - "maximum": 3 - }, - "default": 0, - "optional": true, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/quality", - "deprecated": false, - "key": "quality", - "docstring": "The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/quality", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - }, - { - "kind": "HttpTypeLiteral", - "literal": "max" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "default": "auto", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 5" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/size", - "deprecated": false, - "key": "size", - "docstring": "The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/size", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/size/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "1024x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1024x1536" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1536x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - } - ] - }, - "default": "auto", - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 9 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the local shell tool. Always `local_shell`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LocalShellToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "local_shell" - } - ] - }, - "default": "local_shell", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 9 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the shell tool. Always `shell`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "shell" - } - ] - }, - "default": "shell", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) environment": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/environment", - "deprecated": false, - "key": "environment", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/environment", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ContainerAuto", - "$ref": "(resource) responses > (model) container_auto > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "LocalEnvironment", - "$ref": "(resource) responses > (model) local_environment > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ContainerReference", - "$ref": "(resource) responses > (model) container_reference > (schema)" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the custom tool, used to identify it in tool calls.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the custom tool. Always `custom`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "custom" - } - ] - }, - "default": "custom", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/async", - "deprecated": false, - "key": "async", - "docstring": "Whether the tool response can be returned asynchronously versus immediately returned on next response creation.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this tool should be deferred and discovered via tool search.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "Optional description of the custom tool, used to provide more context.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/format", - "deprecated": false, - "key": "format", - "docstring": "The input format for the custom tool. Default is unconstrained text.", - "type": { - "kind": "HttpTypeReference", - "ident": "CustomToolInputFormat", - "$ref": "(resource) $shared > (model) custom_tool_input_format > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) $shared > (model) custom_tool_input_format", - "childrenParentSchema": "union", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0", - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "A description of the namespace shown to the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The namespace name used in tool calls (for example, `crm`).", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "The function/custom tools available inside this namespace.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "output_schema" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "format" - } - ] - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the tool. Always `namespace`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "namespace" - } - ] - }, - "default": "namespace", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the tool. Always `tool_search`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "tool_search" - } - ] - }, - "default": "tool_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "Description shown to the model for a client-executed tool search tool.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) execution": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/execution", - "deprecated": false, - "key": "execution", - "docstring": "Whether tool search is executed by the server or by the client.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/execution", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "server" - }, - { - "kind": "HttpTypeLiteral", - "literal": "client" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) execution > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) execution > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/parameters", - "deprecated": false, - "key": "parameters", - "docstring": "Parameter schema for a client-executed tool search tool.", - "type": { - "kind": "HttpTypeUnknown" - }, - "optional": true, - "nullable": true, - "schemaType": "unknown", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search_preview" - }, - { - "kind": "HttpTypeLiteral", - "literal": "web_search_preview_2025_03_11" - } - ] - }, - "default": "web_search_preview", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) type > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) type > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_content_types": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_content_types", - "deprecated": false, - "key": "search_content_types", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_content_types", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_content_types/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "text" - }, - { - "kind": "HttpTypeLiteral", - "literal": "image" - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_content_types > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_content_types > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_context_size": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_context_size", - "deprecated": false, - "key": "search_context_size", - "docstring": "High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_context_size", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/user_location", - "deprecated": false, - "key": "user_location", - "docstring": "The user's location.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "city" - }, - { - "ident": "country" - }, - { - "ident": "region" - }, - { - "ident": "timezone" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) city", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) country", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) region", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) timezone" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the tool. Always `apply_patch`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "apply_patch" - } - ] - }, - "default": "apply_patch", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the function to call.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/parameters", - "deprecated": false, - "key": "parameters", - "docstring": "A JSON schema object describing the parameters of the function.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/FunctionTool/properties/parameters", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": false, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) strict": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/strict", - "deprecated": false, - "key": "strict", - "docstring": "Whether strict parameter validation is enforced for this function tool.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": false, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the function tool. Always `function`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionTool/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionTool/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/async", - "deprecated": false, - "key": "async", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this function is deferred and loaded via tool search.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/description", - "deprecated": false, - "key": "description", - "docstring": "A description of the function. Used by the model to determine whether or not to call the function.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) output_schema": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionTool/properties/output_schema", - "deprecated": false, - "key": "output_schema", - "docstring": "A JSON schema object describing the JSON value encoded in string outputs for this function.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/FunctionTool/properties/output_schema", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the file search tool. Always `file_search`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FileSearchTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "file_search" - } - ] - }, - "default": "file_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) vector_store_ids": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/vector_store_ids", - "deprecated": false, - "key": "vector_store_ids", - "docstring": "The IDs of the vector stores to search.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FileSearchTool/properties/vector_store_ids", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) filters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/filters", - "deprecated": false, - "key": "filters", - "docstring": "A filter to apply.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FileSearchTool/properties/filters", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ComparisonFilter", - "$ref": "(resource) $shared > (model) comparison_filter > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "CompoundFilter", - "$ref": "(resource) $shared > (model) compound_filter > (schema)" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) filters > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) filters > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) max_num_results": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/max_num_results", - "deprecated": false, - "key": "max_num_results", - "docstring": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileSearchTool/properties/ranking_options", - "deprecated": false, - "key": "ranking_options", - "docstring": "Ranking options for search.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "hybrid_search" - }, - { - "ident": "ranker" - }, - { - "ident": "score_threshold" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) score_threshold" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the computer tool. Always `computer`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "computer" - } - ] - }, - "default": "computer", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) display_height": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/display_height", - "deprecated": false, - "key": "display_height", - "docstring": "The height of the computer display.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) display_width": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/display_width", - "deprecated": false, - "key": "display_width", - "docstring": "The width of the computer display.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/environment", - "deprecated": false, - "key": "environment", - "docstring": "The type of computer environment to control.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/environment", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "windows" - }, - { - "kind": "HttpTypeLiteral", - "literal": "mac" - }, - { - "kind": "HttpTypeLiteral", - "literal": "linux" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ubuntu" - }, - { - "kind": "HttpTypeLiteral", - "literal": "browser" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 4" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the computer use tool. Always `computer_use_preview`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComputerUsePreviewTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "computer_use_preview" - } - ] - }, - "default": "computer_use_preview", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search" - }, - { - "kind": "HttpTypeLiteral", - "literal": "web_search_2025_08_26" - } - ] - }, - "default": "web_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) type > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) type > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) external_web_access": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/external_web_access", - "deprecated": false, - "key": "external_web_access", - "docstring": "Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.", - "type": { - "kind": "HttpTypeBoolean" - }, - "default": true, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) filters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/filters", - "deprecated": false, - "key": "filters", - "docstring": "Filters for the search.\n", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "allowed_domains" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) filters > (property) allowed_domains" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) search_context_size": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/search_context_size", - "deprecated": false, - "key": "search_context_size", - "docstring": "High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchTool/properties/search_context_size", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "default": "medium", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/user_location", - "deprecated": false, - "key": "user_location", - "docstring": "The approximate location of the user.\n", - "title": "Web search approximate location", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "city" - }, - { - "ident": "country" - }, - { - "ident": "region" - }, - { - "ident": "timezone" - }, - { - "ident": "type" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) city", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) country", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) region", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) timezone", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/server_label", - "deprecated": false, - "key": "server_label", - "docstring": "A label for this MCP server, used to identify it in tool calls.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the MCP tool. Always `mcp`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools", - "deprecated": false, - "key": "allowed_tools", - "docstring": "List of allowed tool names or a filter object.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools", - "types": [ - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools/anyOf/0/oneOf/0", - "elementType": { - "kind": "HttpTypeString" - } - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "read_only" - }, - { - "ident": "tool_names" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) authorization": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/authorization", - "deprecated": false, - "key": "authorization", - "docstring": "An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/connector_id", - "deprecated": false, - "key": "connector_id", - "docstring": "Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](/api/docs/guides/tools-connectors-mcp#connectors).\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/connector_id", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "connector_dropbox" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_gmail" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_googlecalendar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_googledrive" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_microsoftteams" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_outlookcalendar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_outlookemail" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connector_sharepoint" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 5", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 6", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 7" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this MCP tool is deferred and discovered via tool search.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) headers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/headers", - "deprecated": false, - "key": "headers", - "docstring": "Optional HTTP headers to send to the MCP server. Use for authentication\nor other purposes.\n", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/MCPTool/properties/headers", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeString" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval", - "deprecated": false, - "key": "require_approval", - "docstring": "Specify which of the MCP server's tools require approval.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "always" - }, - { - "ident": "never" - } - ] - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "always" - }, - { - "kind": "HttpTypeLiteral", - "literal": "never" - } - ] - } - ] - }, - "default": "always", - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) server_description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/server_description", - "deprecated": false, - "key": "server_description", - "docstring": "Optional description of the MCP server, used to provide more context.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) server_url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/server_url", - "deprecated": false, - "key": "server_url", - "docstring": "The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) tunnel_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/tunnel_id", - "deprecated": false, - "key": "tunnel_id", - "docstring": "The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/container", - "deprecated": false, - "key": "container", - "docstring": "The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/container", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "file_ids" - }, - { - "ident": "memory_limit" - }, - { - "ident": "network_policy" - } - ] - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the code interpreter tool. Always `code_interpreter`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "code_interpreter" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 7 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgrammaticToolCallingParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the tool. Always `programmatic_tool_calling`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgrammaticToolCallingParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "programmatic_tool_calling" - } - ] - }, - "default": "programmatic_tool_calling", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 7 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the image generation tool. Always `image_generation`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "image_generation" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) action": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/action", - "deprecated": false, - "key": "action", - "docstring": "Whether to generate a new image or edit an existing image. Default: `auto`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/action", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "generate" - }, - { - "kind": "HttpTypeLiteral", - "literal": "edit" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) action > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) action > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) action > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) background": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/background", - "deprecated": false, - "key": "background", - "docstring": "Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/background", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "transparent" - }, - { - "kind": "HttpTypeLiteral", - "literal": "opaque" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "default": "auto", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) background > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) background > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) background > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_fidelity": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_fidelity", - "deprecated": false, - "key": "input_fidelity", - "docstring": "Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1` and `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_fidelity", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_fidelity > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_fidelity > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_image_mask": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_image_mask", - "deprecated": false, - "key": "input_image_mask", - "docstring": "Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "file_id" - }, - { - "ident": "image_url" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_image_mask > (property) file_id", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_image_mask > (property) image_url" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The image generation model to use. One of `gpt-image-1`,\n`gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,\n`gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,\n`gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,\n`gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:\n`gpt-image-1`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/model", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/model/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1-mini" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1.5" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2-2026-04-21" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst-2026-09-08" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare-2026-09-08" - } - ] - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) moderation": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/moderation", - "deprecated": false, - "key": "moderation", - "docstring": "Moderation level for the generated image. Default: `auto`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/moderation", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - } - ] - }, - "default": "auto", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) moderation > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) moderation > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_compression": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/output_compression", - "deprecated": false, - "key": "output_compression", - "docstring": "Compression level for the output image. Default: 100.\n", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 0, - "maximum": 100 - }, - "default": 100, - "optional": true, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/output_format", - "deprecated": false, - "key": "output_format", - "docstring": "The output format of the generated image. One of `png`, `webp`, or\n`jpeg`. Default: `png`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/output_format", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "png" - }, - { - "kind": "HttpTypeLiteral", - "literal": "webp" - }, - { - "kind": "HttpTypeLiteral", - "literal": "jpeg" - } - ] - }, - "default": "png", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) partial_images": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/partial_images", - "deprecated": false, - "key": "partial_images", - "docstring": "Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 0, - "maximum": 3 - }, - "default": 0, - "optional": true, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/quality", - "deprecated": false, - "key": "quality", - "docstring": "The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/quality", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - }, - { - "kind": "HttpTypeLiteral", - "literal": "max" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "default": "auto", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 5" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/size", - "deprecated": false, - "key": "size", - "docstring": "The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/size", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/size/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "1024x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1024x1536" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1536x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - } - ] - }, - "default": "auto", - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 9 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalShellToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the local shell tool. Always `local_shell`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LocalShellToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "local_shell" - } - ] - }, - "default": "local_shell", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 9 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the shell tool. Always `shell`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "shell" - } - ] - }, - "default": "shell", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) environment": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/environment", - "deprecated": false, - "key": "environment", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellToolParam/properties/environment", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ContainerAuto", - "$ref": "(resource) responses > (model) container_auto > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "LocalEnvironment", - "$ref": "(resource) responses > (model) local_environment > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ContainerReference", - "$ref": "(resource) responses > (model) container_reference > (schema)" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the custom tool, used to identify it in tool calls.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the custom tool. Always `custom`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "custom" - } - ] - }, - "default": "custom", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/async", - "deprecated": false, - "key": "async", - "docstring": "Whether the tool response can be returned asynchronously versus immediately returned on next response creation.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this tool should be deferred and discovered via tool search.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "Optional description of the custom tool, used to provide more context.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/format", - "deprecated": false, - "key": "format", - "docstring": "The input format for the custom tool. Default is unconstrained text.", - "type": { - "kind": "HttpTypeReference", - "ident": "CustomToolInputFormat", - "$ref": "(resource) $shared > (model) custom_tool_input_format > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) $shared > (model) custom_tool_input_format", - "childrenParentSchema": "union", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0", - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "A description of the namespace shown to the model.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The namespace name used in tool calls (for example, `crm`).", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "The function/custom tools available inside this namespace.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "output_schema" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "format" - } - ] - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the tool. Always `namespace`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "namespace" - } - ] - }, - "default": "namespace", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the tool. Always `tool_search`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "tool_search" - } - ] - }, - "default": "tool_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "Description shown to the model for a client-executed tool search tool.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) execution": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/execution", - "deprecated": false, - "key": "execution", - "docstring": "Whether tool search is executed by the server or by the client.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/execution", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "server" - }, - { - "kind": "HttpTypeLiteral", - "literal": "client" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) execution > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) execution > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ToolSearchToolParam/properties/parameters", - "deprecated": false, - "key": "parameters", - "docstring": "Parameter schema for a client-executed tool search tool.", - "type": { - "kind": "HttpTypeUnknown" - }, - "optional": true, - "nullable": true, - "schemaType": "unknown", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search_preview" - }, - { - "kind": "HttpTypeLiteral", - "literal": "web_search_preview_2025_03_11" - } - ] - }, - "default": "web_search_preview", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) type > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) type > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_content_types": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_content_types", - "deprecated": false, - "key": "search_content_types", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_content_types", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_content_types/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "text" - }, - { - "kind": "HttpTypeLiteral", - "literal": "image" - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_content_types > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_content_types > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_context_size": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_context_size", - "deprecated": false, - "key": "search_context_size", - "docstring": "High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/search_context_size", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 2" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchPreviewTool/properties/user_location", - "deprecated": false, - "key": "user_location", - "docstring": "The user's location.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "city" - }, - { - "ident": "country" - }, - { - "ident": "region" - }, - { - "ident": "timezone" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) city", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) country", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) region", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) timezone" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the tool. Always `apply_patch`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "apply_patch" - } - ] - }, - "default": "apply_patch", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "minimal" - } - }, - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - }, - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "max" - } - }, - "(resource) $shared > (model) reasoning_effort > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ReasoningEffort", - "docstring": "Constrains effort on reasoning for reasoning models. Currently supported\nvalues are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.\nReducing reasoning effort can result in faster responses and fewer tokens\nused on reasoning in a response. Not all reasoning models support every\nvalue. See the\n[reasoning guide](/api/docs/guides/reasoning)\nfor model-specific support.\n", - "ident": "ReasoningEffort", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ReasoningEffort", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "minimal" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - }, - { - "kind": "HttpTypeLiteral", - "literal": "max" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 0", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 1", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 2", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 3", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 4", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 5", - "(resource) $shared > (model) reasoning_effort > (schema) > (member) 6" - ] - }, - "(resource) conversations > (model) summary_text_content > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "summary_text" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 13 > (property) content > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "reasoning_text" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1024x1024" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1024x1536" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 15 > (property) size > (variant) 1 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1536x1024" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 0 > (property) logs": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterOutputLogs/properties/logs", - "deprecated": false, - "key": "logs", - "docstring": "The logs output from the code interpreter.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterOutputLogs/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the output. Always `logs`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterOutputLogs/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "logs" - } - ] - }, - "default": "logs", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterOutputImage/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the output. Always `image`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CodeInterpreterOutputImage/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "image" - } - ] - }, - "default": "image", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 1 > (property) url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CodeInterpreterOutputImage/properties/url", - "deprecated": false, - "key": "url", - "docstring": "The URL of the image output from the code interpreter.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 17 > (property) action > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "exec" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `direct`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - ] - }, - "default": "direct", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 1 > (property) caller_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/caller_id", - "deprecated": false, - "key": "caller_id", - "docstring": "The call ID of the program item that produced this tool call.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `program`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program" - } - ] - }, - "default": "program", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) local_environment > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalEnvironmentParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Use a local computer environment.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LocalEnvironmentParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "local" - } - ] - }, - "default": "local", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) local_environment > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) local_environment > (schema) > (property) skills": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalEnvironmentParam/properties/skills", - "deprecated": false, - "key": "skills", - "docstring": "An optional list of skills.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LocalEnvironmentParam/properties/skills", - "elementType": { - "kind": "HttpTypeReference", - "ident": "LocalSkill", - "$ref": "(resource) responses > (model) local_skill > (schema)" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) local_skill > (schema) > (property) description", - "(resource) responses > (model) local_skill > (schema) > (property) name", - "(resource) responses > (model) local_skill > (schema) > (property) path" - ] - }, - "(resource) responses > (model) container_reference > (schema) > (property) container_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerReferenceParam/properties/container_id", - "deprecated": false, - "key": "container_id", - "docstring": "The ID of the referenced container.", - "type": { - "kind": "HttpTypeString" - }, - "examples": [ - "cntr_123" - ], - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) container_reference > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerReferenceParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "References a container created with the /v1/containers endpoint", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ContainerReferenceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "container_reference" - } - ] - }, - "default": "container_reference", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) container_reference > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/FunctionShellCallOutputOutcomeParam/oneOf/0", - "docstring": "Indicates that the shell call exceeded its configured time limit.", - "ident": "Timeout", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 0 > (property) type" - ] - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/FunctionShellCallOutputOutcomeParam/oneOf/1", - "docstring": "Indicates that the shell commands finished and returned an exit code.", - "ident": "Exit", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "exit_code" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 1 > (property) exit_code", - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `direct`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - ] - }, - "default": "direct", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 1 > (property) caller_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/caller_id", - "deprecated": false, - "key": "caller_id", - "docstring": "The call ID of the program item that produced this tool call.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `program`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program" - } - ] - }, - "default": "program", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0 > (property) diff": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchCreateFileOperationParam/properties/diff", - "deprecated": false, - "key": "diff", - "docstring": "Unified diff content to apply when creating the file.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 10485760 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0 > (property) path": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchCreateFileOperationParam/properties/path", - "deprecated": false, - "key": "path", - "docstring": "Path of the file to create relative to the workspace root.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchCreateFileOperationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The operation type. Always `create_file`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchCreateFileOperationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "create_file" - } - ] - }, - "default": "create_file", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 1 > (property) path": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchDeleteFileOperationParam/properties/path", - "deprecated": false, - "key": "path", - "docstring": "Path of the file to delete relative to the workspace root.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchDeleteFileOperationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The operation type. Always `delete_file`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchDeleteFileOperationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "delete_file" - } - ] - }, - "default": "delete_file", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2 > (property) diff": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchUpdateFileOperationParam/properties/diff", - "deprecated": false, - "key": "diff", - "docstring": "Unified diff content to apply to the existing file.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 10485760 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2 > (property) path": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchUpdateFileOperationParam/properties/path", - "deprecated": false, - "key": "path", - "docstring": "Path of the file to update relative to the workspace root.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApplyPatchUpdateFileOperationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The operation type. Always `update_file`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApplyPatchUpdateFileOperationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "update_file" - } - ] - }, - "default": "update_file", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `direct`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - ] - }, - "default": "direct", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 1 > (property) caller_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/caller_id", - "deprecated": false, - "key": "caller_id", - "docstring": "The call ID of the program item that produced this tool call.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `program`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program" - } - ] - }, - "default": "program", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `direct`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - ] - }, - "default": "direct", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 1 > (property) caller_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/caller_id", - "deprecated": false, - "key": "caller_id", - "docstring": "The call ID of the program item that produced this tool call.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `program`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program" - } - ] - }, - "default": "program", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0 > (property) code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPProtocolError/properties/code", - "deprecated": false, - "key": "code", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0 > (property) message": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPProtocolError/properties/message", - "deprecated": false, - "key": "message", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPProtocolError/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPProtocolError/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp_protocol_error" - } - ] - }, - "default": "mcp_protocol_error", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 1 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolExecutionError/properties/content", - "deprecated": false, - "key": "content", - "type": { - "kind": "HttpTypeUnknown" - }, - "optional": false, - "nullable": false, - "schemaType": "unknown", - "children": [] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolExecutionError/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPToolExecutionError/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp_tool_execution_error" - } - ] - }, - "default": "mcp_tool_execution_error", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2 > (property) code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/HTTPError/properties/code", - "deprecated": false, - "key": "code", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2 > (property) message": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/HTTPError/properties/message", - "deprecated": false, - "key": "message", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/HTTPError/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/HTTPError/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "http_error" - } - ] - }, - "default": "http_error", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 1 > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputText", - "$ref": "(resource) responses > (model) response_input_text > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_text > (schema) > (property) text", - "(resource) responses > (model) response_input_text > (schema) > (property) type", - "(resource) responses > (model) response_input_text > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 1 > (items) > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputImage", - "$ref": "(resource) responses > (model) response_input_image > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_image > (schema) > (property) detail", - "(resource) responses > (model) response_input_image > (schema) > (property) type", - "(resource) responses > (model) response_input_image > (schema) > (property) file_id", - "(resource) responses > (model) response_input_image > (schema) > (property) image_url", - "(resource) responses > (model) response_input_image > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) output > (variant) 1 > (items) > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponseInputFile", - "$ref": "(resource) responses > (model) response_input_file > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_input_file > (schema) > (property) type", - "(resource) responses > (model) response_input_file > (schema) > (property) detail", - "(resource) responses > (model) response_input_file > (schema) > (property) file_data", - "(resource) responses > (model) response_input_file > (schema) > (property) file_id", - "(resource) responses > (model) response_input_file > (schema) > (property) file_url", - "(resource) responses > (model) response_input_file > (schema) > (property) filename", - "(resource) responses > (model) response_input_file > (schema) > (property) prompt_cache_breakpoint" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `direct`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DirectToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - ] - }, - "default": "direct", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 1 > (property) caller_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/caller_id", - "deprecated": false, - "key": "caller_id", - "docstring": "The call ID of the program item that produced this tool call.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The caller type. Always `program`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramToolCallCallerParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program" - } - ] - }, - "default": "program", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/DirectToolCallCaller/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DirectToolCallCaller/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - ] - }, - "default": "direct", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 1 > (property) caller_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCaller/properties/caller_id", - "deprecated": false, - "key": "caller_id", - "docstring": "The call ID of the program item that produced this tool call.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ProgramToolCallCaller/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ProgramToolCallCaller/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "program" - } - ] - }, - "default": "program", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_input_text > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - }, - "(resource) responses > (model) response_input_text > (schema) > (property) prompt_cache_breakpoint > (property) mode": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/PromptCacheBreakpointConfig/properties/mode", - "deprecated": false, - "key": "mode", - "docstring": "The breakpoint mode. Always `explicit`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/PromptCacheBreakpointConfig/properties/mode", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - ] - }, - "default": "explicit", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_text > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0" - ] - }, - "(resource) responses > (model) image_detail > (schema) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) responses > (model) image_detail > (schema) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) responses > (model) image_detail > (schema) > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) responses > (model) image_detail > (schema) > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "original" - } - }, - "(resource) responses > (model) image_detail > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/DetailEnum", - "ident": "ImageDetail", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/DetailEnum", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "original" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) image_detail > (schema) > (member) 0", - "(resource) responses > (model) image_detail > (schema) > (member) 1", - "(resource) responses > (model) image_detail > (schema) > (member) 2", - "(resource) responses > (model) image_detail > (schema) > (member) 3" - ] - }, - "(resource) responses > (model) response_input_image > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_image" - } - }, - "(resource) responses > (model) response_input_image > (schema) > (property) prompt_cache_breakpoint > (property) mode": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/PromptCacheBreakpointConfig/properties/mode", - "deprecated": false, - "key": "mode", - "docstring": "The breakpoint mode. Always `explicit`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/PromptCacheBreakpointConfig/properties/mode", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - ] - }, - "default": "explicit", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_image > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0" - ] - }, - "(resource) responses > (model) response_input_file > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_file" - } - }, - "(resource) responses > (model) response_input_file > (schema) > (property) detail > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) responses > (model) response_input_file > (schema) > (property) detail > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) responses > (model) response_input_file > (schema) > (property) detail > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) responses > (model) response_input_file > (schema) > (property) prompt_cache_breakpoint > (property) mode": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/PromptCacheBreakpointConfig/properties/mode", - "deprecated": false, - "key": "mode", - "docstring": "The breakpoint mode. Always `explicit`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/PromptCacheBreakpointConfig/properties/mode", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - ] - }, - "default": "explicit", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_file > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Annotation/oneOf/0", - "docstring": "A citation to a file.", - "ident": "FileCitation", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "file_id" - }, - { - "ident": "filename" - }, - { - "ident": "index" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) file_id", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) filename", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) index", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) type" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Annotation/oneOf/1", - "docstring": "A citation for a web resource used to generate a model response.", - "ident": "URLCitation", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "end_index" - }, - { - "ident": "start_index" - }, - { - "ident": "title" - }, - { - "ident": "type" - }, - { - "ident": "url" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) end_index", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) start_index", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) title", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) type", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) url" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Annotation/oneOf/2", - "docstring": "A citation for a container file used to generate a model response.", - "ident": "ContainerFileCitation", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "container_id" - }, - { - "ident": "end_index" - }, - { - "ident": "file_id" - }, - { - "ident": "filename" - }, - { - "ident": "start_index" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) container_id", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) end_index", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) file_id", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) filename", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) start_index", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) type" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/Annotation/oneOf/3", - "docstring": "A path to a file.\n", - "ident": "FilePath", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "file_id" - }, - { - "ident": "index" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3 > (property) file_id", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3 > (property) index", - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3 > (property) type" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) token": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LogProb/properties/token", - "deprecated": false, - "key": "token", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) bytes": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LogProb/properties/bytes", - "deprecated": false, - "key": "bytes", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LogProb/properties/bytes", - "elementType": { - "kind": "HttpTypeNumber" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) logprob": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LogProb/properties/logprob", - "deprecated": false, - "key": "logprob", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) top_logprobs": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LogProb/properties/top_logprobs", - "deprecated": false, - "key": "top_logprobs", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LogProb/properties/top_logprobs", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "token" - }, - { - "ident": "bytes" - }, - { - "ident": "logprob" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) top_logprobs > (items) > (property) token", - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) top_logprobs > (items) > (property) bytes", - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) top_logprobs > (items) > (property) logprob" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "output_text" - } - }, - "(resource) responses > (model) response_output_refusal > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "refusal" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "left" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "right" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "wheel" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "back" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) button > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "forward" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "click" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "double_click" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) path > (items) > (property) x": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CoordParam/properties/x", - "deprecated": false, - "key": "x", - "docstring": "The x-coordinate.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) path > (items) > (property) y": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CoordParam/properties/y", - "deprecated": false, - "key": "y", - "docstring": "The y-coordinate.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "drag" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 3 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "keypress" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 4 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "move" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 5 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "screenshot" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 6 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "scroll" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 7 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "type" - } - }, - "(resource) responses > (model) computer_action > (schema) > (variant) 8 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "wait" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "search" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) sources > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/sources/items/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of source. Always `url`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/sources/items/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "url" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) sources > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) sources > (items) > (property) url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchActionSearch/properties/sources/items/properties/url", - "deprecated": false, - "key": "url", - "docstring": "The URL of the source.\n", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "open_page" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "find_in_page" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 7 > (property) caller > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program" - } - }, - "(resource) responses > (model) response_input_text_content > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - }, - "(resource) responses > (model) response_input_text_content > (schema) > (property) prompt_cache_breakpoint > (property) mode": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/PromptCacheBreakpointParam/properties/mode", - "deprecated": false, - "key": "mode", - "docstring": "The breakpoint mode. Always `explicit`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/PromptCacheBreakpointParam/properties/mode", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - ] - }, - "default": "explicit", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_text_content > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0" - ] - }, - "(resource) responses > (model) response_input_image_content > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_image" - } - }, - "(resource) responses > (model) response_input_image_content > (schema) > (property) prompt_cache_breakpoint > (property) mode": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/PromptCacheBreakpointParam/properties/mode", - "deprecated": false, - "key": "mode", - "docstring": "The breakpoint mode. Always `explicit`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/PromptCacheBreakpointParam/properties/mode", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - ] - }, - "default": "explicit", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_image_content > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0" - ] - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_file" - } - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) detail > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) detail > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) detail > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) prompt_cache_breakpoint > (property) mode": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/PromptCacheBreakpointParam/properties/mode", - "deprecated": false, - "key": "mode", - "docstring": "The breakpoint mode. Always `explicit`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/PromptCacheBreakpointParam/properties/mode", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - ] - }, - "default": "explicit", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_input_file_content > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 8 > (property) caller > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "file_search" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) filters > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ComparisonFilter", - "$ref": "(resource) $shared > (model) comparison_filter > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) $shared > (model) comparison_filter > (schema) > (property) key", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type", - "(resource) $shared > (model) comparison_filter > (schema) > (property) value" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) filters > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "CompoundFilter", - "$ref": "(resource) $shared > (model) compound_filter > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) $shared > (model) compound_filter > (schema) > (property) filters", - "(resource) $shared > (model) compound_filter > (schema) > (property) type" - ] - }, - "(resource) $shared > (model) comparison_filter > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComparisonFilter", - "docstring": "A filter used to compare a specified attribute key to a given value using a defined comparison operation.\n", - "ident": "ComparisonFilter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "key" - }, - { - "ident": "type" - }, - { - "ident": "value" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) $shared > (model) comparison_filter > (schema) > (property) key", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type", - "(resource) $shared > (model) comparison_filter > (schema) > (property) value" - ] - }, - "(resource) $shared > (model) compound_filter > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CompoundFilter", - "docstring": "Combine multiple filters using `and` or `or`.", - "ident": "CompoundFilter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "filters" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) $shared > (model) compound_filter > (schema) > (property) filters", - "(resource) $shared > (model) compound_filter > (schema) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/RankingOptions/properties/hybrid_search", - "deprecated": false, - "key": "hybrid_search", - "docstring": "Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "embedding_weight" - }, - { - "ident": "text_weight" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search > (property) embedding_weight", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search > (property) text_weight" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/RankingOptions/properties/ranker", - "deprecated": false, - "key": "ranker", - "docstring": "The ranker to use for the file search.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/RankingOptions/properties/ranker", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "default-2024-11-15" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) score_threshold": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/RankingOptions/properties/score_threshold", - "deprecated": false, - "key": "score_threshold", - "docstring": "The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "computer" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "windows" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mac" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "linux" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ubuntu" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "browser" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 3 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "computer_use_preview" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) type > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search_2025_08_26" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) filters > (property) allowed_domains": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/filters/anyOf/0/properties/allowed_domains", - "deprecated": false, - "key": "allowed_domains", - "docstring": "Allowed domains for the search. If not provided, all domains are allowed.\nSubdomains of the provided domains are allowed as well.\n\nExample: `[\"pubmed.ncbi.nlm.nih.gov\"]`\n", - "title": "Allowed domains for the search.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/WebSearchTool/properties/filters/anyOf/0/properties/allowed_domains", - "elementType": { - "kind": "HttpTypeString" - } - }, - "default": [], - "optional": true, - "nullable": true, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) city": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/city", - "deprecated": false, - "key": "city", - "docstring": "Free text input for the city of the user, e.g. `San Francisco`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) country": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/country", - "deprecated": false, - "key": "country", - "docstring": "The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) region": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/region", - "deprecated": false, - "key": "region", - "docstring": "Free text input for the region of the user, e.g. `California`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) timezone": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/timezone", - "deprecated": false, - "key": "timezone", - "docstring": "The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of location approximation. Always `approximate`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "approximate" - } - ] - }, - "default": "approximate", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools/anyOf/0/oneOf/0", - "docstring": "A string array of allowed tool names", - "ident": "McpAllowedTools", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools/anyOf/0/oneOf/0", - "elementType": { - "kind": "HttpTypeString" - } - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools/anyOf/0/oneOf/1", - "docstring": "A filter object to specify which tools are allowed.\n", - "ident": "McpToolFilter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "read_only" - }, - { - "ident": "tool_names" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1 > (property) read_only", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1 > (property) tool_names" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_dropbox" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_gmail" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_googlecalendar" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_googledrive" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_microsoftteams" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_outlookcalendar" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_outlookemail" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 7": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_sharepoint" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/0", - "docstring": "Specify which of the MCP server's tools require approval. Can be\n`always`, `never`, or a filter object associated with tools\nthat require approval.\n", - "ident": "McpToolApprovalFilter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "always" - }, - { - "ident": "never" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/1", - "docstring": "Specify a single approval policy for all tools. One of `always` or\n`never`. When set to `always`, all tools will require approval. When\nset to `never`, all tools will not require approval.\n", - "ident": "McpToolApprovalSetting", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "always" - }, - { - "kind": "HttpTypeLiteral", - "literal": "never" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1 > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1 > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/container/oneOf/0", - "docstring": "The container ID.", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/container/oneOf/1", - "docstring": "Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.", - "ident": "CodeInterpreterToolAuto", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "file_ids" - }, - { - "ident": "memory_limit" - }, - { - "ident": "network_policy" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) file_ids", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "code_interpreter" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 7 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic_tool_calling" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "image_generation" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) action > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "generate" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) action > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "edit" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) action > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) background > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "transparent" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) background > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "opaque" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) background > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_fidelity > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_fidelity > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_image_mask > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_image_mask/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "File ID for the mask image.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) input_image_mask > (property) image_url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_image_mask/properties/image_url", - "deprecated": false, - "key": "image_url", - "docstring": "Base64-encoded mask image.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenTool/properties/model/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenTool/properties/model/anyOf/1", - "docstring": "The image generation model to use. One of `gpt-image-1`,\n`gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,\n`gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,\n`gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,\n`gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:\n`gpt-image-1`.\n", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/model/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1-mini" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1.5" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2-2026-04-21" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst-2026-09-08" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare-2026-09-08" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 5", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 6", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 7", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 8" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) moderation > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) moderation > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "png" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "webp" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "jpeg" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "max" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenTool/properties/size/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenTool/properties/size/anyOf/1", - "docstring": "The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/size/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "1024x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1024x1536" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1536x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 3" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 9 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "local_shell" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "shell" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerAuto", - "$ref": "(resource) responses > (model) container_auto > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_auto > (schema) > (property) type", - "(resource) responses > (model) container_auto > (schema) > (property) file_ids", - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit", - "(resource) responses > (model) container_auto > (schema) > (property) network_policy", - "(resource) responses > (model) container_auto > (schema) > (property) skills" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "LocalEnvironment", - "$ref": "(resource) responses > (model) local_environment > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) local_environment > (schema) > (property) type", - "(resource) responses > (model) local_environment > (schema) > (property) skills" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerReference", - "$ref": "(resource) responses > (model) container_reference > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_reference > (schema) > (property) container_id", - "(resource) responses > (model) container_reference > (schema) > (property) type" - ] - }, - "(resource) responses > (model) container_auto > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ContainerAutoParam", - "ident": "ContainerAuto", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "file_ids" - }, - { - "ident": "memory_limit" - }, - { - "ident": "network_policy" - }, - { - "ident": "skills" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_auto > (schema) > (property) type", - "(resource) responses > (model) container_auto > (schema) > (property) file_ids", - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit", - "(resource) responses > (model) container_auto > (schema) > (property) network_policy", - "(resource) responses > (model) container_auto > (schema) > (property) skills" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "custom" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 11 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CustomToolParam/properties/format/oneOf/0", - "docstring": "Unconstrained free-form text.", - "ident": "Text", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CustomToolParam/properties/format/oneOf/1", - "docstring": "A grammar defined by the user.", - "ident": "Grammar", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "definition" - }, - { - "ident": "syntax" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) definition", - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) syntax", - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) $shared > (model) custom_tool_input_format > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CustomToolParam/properties/format", - "docstring": "The input format for the custom tool. Default is unconstrained text.", - "ident": "CustomToolInputFormat", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolParam/properties/format", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "definition" - }, - { - "ident": "syntax" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0", - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools/items/oneOf/0", - "ident": "Function", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "output_schema" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) output_schema", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) parameters", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) strict" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools/items/oneOf/1", - "docstring": "A custom tool that processes input using a specified format. Learn more about [custom tools](/api/docs/guides/function-calling#custom-tools)", - "ident": "Custom", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "format" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) format" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "namespace" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "tool_search" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) execution > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "server" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 13 > (property) execution > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search_preview" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) type > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search_preview_2025_03_11" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_content_types > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "text" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_content_types > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "image" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of location approximation. Always `approximate`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApproximateLocation/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "approximate" - } - ] - }, - "default": "approximate", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) city": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/city", - "deprecated": false, - "key": "city", - "docstring": "Free text input for the city of the user, e.g. `San Francisco`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) country": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/country", - "deprecated": false, - "key": "country", - "docstring": "The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) region": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/region", - "deprecated": false, - "key": "region", - "docstring": "Free text input for the region of the user, e.g. `California`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) timezone": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/timezone", - "deprecated": false, - "key": "timezone", - "docstring": "The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "apply_patch" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 15 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "file_search" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) filters > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ComparisonFilter", - "$ref": "(resource) $shared > (model) comparison_filter > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) $shared > (model) comparison_filter > (schema) > (property) key", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type", - "(resource) $shared > (model) comparison_filter > (schema) > (property) value" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) filters > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "CompoundFilter", - "$ref": "(resource) $shared > (model) compound_filter > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) $shared > (model) compound_filter > (schema) > (property) filters", - "(resource) $shared > (model) compound_filter > (schema) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/RankingOptions/properties/hybrid_search", - "deprecated": false, - "key": "hybrid_search", - "docstring": "Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "embedding_weight" - }, - { - "ident": "text_weight" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search > (property) embedding_weight", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search > (property) text_weight" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/RankingOptions/properties/ranker", - "deprecated": false, - "key": "ranker", - "docstring": "The ranker to use for the file search.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/RankingOptions/properties/ranker", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "default-2024-11-15" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) score_threshold": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/RankingOptions/properties/score_threshold", - "deprecated": false, - "key": "score_threshold", - "docstring": "The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "computer" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "windows" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mac" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "linux" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ubuntu" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) environment > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "browser" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 3 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "computer_use_preview" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) type > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search_2025_08_26" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) filters > (property) allowed_domains": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchTool/properties/filters/anyOf/0/properties/allowed_domains", - "deprecated": false, - "key": "allowed_domains", - "docstring": "Allowed domains for the search. If not provided, all domains are allowed.\nSubdomains of the provided domains are allowed as well.\n\nExample: `[\"pubmed.ncbi.nlm.nih.gov\"]`\n", - "title": "Allowed domains for the search.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/WebSearchTool/properties/filters/anyOf/0/properties/allowed_domains", - "elementType": { - "kind": "HttpTypeString" - } - }, - "default": [], - "optional": true, - "nullable": true, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) search_context_size > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) city": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/city", - "deprecated": false, - "key": "city", - "docstring": "Free text input for the city of the user, e.g. `San Francisco`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) country": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/country", - "deprecated": false, - "key": "country", - "docstring": "The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) region": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/region", - "deprecated": false, - "key": "region", - "docstring": "Free text input for the region of the user, e.g. `California`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) timezone": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/timezone", - "deprecated": false, - "key": "timezone", - "docstring": "The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of location approximation. Always `approximate`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/WebSearchApproximateLocation/anyOf/0/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "approximate" - } - ] - }, - "default": "approximate", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools/anyOf/0/oneOf/0", - "docstring": "A string array of allowed tool names", - "ident": "McpAllowedTools", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools/anyOf/0/oneOf/0", - "elementType": { - "kind": "HttpTypeString" - } - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPTool/properties/allowed_tools/anyOf/0/oneOf/1", - "docstring": "A filter object to specify which tools are allowed.\n", - "ident": "McpToolFilter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "read_only" - }, - { - "ident": "tool_names" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1 > (property) read_only", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1 > (property) tool_names" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_dropbox" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_gmail" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_googlecalendar" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_googledrive" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_microsoftteams" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_outlookcalendar" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_outlookemail" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) connector_id > (member) 7": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connector_sharepoint" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/0", - "docstring": "Specify which of the MCP server's tools require approval. Can be\n`always`, `never`, or a filter object associated with tools\nthat require approval.\n", - "ident": "McpToolApprovalFilter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "always" - }, - { - "ident": "never" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/1", - "docstring": "Specify a single approval policy for all tools. One of `always` or\n`never`. When set to `always`, all tools will require approval. When\nset to `never`, all tools will not require approval.\n", - "ident": "McpToolApprovalSetting", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "always" - }, - { - "kind": "HttpTypeLiteral", - "literal": "never" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1 > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1 > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/container/oneOf/0", - "docstring": "The container ID.", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CodeInterpreterTool/properties/container/oneOf/1", - "docstring": "Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.", - "ident": "CodeInterpreterToolAuto", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "file_ids" - }, - { - "ident": "memory_limit" - }, - { - "ident": "network_policy" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) file_ids", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "code_interpreter" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 7 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic_tool_calling" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "image_generation" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) action > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "generate" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) action > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "edit" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) action > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) background > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "transparent" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) background > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "opaque" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) background > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_fidelity > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_fidelity > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_image_mask > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_image_mask/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "File ID for the mask image.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) input_image_mask > (property) image_url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ImageGenTool/properties/input_image_mask/properties/image_url", - "deprecated": false, - "key": "image_url", - "docstring": "Base64-encoded mask image.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenTool/properties/model/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenTool/properties/model/anyOf/1", - "docstring": "The image generation model to use. One of `gpt-image-1`,\n`gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`,\n`gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,\n`gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,\n`gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default:\n`gpt-image-1`.\n", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/model/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1-mini" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1.5" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2-2026-04-21" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst-2026-09-08" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare-2026-09-08" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 3", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 4", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 5", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 6", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 7", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 8" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) moderation > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) moderation > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "png" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "webp" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) output_format > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "jpeg" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "max" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) quality > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenTool/properties/size/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ImageGenTool/properties/size/anyOf/1", - "docstring": "The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ImageGenTool/properties/size/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "1024x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1024x1536" - }, - { - "kind": "HttpTypeLiteral", - "literal": "1536x1024" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 3" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 9 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "local_shell" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "shell" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerAuto", - "$ref": "(resource) responses > (model) container_auto > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_auto > (schema) > (property) type", - "(resource) responses > (model) container_auto > (schema) > (property) file_ids", - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit", - "(resource) responses > (model) container_auto > (schema) > (property) network_policy", - "(resource) responses > (model) container_auto > (schema) > (property) skills" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "LocalEnvironment", - "$ref": "(resource) responses > (model) local_environment > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) local_environment > (schema) > (property) type", - "(resource) responses > (model) local_environment > (schema) > (property) skills" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 10 > (property) environment > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerReference", - "$ref": "(resource) responses > (model) container_reference > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_reference > (schema) > (property) container_id", - "(resource) responses > (model) container_reference > (schema) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "custom" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 11 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools/items/oneOf/0", - "ident": "Function", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "output_schema" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) output_schema", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) parameters", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) strict" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/NamespaceToolParam/properties/tools/items/oneOf/1", - "docstring": "A custom tool that processes input using a specified format. Learn more about [custom tools](/api/docs/guides/function-calling#custom-tools)", - "ident": "Custom", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "allowed_callers" - }, - { - "ident": "async" - }, - { - "ident": "defer_loading" - }, - { - "ident": "description" - }, - { - "ident": "format" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) name", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) type", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) async", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) defer_loading", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) description", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) format" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "namespace" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "tool_search" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) execution > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "server" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 13 > (property) execution > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search_preview" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) type > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search_preview_2025_03_11" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_content_types > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "text" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_content_types > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "image" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) search_context_size > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of location approximation. Always `approximate`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ApproximateLocation/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "approximate" - } - ] - }, - "default": "approximate", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) city": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/city", - "deprecated": false, - "key": "city", - "docstring": "Free text input for the city of the user, e.g. `San Francisco`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) country": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/country", - "deprecated": false, - "key": "country", - "docstring": "The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) region": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/region", - "deprecated": false, - "key": "region", - "docstring": "Free text input for the region of the user, e.g. `California`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) timezone": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ApproximateLocation/properties/timezone", - "deprecated": false, - "key": "timezone", - "docstring": "The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "apply_patch" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 15 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "logs" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 16 > (property) outputs > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "image" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 19 > (property) caller > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program" - } - }, - "(resource) responses > (model) local_environment > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "local" - } - }, - "(resource) responses > (model) local_skill > (schema) > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalSkillParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "The description of the skill.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) local_skill > (schema) > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalSkillParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the skill.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) local_skill > (schema) > (property) path": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LocalSkillParam/properties/path", - "deprecated": false, - "key": "path", - "docstring": "The path to the directory containing the skill.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) local_skill > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LocalSkillParam", - "ident": "LocalSkill", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "description" - }, - { - "ident": "name" - }, - { - "ident": "path" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) local_skill > (schema) > (property) description", - "(resource) responses > (model) local_skill > (schema) > (property) name", - "(resource) responses > (model) local_skill > (schema) > (property) path" - ] - }, - "(resource) responses > (model) container_reference > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "container_reference" - } - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputTimeoutOutcomeParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The outcome type. Always `timeout`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallOutputTimeoutOutcomeParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "timeout" - } - ] - }, - "default": "timeout", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 1 > (property) exit_code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputExitOutcomeParam/properties/exit_code", - "deprecated": false, - "key": "exit_code", - "docstring": "The exit code returned by the shell process.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionShellCallOutputExitOutcomeParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The outcome type. Always `exit`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionShellCallOutputExitOutcomeParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "exit" - } - ] - }, - "default": "exit", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 20 > (property) caller > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "create_file" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "delete_file" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) operation > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "update_file" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 21 > (property) caller > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 22 > (property) caller > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program" - } - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp_protocol_error" - } - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp_tool_execution_error" - } - }, - "(resource) responses > (model) mcp_tool_call_error > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "http_error" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 27 > (property) caller > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 28 > (property) caller > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "program" - } - }, - "(resource) responses > (model) response_input_text > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - }, - "(resource) responses > (model) response_input_image > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - }, - "(resource) responses > (model) response_input_file > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileCitationBody/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "The ID of the file.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) filename": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileCitationBody/properties/filename", - "deprecated": false, - "key": "filename", - "docstring": "The filename of the file cited.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) index": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileCitationBody/properties/index", - "deprecated": false, - "key": "index", - "docstring": "The index of the file in the list of files.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FileCitationBody/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the file citation. Always `file_citation`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FileCitationBody/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "file_citation" - } - ] - }, - "default": "file_citation", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) end_index": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/UrlCitationBody/properties/end_index", - "deprecated": false, - "key": "end_index", - "docstring": "The index of the last character of the URL citation in the message.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) start_index": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/UrlCitationBody/properties/start_index", - "deprecated": false, - "key": "start_index", - "docstring": "The index of the first character of the URL citation in the message.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) title": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/UrlCitationBody/properties/title", - "deprecated": false, - "key": "title", - "docstring": "The title of the web resource.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/UrlCitationBody/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the URL citation. Always `url_citation`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/UrlCitationBody/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "url_citation" - } - ] - }, - "default": "url_citation", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) url": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/UrlCitationBody/properties/url", - "deprecated": false, - "key": "url", - "docstring": "The URL of the web resource.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "format": "uri" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) container_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerFileCitationBody/properties/container_id", - "deprecated": false, - "key": "container_id", - "docstring": "The ID of the container file.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) end_index": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerFileCitationBody/properties/end_index", - "deprecated": false, - "key": "end_index", - "docstring": "The index of the last character of the container file citation in the message.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerFileCitationBody/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "The ID of the file.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) filename": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerFileCitationBody/properties/filename", - "deprecated": false, - "key": "filename", - "docstring": "The filename of the container file cited.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) start_index": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerFileCitationBody/properties/start_index", - "deprecated": false, - "key": "start_index", - "docstring": "The index of the first character of the container file citation in the message.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerFileCitationBody/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the container file citation. Always `container_file_citation`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ContainerFileCitationBody/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "container_file_citation" - } - ] - }, - "default": "container_file_citation", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3 > (property) file_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FilePath/properties/file_id", - "deprecated": false, - "key": "file_id", - "docstring": "The ID of the file.\n", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3 > (property) index": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FilePath/properties/index", - "deprecated": false, - "key": "index", - "docstring": "The index of the file in the list of files.\n", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FilePath/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the file path. Always `file_path`.\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FilePath/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "file_path" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3 > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) top_logprobs > (items) > (property) token": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/TopLogProb/properties/token", - "deprecated": false, - "key": "token", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) top_logprobs > (items) > (property) bytes": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/TopLogProb/properties/bytes", - "deprecated": false, - "key": "bytes", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/TopLogProb/properties/bytes", - "elementType": { - "kind": "HttpTypeNumber" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) response_output_text > (schema) > (property) logprobs > (items) > (property) top_logprobs > (items) > (property) logprob": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/TopLogProb/properties/logprob", - "deprecated": false, - "key": "logprob", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 6 > (property) action > (variant) 0 > (property) sources > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "url" - } - }, - "(resource) responses > (model) response_input_text_content > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - }, - "(resource) responses > (model) response_input_image_content > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - }, - "(resource) responses > (model) response_input_file_content > (schema) > (property) prompt_cache_breakpoint > (property) mode > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "explicit" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) key": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComparisonFilter/properties/key", - "deprecated": false, - "key": "key", - "docstring": "The key to compare against the value.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComparisonFilter/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`.\n- `eq`: equals\n- `ne`: not equal\n- `gt`: greater than\n- `gte`: greater than or equal\n- `lt`: less than\n- `lte`: less than or equal\n- `in`: in\n- `nin`: not in\n", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComparisonFilter/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "eq" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ne" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gt" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gte" - }, - { - "kind": "HttpTypeLiteral", - "literal": "lt" - }, - { - "kind": "HttpTypeLiteral", - "literal": "lte" - }, - { - "kind": "HttpTypeLiteral", - "literal": "in" - }, - { - "kind": "HttpTypeLiteral", - "literal": "nin" - } - ] - }, - "default": "eq", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 0", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 1", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 2", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 3", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 4", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 5", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 6", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 7" - ] - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) value": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value", - "deprecated": false, - "key": "value", - "docstring": "The value to compare against the attribute key; supports string, number, or boolean types.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeNumber" - }, - { - "kind": "HttpTypeBoolean" - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/3", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/3/items", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeNumber" - } - ] - } - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 0", - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 1", - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 2", - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 3" - ] - }, - "(resource) $shared > (model) compound_filter > (schema) > (property) filters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CompoundFilter/properties/filters", - "deprecated": false, - "key": "filters", - "docstring": "Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CompoundFilter/properties/filters", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CompoundFilter/properties/filters/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ComparisonFilter", - "$ref": "(resource) $shared > (model) comparison_filter > (schema)" - }, - { - "kind": "HttpTypeUnknown" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) $shared > (model) compound_filter > (schema) > (property) filters > (items) > (variant) 0", - "(resource) $shared > (model) compound_filter > (schema) > (property) filters > (items) > (variant) 1" - ] - }, - "(resource) $shared > (model) compound_filter > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CompoundFilter/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Type of operation: `and` or `or`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CompoundFilter/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "and" - }, - { - "kind": "HttpTypeLiteral", - "literal": "or" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) $shared > (model) compound_filter > (schema) > (property) type > (member) 0", - "(resource) $shared > (model) compound_filter > (schema) > (property) type > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search > (property) embedding_weight": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/HybridSearchOptions/properties/embedding_weight", - "deprecated": false, - "key": "embedding_weight", - "docstring": "The weight of the embedding in the reciprocal ranking fusion.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search > (property) text_weight": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/HybridSearchOptions/properties/text_weight", - "deprecated": false, - "key": "text_weight", - "docstring": "The weight of the text in the reciprocal ranking fusion.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "default-2024-11-15" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "approximate" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1 > (property) read_only": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/read_only", - "deprecated": false, - "key": "read_only", - "docstring": "Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1 > (property) tool_names": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "deprecated": false, - "key": "tool_names", - "docstring": "List of allowed tool names.", - "title": "MCP allowed tools", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/0/properties/always", - "deprecated": false, - "key": "always", - "docstring": "A filter object to specify which tools are allowed.\n", - "title": "MCP tool filter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "read_only" - }, - { - "ident": "tool_names" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always > (property) read_only", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always > (property) tool_names" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/0/properties/never", - "deprecated": false, - "key": "never", - "docstring": "A filter object to specify which tools are allowed.\n", - "title": "MCP tool filter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "read_only" - }, - { - "ident": "tool_names" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never > (property) read_only", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never > (property) tool_names" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "always" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "never" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Always `auto`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "default": "auto", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) file_ids": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/file_ids", - "deprecated": false, - "key": "file_ids", - "docstring": "An optional list of uploaded files to make available to your code.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/file_ids", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/memory_limit", - "deprecated": false, - "key": "memory_limit", - "docstring": "The memory limit for the code interpreter container.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/memory_limit", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "1g" - }, - { - "kind": "HttpTypeLiteral", - "literal": "4g" - }, - { - "kind": "HttpTypeLiteral", - "literal": "16g" - }, - { - "kind": "HttpTypeLiteral", - "literal": "64g" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 3" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/network_policy", - "deprecated": false, - "key": "network_policy", - "docstring": "Network access policy for the container.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/network_policy", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyDisabled", - "$ref": "(resource) responses > (model) container_network_policy_disabled > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyAllowlist", - "$ref": "(resource) responses > (model) container_network_policy_allowlist > (schema)" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1-mini" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1.5" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2-2026-04-21" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst-2026-09-08" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 7": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 8": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare-2026-09-08" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1024x1024" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1024x1536" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1536x1024" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) responses > (model) container_auto > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Automatically creates a container for this request", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "container_auto" - } - ] - }, - "default": "container_auto", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) container_auto > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) container_auto > (schema) > (property) file_ids": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/file_ids", - "deprecated": false, - "key": "file_ids", - "docstring": "An optional list of uploaded files to make available to your code.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/file_ids", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/memory_limit", - "deprecated": false, - "key": "memory_limit", - "docstring": "The memory limit for the container.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/memory_limit", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "1g" - }, - { - "kind": "HttpTypeLiteral", - "literal": "4g" - }, - { - "kind": "HttpTypeLiteral", - "literal": "16g" - }, - { - "kind": "HttpTypeLiteral", - "literal": "64g" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit > (member) 0", - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit > (member) 1", - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit > (member) 2", - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit > (member) 3" - ] - }, - "(resource) responses > (model) container_auto > (schema) > (property) network_policy": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/network_policy", - "deprecated": false, - "key": "network_policy", - "docstring": "Network access policy for the container.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/network_policy", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyDisabled", - "$ref": "(resource) responses > (model) container_network_policy_disabled > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyAllowlist", - "$ref": "(resource) responses > (model) container_network_policy_allowlist > (schema)" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) container_auto > (schema) > (property) network_policy > (variant) 0", - "(resource) responses > (model) container_auto > (schema) > (property) network_policy > (variant) 1" - ] - }, - "(resource) responses > (model) container_auto > (schema) > (property) skills": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/skills", - "deprecated": false, - "key": "skills", - "docstring": "An optional list of skills referenced by id or inline data.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/skills", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ContainerAutoParam/properties/skills/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "SkillReference", - "$ref": "(resource) responses > (model) skill_reference > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "InlineSkill", - "$ref": "(resource) responses > (model) inline_skill > (schema)" - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) responses > (model) container_auto > (schema) > (property) skills > (items) > (variant) 0", - "(resource) responses > (model) container_auto > (schema) > (property) skills > (items) > (variant) 1" - ] - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomTextFormatParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Unconstrained text format. Always `text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomTextFormatParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "text" - } - ] - }, - "default": "text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) definition": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomGrammarFormatParam/properties/definition", - "deprecated": false, - "key": "definition", - "docstring": "The grammar definition.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) syntax": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomGrammarFormatParam/properties/syntax", - "deprecated": false, - "key": "syntax", - "docstring": "The syntax of the grammar definition. One of `lark` or `regex`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomGrammarFormatParam/properties/syntax", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "lark" - }, - { - "kind": "HttpTypeLiteral", - "literal": "regex" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) syntax > (member) 0", - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) syntax > (member) 1" - ] - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomGrammarFormatParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Grammar format. Always `grammar`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomGrammarFormatParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "grammar" - } - ] - }, - "default": "grammar", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 128 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/async", - "deprecated": false, - "key": "async", - "docstring": "Whether the tool response can be returned asynchronously versus immediately returned on next response creation.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this function should be deferred and discovered via tool search.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/description", - "deprecated": false, - "key": "description", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) output_schema": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/output_schema", - "deprecated": false, - "key": "output_schema", - "docstring": "A JSON Schema describing the JSON value encoded in string outputs for this function tool. This does not describe content-array outputs.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/FunctionToolParam/properties/output_schema", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/parameters", - "deprecated": false, - "key": "parameters", - "type": { - "kind": "HttpTypeUnknown" - }, - "optional": true, - "nullable": true, - "schemaType": "unknown", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) strict": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/strict", - "deprecated": false, - "key": "strict", - "docstring": "Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the custom tool, used to identify it in tool calls.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the custom tool. Always `custom`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "custom" - } - ] - }, - "default": "custom", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/async", - "deprecated": false, - "key": "async", - "docstring": "Whether the tool response can be returned asynchronously versus immediately returned on next response creation.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this tool should be deferred and discovered via tool search.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "Optional description of the custom tool, used to provide more context.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/format", - "deprecated": false, - "key": "format", - "docstring": "The input format for the custom tool. Default is unconstrained text.", - "type": { - "kind": "HttpTypeReference", - "ident": "CustomToolInputFormat", - "$ref": "(resource) $shared > (model) custom_tool_input_format > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) $shared > (model) custom_tool_input_format", - "childrenParentSchema": "union", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0", - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "approximate" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search > (property) embedding_weight": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/HybridSearchOptions/properties/embedding_weight", - "deprecated": false, - "key": "embedding_weight", - "docstring": "The weight of the embedding in the reciprocal ranking fusion.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) hybrid_search > (property) text_weight": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/HybridSearchOptions/properties/text_weight", - "deprecated": false, - "key": "text_weight", - "docstring": "The weight of the text in the reciprocal ranking fusion.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 1 > (property) ranking_options > (property) ranker > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "default-2024-11-15" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 4 > (property) user_location > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "approximate" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1 > (property) read_only": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/read_only", - "deprecated": false, - "key": "read_only", - "docstring": "Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) allowed_tools > (variant) 1 > (property) tool_names": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "deprecated": false, - "key": "tool_names", - "docstring": "List of allowed tool names.", - "title": "MCP allowed tools", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/0/properties/always", - "deprecated": false, - "key": "always", - "docstring": "A filter object to specify which tools are allowed.\n", - "title": "MCP tool filter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "read_only" - }, - { - "ident": "tool_names" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always > (property) read_only", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always > (property) tool_names" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPTool/properties/require_approval/anyOf/0/oneOf/0/properties/never", - "deprecated": false, - "key": "never", - "docstring": "A filter object to specify which tools are allowed.\n", - "title": "MCP tool filter", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "read_only" - }, - { - "ident": "tool_names" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never > (property) read_only", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never > (property) tool_names" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "always" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "never" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Always `auto`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "default": "auto", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) file_ids": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/file_ids", - "deprecated": false, - "key": "file_ids", - "docstring": "An optional list of uploaded files to make available to your code.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/file_ids", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/memory_limit", - "deprecated": false, - "key": "memory_limit", - "docstring": "The memory limit for the code interpreter container.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/memory_limit", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "1g" - }, - { - "kind": "HttpTypeLiteral", - "literal": "4g" - }, - { - "kind": "HttpTypeLiteral", - "literal": "16g" - }, - { - "kind": "HttpTypeLiteral", - "literal": "64g" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 1", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 2", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 3" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/network_policy", - "deprecated": false, - "key": "network_policy", - "docstring": "Network access policy for the container.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/AutoCodeInterpreterToolParam/properties/network_policy", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyDisabled", - "$ref": "(resource) responses > (model) container_network_policy_disabled > (schema)" - }, - { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyAllowlist", - "$ref": "(resource) responses > (model) container_network_policy_allowlist > (schema)" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy > (variant) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1-mini" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-1.5" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2-2026-04-21" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-sunburst-2026-09-08" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 7": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) model > (variant) 1 > (member) 8": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-image-2.5-flare-2026-09-08" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1024x1024" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1024x1536" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1536x1024" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 8 > (property) size > (variant) 1 > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 128 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/FunctionToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/FunctionToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/async", - "deprecated": false, - "key": "async", - "docstring": "Whether the tool response can be returned asynchronously versus immediately returned on next response creation.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this function should be deferred and discovered via tool search.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/description", - "deprecated": false, - "key": "description", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) output_schema": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/output_schema", - "deprecated": false, - "key": "output_schema", - "docstring": "A JSON Schema describing the JSON value encoded in string outputs for this function tool. This does not describe content-array outputs.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/FunctionToolParam/properties/output_schema", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/parameters", - "deprecated": false, - "key": "parameters", - "type": { - "kind": "HttpTypeUnknown" - }, - "optional": true, - "nullable": true, - "schemaType": "unknown", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) strict": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/FunctionToolParam/properties/strict", - "deprecated": false, - "key": "strict", - "docstring": "Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the custom tool, used to identify it in tool calls.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the custom tool. Always `custom`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "custom" - } - ] - }, - "default": "custom", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers", - "deprecated": false, - "key": "allowed_callers", - "docstring": "The tool invocation context(s).", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/CustomToolParam/properties/allowed_callers/anyOf/0/items", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "direct" - }, - { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - ] - } - }, - "optional": true, - "nullable": true, - "schemaType": "array", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers > (items) > (member) 0", - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers > (items) > (member) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) async": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/async", - "deprecated": false, - "key": "async", - "docstring": "Whether the tool response can be returned asynchronously versus immediately returned on next response creation.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) defer_loading": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/defer_loading", - "deprecated": false, - "key": "defer_loading", - "docstring": "Whether this tool should be deferred and discovered via tool search.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "Optional description of the custom tool, used to provide more context.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/CustomToolParam/properties/format", - "deprecated": false, - "key": "format", - "docstring": "The input format for the custom tool. Default is unconstrained text.", - "type": { - "kind": "HttpTypeReference", - "ident": "CustomToolInputFormat", - "$ref": "(resource) $shared > (model) custom_tool_input_format > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) $shared > (model) custom_tool_input_format", - "childrenParentSchema": "union", - "children": [ - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0", - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 14 > (property) user_location > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "approximate" - } - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "timeout" - } - }, - "(resource) responses > (model) response_function_shell_call_output_content > (schema) > (property) outcome > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "exit" - } - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "file_citation" - } - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "url_citation" - } - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "container_file_citation" - } - }, - "(resource) responses > (model) response_output_text > (schema) > (property) annotations > (items) > (variant) 3 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "file_path" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "eq" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ne" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gt" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gte" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "lt" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "lte" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "in" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) type > (member) 7": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "nin" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeNumber" - }, - "children": [] - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/2", - "ident": "UnionMember2", - "type": { - "kind": "HttpTypeBoolean" - }, - "children": [] - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 3": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/3", - "ident": "UnionMember3", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/3", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/3/items", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeNumber" - } - ] - } - }, - "childrenParentSchema": "union", - "children": [ - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 3 > (items) > (variant) 0", - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 3 > (items) > (variant) 1" - ] - }, - "(resource) $shared > (model) compound_filter > (schema) > (property) filters > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ComparisonFilter", - "$ref": "(resource) $shared > (model) comparison_filter > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) $shared > (model) comparison_filter > (schema) > (property) key", - "(resource) $shared > (model) comparison_filter > (schema) > (property) type", - "(resource) $shared > (model) comparison_filter > (schema) > (property) value" - ] - }, - "(resource) $shared > (model) compound_filter > (schema) > (property) filters > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/CompoundFilter/properties/filters/items/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnknown" - }, - "children": [] - }, - "(resource) $shared > (model) compound_filter > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "and" - } - }, - "(resource) $shared > (model) compound_filter > (schema) > (property) type > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "or" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always > (property) read_only": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/read_only", - "deprecated": false, - "key": "read_only", - "docstring": "Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always > (property) tool_names": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "deprecated": false, - "key": "tool_names", - "docstring": "List of allowed tool names.", - "title": "MCP allowed tools", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never > (property) read_only": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/read_only", - "deprecated": false, - "key": "read_only", - "docstring": "Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never > (property) tool_names": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "deprecated": false, - "key": "tool_names", - "docstring": "List of allowed tool names.", - "title": "MCP allowed tools", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1g" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "4g" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "16g" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "64g" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyDisabled", - "$ref": "(resource) responses > (model) container_network_policy_disabled > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_disabled > (schema) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyAllowlist", - "$ref": "(resource) responses > (model) container_network_policy_allowlist > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) allowed_domains", - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) type", - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) domain_secrets" - ] - }, - "(resource) responses > (model) container_network_policy_disabled > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ContainerNetworkPolicyDisabledParam", - "ident": "ContainerNetworkPolicyDisabled", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_disabled > (schema) > (property) type" - ] - }, - "(resource) responses > (model) container_network_policy_allowlist > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ContainerNetworkPolicyAllowlistParam", - "ident": "ContainerNetworkPolicyAllowlist", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "allowed_domains" - }, - { - "ident": "type" - }, - { - "ident": "domain_secrets" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) allowed_domains", - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) type", - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) domain_secrets" - ] - }, - "(resource) responses > (model) container_auto > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "container_auto" - } - }, - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1g" - } - }, - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "4g" - } - }, - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "16g" - } - }, - "(resource) responses > (model) container_auto > (schema) > (property) memory_limit > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "64g" - } - }, - "(resource) responses > (model) container_auto > (schema) > (property) network_policy > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyDisabled", - "$ref": "(resource) responses > (model) container_network_policy_disabled > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_disabled > (schema) > (property) type" - ] - }, - "(resource) responses > (model) container_auto > (schema) > (property) network_policy > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyAllowlist", - "$ref": "(resource) responses > (model) container_network_policy_allowlist > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) allowed_domains", - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) type", - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) domain_secrets" - ] - }, - "(resource) responses > (model) container_auto > (schema) > (property) skills > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "SkillReference", - "$ref": "(resource) responses > (model) skill_reference > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) skill_reference > (schema) > (property) skill_id", - "(resource) responses > (model) skill_reference > (schema) > (property) type", - "(resource) responses > (model) skill_reference > (schema) > (property) version" - ] - }, - "(resource) responses > (model) container_auto > (schema) > (property) skills > (items) > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "InlineSkill", - "$ref": "(resource) responses > (model) inline_skill > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) inline_skill > (schema) > (property) description", - "(resource) responses > (model) inline_skill > (schema) > (property) name", - "(resource) responses > (model) inline_skill > (schema) > (property) source", - "(resource) responses > (model) inline_skill > (schema) > (property) type" - ] - }, - "(resource) responses > (model) skill_reference > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/SkillReferenceParam", - "ident": "SkillReference", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "skill_id" - }, - { - "ident": "type" - }, - { - "ident": "version" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) skill_reference > (schema) > (property) skill_id", - "(resource) responses > (model) skill_reference > (schema) > (property) type", - "(resource) responses > (model) skill_reference > (schema) > (property) version" - ] - }, - "(resource) responses > (model) inline_skill > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InlineSkillParam", - "ident": "InlineSkill", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "description" - }, - { - "ident": "name" - }, - { - "ident": "source" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) inline_skill > (schema) > (property) description", - "(resource) responses > (model) inline_skill > (schema) > (property) name", - "(resource) responses > (model) inline_skill > (schema) > (property) source", - "(resource) responses > (model) inline_skill > (schema) > (property) type" - ] - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "text" - } - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) syntax > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "lark" - } - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) syntax > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "regex" - } - }, - "(resource) $shared > (model) custom_tool_input_format > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "grammar" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "custom" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 10 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always > (property) read_only": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/read_only", - "deprecated": false, - "key": "read_only", - "docstring": "Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) always > (property) tool_names": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "deprecated": false, - "key": "tool_names", - "docstring": "List of allowed tool names.", - "title": "MCP allowed tools", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never > (property) read_only": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/read_only", - "deprecated": false, - "key": "read_only", - "docstring": "Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 5 > (property) require_approval > (variant) 0 > (property) never > (property) tool_names": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "deprecated": false, - "key": "tool_names", - "docstring": "List of allowed tool names.", - "title": "MCP allowed tools", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/MCPToolFilter/properties/tool_names", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "1g" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "4g" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "16g" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) memory_limit > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "64g" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyDisabled", - "$ref": "(resource) responses > (model) container_network_policy_disabled > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_disabled > (schema) > (property) type" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 6 > (property) container > (variant) 1 > (property) network_policy > (variant) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyAllowlist", - "$ref": "(resource) responses > (model) container_network_policy_allowlist > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) allowed_domains", - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) type", - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) domain_secrets" - ] - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 0 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "custom" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers > (items) > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "direct" - } - }, - "(resource) live > (model) response_item_create_event > (schema) > (property) item > (variant) 11 > (property) tools > (items) > (variant) 12 > (property) tools > (items) > (variant) 1 > (property) allowed_callers > (items) > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "programmatic" - } - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 3 > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/3/items/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) $shared > (model) comparison_filter > (schema) > (property) value > (variant) 3 > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ComparisonFilter/properties/value/oneOf/3/items/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeNumber" - }, - "children": [] - }, - "(resource) responses > (model) container_network_policy_disabled > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerNetworkPolicyDisabledParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Disable outbound network access. Always `disabled`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ContainerNetworkPolicyDisabledParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "disabled" - } - ] - }, - "default": "disabled", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) container_network_policy_disabled > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) allowed_domains": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerNetworkPolicyAllowlistParam/properties/allowed_domains", - "deprecated": false, - "key": "allowed_domains", - "docstring": "A list of allowed domains when type is `allowlist`.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ContainerNetworkPolicyAllowlistParam/properties/allowed_domains", - "elementType": { - "kind": "HttpTypeString" - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "children": [] - }, - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerNetworkPolicyAllowlistParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Allow outbound network access only to specified domains. Always `allowlist`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ContainerNetworkPolicyAllowlistParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "allowlist" - } - ] - }, - "default": "allowlist", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) domain_secrets": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerNetworkPolicyAllowlistParam/properties/domain_secrets", - "deprecated": false, - "key": "domain_secrets", - "docstring": "Optional domain-scoped secrets for allowlisted domains.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/ContainerNetworkPolicyAllowlistParam/properties/domain_secrets", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ContainerNetworkPolicyDomainSecret", - "$ref": "(resource) responses > (model) container_network_policy_domain_secret > (schema)" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_domain_secret > (schema) > (property) domain", - "(resource) responses > (model) container_network_policy_domain_secret > (schema) > (property) name", - "(resource) responses > (model) container_network_policy_domain_secret > (schema) > (property) value" - ] - }, - "(resource) responses > (model) skill_reference > (schema) > (property) skill_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/SkillReferenceParam/properties/skill_id", - "deprecated": false, - "key": "skill_id", - "docstring": "The ID of the referenced skill.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) skill_reference > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/SkillReferenceParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "References a skill created with the /v1/skills endpoint.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/SkillReferenceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "skill_reference" - } - ] - }, - "default": "skill_reference", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) skill_reference > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) skill_reference > (schema) > (property) version": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/SkillReferenceParam/properties/version", - "deprecated": false, - "key": "version", - "docstring": "Optional skill version. Use a positive integer or 'latest'. Omit for default.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) inline_skill > (schema) > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InlineSkillParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "The description of the skill.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) inline_skill > (schema) > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InlineSkillParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the skill.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) inline_skill > (schema) > (property) source": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InlineSkillParam/properties/source", - "deprecated": false, - "key": "source", - "docstring": "Inline skill payload", - "type": { - "kind": "HttpTypeReference", - "ident": "InlineSkillSource", - "$ref": "(resource) responses > (model) inline_skill_source > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) responses > (model) inline_skill_source", - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) inline_skill_source > (schema) > (property) data", - "(resource) responses > (model) inline_skill_source > (schema) > (property) media_type", - "(resource) responses > (model) inline_skill_source > (schema) > (property) type" - ] - }, - "(resource) responses > (model) inline_skill > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InlineSkillParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "Defines an inline skill for this request.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InlineSkillParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "inline" - } - ] - }, - "default": "inline", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) inline_skill > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) container_network_policy_disabled > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "disabled" - } - }, - "(resource) responses > (model) container_network_policy_allowlist > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "allowlist" - } - }, - "(resource) responses > (model) container_network_policy_domain_secret > (schema) > (property) domain": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerNetworkPolicyDomainSecretParam/properties/domain", - "deprecated": false, - "key": "domain", - "docstring": "The domain associated with the secret.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) container_network_policy_domain_secret > (schema) > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerNetworkPolicyDomainSecretParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name of the secret to inject for the domain.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) container_network_policy_domain_secret > (schema) > (property) value": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/ContainerNetworkPolicyDomainSecretParam/properties/value", - "deprecated": false, - "key": "value", - "docstring": "The secret value to inject for the domain.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 10485760 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) container_network_policy_domain_secret > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ContainerNetworkPolicyDomainSecretParam", - "ident": "ContainerNetworkPolicyDomainSecret", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "domain" - }, - { - "ident": "name" - }, - { - "ident": "value" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) container_network_policy_domain_secret > (schema) > (property) domain", - "(resource) responses > (model) container_network_policy_domain_secret > (schema) > (property) name", - "(resource) responses > (model) container_network_policy_domain_secret > (schema) > (property) value" - ] - }, - "(resource) responses > (model) skill_reference > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "skill_reference" - } - }, - "(resource) responses > (model) inline_skill_source > (schema) > (property) data": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InlineSkillSourceParam/properties/data", - "deprecated": false, - "key": "data", - "docstring": "Base64-encoded skill zip bundle.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 70254592 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) responses > (model) inline_skill_source > (schema) > (property) media_type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InlineSkillSourceParam/properties/media_type", - "deprecated": false, - "key": "media_type", - "docstring": "The media type of the inline skill payload. Must be `application/zip`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InlineSkillSourceParam/properties/media_type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "application/zip" - } - ] - }, - "default": "application/zip", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) inline_skill_source > (schema) > (property) media_type > (member) 0" - ] - }, - "(resource) responses > (model) inline_skill_source > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/InlineSkillSourceParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The type of the inline skill source. Must be `base64`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/InlineSkillSourceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "base64" - } - ] - }, - "default": "base64", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) responses > (model) inline_skill_source > (schema) > (property) type > (member) 0" - ] - }, - "(resource) responses > (model) inline_skill_source > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/InlineSkillSourceParam", - "docstring": "Inline skill payload", - "ident": "InlineSkillSource", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "data" - }, - { - "ident": "media_type" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) responses > (model) inline_skill_source > (schema) > (property) data", - "(resource) responses > (model) inline_skill_source > (schema) > (property) media_type", - "(resource) responses > (model) inline_skill_source > (schema) > (property) type" - ] - }, - "(resource) responses > (model) inline_skill > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "inline" - } - }, - "(resource) responses > (model) inline_skill_source > (schema) > (property) media_type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "application/zip" - } - }, - "(resource) responses > (model) inline_skill_source > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "base64" - } - } -} -``` - -#### Example - -```json -{ - "type": "response.item.create", - "event_id": "evt_item_001", - "item": { - "type": "message", - "role": "user", - "content": [ - { - "type": "input_text", - "text": "Please check for a table for two at 7 PM." - } - ] - } -} -``` - -### response.create - -Request a response from the Live session’s Responses backend, or continue a delegated response waiting for tool results. Requires Responses delegation. - -#### Schema - -Schema name: `LiveResponseCreateParam` - -```json -{ - "(resource) live > (model) response_create_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponseCreateParam", - "docstring": "Request a response from the Live session’s Responses backend, or continue a delegated response waiting for tool results. Requires Responses delegation.", - "ident": "ResponseCreateEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_create_event > (schema) > (property) type", - "(resource) live > (model) response_create_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) response_create_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseCreateParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `response.create`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponseCreateParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "response.create" - } - ] - }, - "default": "response.create", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_create_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_create_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseCreateParam/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_create_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "response.create" - } - } -} -``` - -#### Example - -```json -{ - "type": "response.create", - "event_id": "evt_response_001" -} -``` - -### session.close - -Request that the Live session close. The terminal `session.closed` event contains the close reason and final usage. - -#### Schema - -Schema name: `LiveSessionCloseParam` - -```json -{ - "(resource) live > (model) session_close_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionCloseParam", - "docstring": "Request that the Live session close. The terminal `session.closed` event contains the close reason and final usage.", - "ident": "SessionCloseEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_close_event > (schema) > (property) type", - "(resource) live > (model) session_close_event > (schema) > (property) event_id" - ] - }, - "(resource) live > (model) session_close_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionCloseParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The Live client event type. Always `session.close`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionCloseParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.close" - } - ] - }, - "default": "session.close", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_close_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_close_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionCloseParam/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "maxLength": 512 - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_close_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.close" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.close", - "event_id": "evt_close_001" -} -``` - -## Server events - -### session.started - -Returned when a Live session has started. Contains the resolved session configuration, including server defaults. - -#### Schema - -Schema name: `LiveSessionStarted` - -```json -{ - "(resource) live > (model) session_started_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionStarted", - "docstring": "Returned when a Live session has started. Contains the resolved session configuration, including server defaults.", - "ident": "SessionStartedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event_id" - }, - { - "ident": "session" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_started_event > (schema) > (property) event_id", - "(resource) live > (model) session_started_event > (schema) > (property) session", - "(resource) live > (model) session_started_event > (schema) > (property) type", - "(resource) live > (model) session_started_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) session_started_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionStarted/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_started_event > (schema) > (property) session": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionStarted/properties/session", - "deprecated": false, - "key": "session", - "docstring": "The resolved Live session configuration and server-assigned session metadata.", - "type": { - "kind": "HttpTypeReference", - "ident": "SessionResource", - "$ref": "(resource) live > (model) session_resource > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) session_resource", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) id", - "(resource) live > (model) session_resource > (schema) > (property) expires_at", - "(resource) live > (model) session_resource > (schema) > (property) model", - "(resource) live > (model) session_resource > (schema) > (property) status", - "(resource) live > (model) session_resource > (schema) > (property) audio", - "(resource) live > (model) session_resource > (schema) > (property) client", - "(resource) live > (model) session_resource > (schema) > (property) delegation", - "(resource) live > (model) session_resource > (schema) > (property) input", - "(resource) live > (model) session_resource > (schema) > (property) instructions", - "(resource) live > (model) session_resource > (schema) > (property) store" - ] - }, - "(resource) live > (model) session_started_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionStarted/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.started`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionStarted/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.started" - } - ] - }, - "default": "session.started", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_started_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_started_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionStarted/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the Live session. Use this ID for sideband connections, forking, and recording download.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) expires_at": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/expires_at", - "deprecated": false, - "key": "expires_at", - "docstring": "The Unix timestamp, in seconds, at which the Live session expires.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/model", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - ] - } - ] - }, - "examples": [ - "gpt-live-1" - ], - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 0", - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the session snapshot. Always `active`, including the final snapshot in session.closed; use the event type to determine that the session has closed.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "active" - } - ] - }, - "default": "active", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) status > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/audio", - "deprecated": false, - "key": "audio", - "docstring": "Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "format" - }, - { - "ident": "output" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) format", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) client": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/client", - "deprecated": false, - "key": "client", - "docstring": "Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.", - "type": { - "kind": "HttpTypeReference", - "ident": "ClientConfig", - "$ref": "(resource) live > (model) client_config > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) client_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_config > (schema) > (property) data_channel" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/delegation", - "deprecated": false, - "key": "delegation", - "docstring": "Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/delegation", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "responses" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 0", - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) input": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/input", - "deprecated": false, - "key": "input", - "docstring": "Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/input", - "elementType": { - "kind": "HttpTypeReference", - "ident": "InitialItem", - "$ref": "(resource) live > (model) initial_item > (schema)" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1", - "(resource) live > (model) initial_item > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) instructions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/instructions", - "deprecated": false, - "key": "instructions", - "docstring": "Frontend instructions for voice, conversation, interruptions, and when to delegate. Start with the [Live prompting guide](/api/docs/guides/live-prompting); put business rules and tool workflows in a separate [backend prompt](/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). Limited to 16,384 client-supplied tokens. Omitted or blank instructions use server defaults. Immutable after startup.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) store": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/store", - "deprecated": false, - "key": "store", - "docstring": "Whether to store the session for later forking and recording download. Defaults to false for new sessions.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) session_resource > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionResourceParam", - "docstring": "The resolved Live session configuration and server-assigned session metadata.", - "ident": "SessionResource", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "expires_at" - }, - { - "ident": "model" - }, - { - "ident": "status" - }, - { - "ident": "audio" - }, - { - "ident": "client" - }, - { - "ident": "delegation" - }, - { - "ident": "input" - }, - { - "ident": "instructions" - }, - { - "ident": "store" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) id", - "(resource) live > (model) session_resource > (schema) > (property) expires_at", - "(resource) live > (model) session_resource > (schema) > (property) model", - "(resource) live > (model) session_resource > (schema) > (property) status", - "(resource) live > (model) session_resource > (schema) > (property) audio", - "(resource) live > (model) session_resource > (schema) > (property) client", - "(resource) live > (model) session_resource > (schema) > (property) delegation", - "(resource) live > (model) session_resource > (schema) > (property) input", - "(resource) live > (model) session_resource > (schema) > (property) instructions", - "(resource) live > (model) session_resource > (schema) > (property) store" - ] - }, - "(resource) live > (model) session_started_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.started" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "docstring": "The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1 > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "active" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioParam/properties/format", - "deprecated": false, - "key": "format", - "docstring": "Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.", - "type": { - "kind": "HttpTypeReference", - "ident": "AudioFormat", - "$ref": "(resource) live > (model) audio_format > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) live > (model) audio_format", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 1", - "(resource) live > (model) audio_format > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioParam/properties/output", - "deprecated": false, - "key": "output", - "docstring": "The voice used for speech generated by the Live model.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "voice" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice" - ] - }, - "(resource) live > (model) client_config > (schema) > (property) data_channel": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveClientConfigParam/properties/data_channel", - "deprecated": false, - "key": "data_channel", - "docstring": "Client and server event permissions for the WebRTC frontend data channel.", - "type": { - "kind": "HttpTypeReference", - "ident": "DataChannelConfig", - "$ref": "(resource) live > (model) data_channel_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) data_channel_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events" - ] - }, - "(resource) live > (model) client_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveClientConfigParam", - "docstring": "Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.", - "ident": "ClientConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "data_channel" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_config > (schema) > (property) data_channel" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/delegation/anyOf/0/oneOf/1", - "docstring": "Delegate tasks to a Responses model managed by the Live session.", - "ident": "Responses", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "responses" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) responses", - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) client_delegation > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveClientDelegationParam", - "docstring": "Delegate tasks to your application. The Live session emits delegation events that your backend handles.", - "ident": "ClientDelegation", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/0", - "docstring": "A developer message included in the initial text history of a Live session.", - "ident": "Developer", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/1", - "docstring": "A user message included in the initial text history of a Live session.", - "ident": "User", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/2", - "docstring": "An assistant message included in the initial text history of a Live session.", - "ident": "Assistant", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem", - "docstring": "A developer, user, or assistant message supplied as text history before the Live session starts.", - "ident": "InitialItem", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialItem", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1", - "(resource) live > (model) initial_item > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/0", - "docstring": "Raw, mono 16-bit little-endian PCM audio for a Live WebSocket connection.", - "ident": "AudioPCM", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/1", - "docstring": "Raw, mono G.711 μ-law audio for a Live WebSocket connection.", - "ident": "AudioPCMU", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/2", - "docstring": "Raw, mono G.711 A-law audio for a Live WebSocket connection.", - "ident": "AudioPCMA", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat", - "docstring": "Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.", - "ident": "AudioFormat", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveAudioFormat", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 1", - "(resource) live > (model) audio_format > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice", - "deprecated": false, - "key": "voice", - "docstring": "The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "alloy" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ash" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ballad" - }, - { - "kind": "HttpTypeLiteral", - "literal": "beacon" - }, - { - "kind": "HttpTypeLiteral", - "literal": "bossa" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cedar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cinder" - }, - { - "kind": "HttpTypeLiteral", - "literal": "coral" - }, - { - "kind": "HttpTypeLiteral", - "literal": "delta" - }, - { - "kind": "HttpTypeLiteral", - "literal": "echo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gleam" - }, - { - "kind": "HttpTypeLiteral", - "literal": "marin" - }, - { - "kind": "HttpTypeLiteral", - "literal": "meridian" - }, - { - "kind": "HttpTypeLiteral", - "literal": "quartz" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ripple" - }, - { - "kind": "HttpTypeLiteral", - "literal": "sage" - }, - { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - }, - { - "kind": "HttpTypeLiteral", - "literal": "stone" - }, - { - "kind": "HttpTypeLiteral", - "literal": "tempo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "verse" - }, - { - "kind": "HttpTypeLiteral", - "literal": "vesper" - }, - { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - ] - }, - { - "kind": "HttpTypeReference", - "ident": "CustomVoice", - "$ref": "(resource) live > (model) custom_voice > (schema)" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 0", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 2" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events", - "deprecated": false, - "key": "allowed_client_events", - "docstring": "Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "elementType": { - "kind": "HttpTypeString" - } - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 1" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events", - "deprecated": false, - "key": "allowed_server_events", - "docstring": "Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ServerEventSelector", - "$ref": "(resource) live > (model) server_event_selector > (schema)" - } - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 1" - ] - }, - "(resource) live > (model) data_channel_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam", - "docstring": "Control which Live events an untrusted WebRTC frontend can send and receive over its data channel. These restrictions do not apply to trusted sideband connections.", - "ident": "DataChannelConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "allowed_client_events" - }, - { - "ident": "allowed_server_events" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `client` for tasks handled by your application.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "client" - } - ] - }, - "default": "client", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) responses": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/responses", - "deprecated": false, - "key": "responses", - "docstring": "Backend model, prompt, and tools used when the Live session delegates a task to Responses.", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponsesDelegationConfig", - "$ref": "(resource) live > (model) responses_delegation_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) responses_delegation_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `responses` for tasks handled by the Responses API.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - ] - }, - "default": "responses", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `developer`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - ] - }, - "default": "developer", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `user`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "user" - } - ] - }, - "default": "user", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `assistant`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - ] - }, - "default": "assistant", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. Live WebSocket PCM audio supports 16000 or 24000 Hz.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/rate", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": 16000 - }, - { - "kind": "HttpTypeLiteral", - "literal": 24000 - } - ] - }, - "constraints": { - "minimum": 16000, - "maximum": 24000 - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 1" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcm`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcm" - } - ] - }, - "default": "audio/pcm", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. G.711 audio uses 8000 Hz.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 8000, - "maximum": 8000 - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcmu`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcmu" - } - ] - }, - "default": "audio/pcmu", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. G.711 audio uses 8000 Hz.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 8000, - "maximum": 8000 - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcma`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcma" - } - ] - }, - "default": "audio/pcma", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "docstring": "The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "alloy" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ash" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ballad" - }, - { - "kind": "HttpTypeLiteral", - "literal": "beacon" - }, - { - "kind": "HttpTypeLiteral", - "literal": "bossa" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cedar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cinder" - }, - { - "kind": "HttpTypeLiteral", - "literal": "coral" - }, - { - "kind": "HttpTypeLiteral", - "literal": "delta" - }, - { - "kind": "HttpTypeLiteral", - "literal": "echo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gleam" - }, - { - "kind": "HttpTypeLiteral", - "literal": "marin" - }, - { - "kind": "HttpTypeLiteral", - "literal": "meridian" - }, - { - "kind": "HttpTypeLiteral", - "literal": "quartz" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ripple" - }, - { - "kind": "HttpTypeLiteral", - "literal": "sage" - }, - { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - }, - { - "kind": "HttpTypeLiteral", - "literal": "stone" - }, - { - "kind": "HttpTypeLiteral", - "literal": "tempo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "verse" - }, - { - "kind": "HttpTypeLiteral", - "literal": "vesper" - }, - { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 0", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 1", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 2", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 3", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 4", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 5", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 6", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 7", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 8", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 9", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 10", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 11", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 12", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 13", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 14", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 15", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 16", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 17", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 18", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 19", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 20", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 21" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "CustomVoice", - "$ref": "(resource) live > (model) custom_voice > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) custom_voice > (schema) > (property) id" - ] - }, - "(resource) live > (model) custom_voice > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveCustomVoiceParam", - "ident": "CustomVoice", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) custom_voice > (schema) > (property) id" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0 > (member) 0" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "elementType": { - "kind": "HttpTypeString" - } - }, - "children": [] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0 > (member) 0" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ServerEventSelector", - "$ref": "(resource) live > (model) server_event_selector > (schema)" - } - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event_selector > (schema) > (property) type", - "(resource) live > (model) server_event_selector > (schema) > (property) response_event" - ] - }, - "(resource) live > (model) server_event_selector > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam", - "docstring": "A Live server event selector for the WebRTC frontend data channel.", - "ident": "ServerEventSelector", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "response_event" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event_selector > (schema) > (property) type", - "(resource) live > (model) server_event_selector > (schema) > (property) response_event" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The model used for server-owned Responses delegations.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/instructions", - "deprecated": false, - "key": "instructions", - "docstring": "Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt).", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/max_output_tokens", - "deprecated": false, - "key": "max_output_tokens", - "docstring": "Maximum number of output tokens for each delegated response.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 16 - }, - "optional": true, - "nullable": true, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/parallel_tool_calls", - "deprecated": false, - "key": "parallel_tool_calls", - "docstring": "Whether the delegated Responses model may request multiple tool calls in a single response.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/reasoning", - "deprecated": false, - "key": "reasoning", - "docstring": "Reasoning settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "effort" - }, - { - "ident": "summary" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/service_tier", - "deprecated": false, - "key": "service_tier", - "docstring": "Service tier for delegated Responses requests.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/service_tier", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "default" - }, - { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - }, - { - "kind": "HttpTypeLiteral", - "literal": "flex" - }, - { - "kind": "HttpTypeLiteral", - "literal": "priority" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 2", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 3", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 4", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "Text generation settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "verbosity" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice", - "deprecated": false, - "key": "tool_choice", - "docstring": "Controls which tool the Responses backend uses when handling a task delegated by the Live model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "Tools available to the Responses backend while it handles tasks delegated by the Live model.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam", - "docstring": "Model, prompt, and tool settings for tasks delegated by the Live session to a Responses backend.", - "ident": "ResponsesDelegationConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "model" - }, - { - "ident": "instructions" - }, - { - "ident": "max_output_tokens" - }, - { - "ident": "parallel_tool_calls" - }, - { - "ident": "reasoning" - }, - { - "ident": "service_tier" - }, - { - "ident": "text" - }, - { - "ident": "tool_choice" - }, - { - "ident": "tools" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "user" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items/oneOf/0", - "docstring": "Assistant text supplied as conversation history when starting a Live session.", - "ident": "Text", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items/oneOf/1", - "docstring": "Assistant output text supplied as conversation history when starting a Live session.", - "ident": "OutputText", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": 16000 - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": 24000 - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcm" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcmu" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcma" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "alloy" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ash" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ballad" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "beacon" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "bossa" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "cedar" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "cinder" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 7": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "coral" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 8": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "delta" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 9": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "echo" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 10": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gleam" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 11": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "marin" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 12": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "meridian" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 13": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "quartz" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 14": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ripple" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 15": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "sage" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 16": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 17": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "stone" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 18": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "tempo" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 19": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "verse" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 20": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "vesper" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 21": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - }, - "(resource) live > (model) custom_voice > (schema) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCustomVoiceParam/properties/id", - "deprecated": false, - "key": "id", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 128 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "all" - } - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "all" - } - }, - "(resource) live > (model) server_event_selector > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The outer Live server event type. Use 'response.event' for Responses events.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 256 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event_selector > (schema) > (property) response_event": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam/properties/response_event", - "deprecated": false, - "key": "response_event", - "docstring": "The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 256 - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "deprecated": false, - "key": "effort", - "docstring": "How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "minimal" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 2", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 3", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 4", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "deprecated": false, - "key": "summary", - "docstring": "The reasoning summary to request from the delegated Responses model, when supported.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "concise" - }, - { - "kind": "HttpTypeLiteral", - "literal": "detailed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "default" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "flex" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "priority" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "deprecated": false, - "key": "verbosity", - "docstring": "The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "ident": "LiveToolChoiceEnum", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/1", - "ident": "LiveFunctionToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) name", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/2", - "ident": "LiveMCPToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) name", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools/items/oneOf/1", - "docstring": "A web search tool available to the Live session’s Responses backend.", - "ident": "WebSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) function_tool > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam", - "docstring": "A function tool available to the Responses backend when the Live model delegates a task.", - "ident": "FunctionTool", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "description" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "text" - } - ] - }, - "default": "text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `output_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "output_text" - } - ] - }, - "default": "output_text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "minimal" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "concise" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "detailed" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "required" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/server_label", - "deprecated": false, - "key": "server_label", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - ] - }, - "default": "mcp", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name the delegated Responses model uses when calling this function.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `function`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "What the function does and when the delegated Responses model should call it.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "deprecated": false, - "key": "parameters", - "docstring": "A JSON Schema object describing the arguments accepted by the function.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) strict": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/strict", - "deprecated": false, - "key": "strict", - "docstring": "Whether the delegated Responses model must follow the function’s parameter schema exactly.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `web_search`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - ] - }, - "default": "web_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "text" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "output_text" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - }, - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.started", - "event_id": "evt_started_001", - "client_event_id": "evt_start_001", - "session": { - "id": "live_abc123", - "model": "gpt-live-1", - "status": "active", - "expires_at": 1788555600, - "instructions": "Help the caller plan a restaurant reservation. Confirm details before booking.", - "input": [], - "audio": { - "format": { - "type": "audio/pcm", - "rate": 24000 - }, - "output": { - "voice": "marin" - } - }, - "delegation": { - "type": "client" - } - } -} -``` - -### session.updated - -Returned when a Live session update is accepted. Contains the resolved session configuration after the update. - -#### Schema - -Schema name: `LiveSessionUpdated` - -```json -{ - "(resource) live > (model) session_updated_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionUpdated", - "docstring": "Returned when a Live session update is accepted. Contains the resolved session configuration after the update.", - "ident": "SessionUpdatedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event_id" - }, - { - "ident": "session" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_updated_event > (schema) > (property) event_id", - "(resource) live > (model) session_updated_event > (schema) > (property) session", - "(resource) live > (model) session_updated_event > (schema) > (property) type", - "(resource) live > (model) session_updated_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) session_updated_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUpdated/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_updated_event > (schema) > (property) session": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUpdated/properties/session", - "deprecated": false, - "key": "session", - "docstring": "The resolved Live session configuration and server-assigned session metadata.", - "type": { - "kind": "HttpTypeReference", - "ident": "SessionResource", - "$ref": "(resource) live > (model) session_resource > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) session_resource", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) id", - "(resource) live > (model) session_resource > (schema) > (property) expires_at", - "(resource) live > (model) session_resource > (schema) > (property) model", - "(resource) live > (model) session_resource > (schema) > (property) status", - "(resource) live > (model) session_resource > (schema) > (property) audio", - "(resource) live > (model) session_resource > (schema) > (property) client", - "(resource) live > (model) session_resource > (schema) > (property) delegation", - "(resource) live > (model) session_resource > (schema) > (property) input", - "(resource) live > (model) session_resource > (schema) > (property) instructions", - "(resource) live > (model) session_resource > (schema) > (property) store" - ] - }, - "(resource) live > (model) session_updated_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUpdated/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.updated`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionUpdated/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.updated" - } - ] - }, - "default": "session.updated", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_updated_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_updated_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUpdated/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the Live session. Use this ID for sideband connections, forking, and recording download.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) expires_at": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/expires_at", - "deprecated": false, - "key": "expires_at", - "docstring": "The Unix timestamp, in seconds, at which the Live session expires.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/model", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - ] - } - ] - }, - "examples": [ - "gpt-live-1" - ], - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 0", - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the session snapshot. Always `active`, including the final snapshot in session.closed; use the event type to determine that the session has closed.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "active" - } - ] - }, - "default": "active", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) status > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/audio", - "deprecated": false, - "key": "audio", - "docstring": "Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "format" - }, - { - "ident": "output" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) format", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) client": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/client", - "deprecated": false, - "key": "client", - "docstring": "Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.", - "type": { - "kind": "HttpTypeReference", - "ident": "ClientConfig", - "$ref": "(resource) live > (model) client_config > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) client_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_config > (schema) > (property) data_channel" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/delegation", - "deprecated": false, - "key": "delegation", - "docstring": "Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/delegation", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "responses" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 0", - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) input": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/input", - "deprecated": false, - "key": "input", - "docstring": "Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/input", - "elementType": { - "kind": "HttpTypeReference", - "ident": "InitialItem", - "$ref": "(resource) live > (model) initial_item > (schema)" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1", - "(resource) live > (model) initial_item > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) instructions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/instructions", - "deprecated": false, - "key": "instructions", - "docstring": "Frontend instructions for voice, conversation, interruptions, and when to delegate. Start with the [Live prompting guide](/api/docs/guides/live-prompting); put business rules and tool workflows in a separate [backend prompt](/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). Limited to 16,384 client-supplied tokens. Omitted or blank instructions use server defaults. Immutable after startup.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) store": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/store", - "deprecated": false, - "key": "store", - "docstring": "Whether to store the session for later forking and recording download. Defaults to false for new sessions.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) session_resource > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionResourceParam", - "docstring": "The resolved Live session configuration and server-assigned session metadata.", - "ident": "SessionResource", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "expires_at" - }, - { - "ident": "model" - }, - { - "ident": "status" - }, - { - "ident": "audio" - }, - { - "ident": "client" - }, - { - "ident": "delegation" - }, - { - "ident": "input" - }, - { - "ident": "instructions" - }, - { - "ident": "store" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) id", - "(resource) live > (model) session_resource > (schema) > (property) expires_at", - "(resource) live > (model) session_resource > (schema) > (property) model", - "(resource) live > (model) session_resource > (schema) > (property) status", - "(resource) live > (model) session_resource > (schema) > (property) audio", - "(resource) live > (model) session_resource > (schema) > (property) client", - "(resource) live > (model) session_resource > (schema) > (property) delegation", - "(resource) live > (model) session_resource > (schema) > (property) input", - "(resource) live > (model) session_resource > (schema) > (property) instructions", - "(resource) live > (model) session_resource > (schema) > (property) store" - ] - }, - "(resource) live > (model) session_updated_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.updated" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "docstring": "The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1 > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "active" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioParam/properties/format", - "deprecated": false, - "key": "format", - "docstring": "Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.", - "type": { - "kind": "HttpTypeReference", - "ident": "AudioFormat", - "$ref": "(resource) live > (model) audio_format > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) live > (model) audio_format", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 1", - "(resource) live > (model) audio_format > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioParam/properties/output", - "deprecated": false, - "key": "output", - "docstring": "The voice used for speech generated by the Live model.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "voice" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice" - ] - }, - "(resource) live > (model) client_config > (schema) > (property) data_channel": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveClientConfigParam/properties/data_channel", - "deprecated": false, - "key": "data_channel", - "docstring": "Client and server event permissions for the WebRTC frontend data channel.", - "type": { - "kind": "HttpTypeReference", - "ident": "DataChannelConfig", - "$ref": "(resource) live > (model) data_channel_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) data_channel_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events" - ] - }, - "(resource) live > (model) client_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveClientConfigParam", - "docstring": "Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.", - "ident": "ClientConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "data_channel" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_config > (schema) > (property) data_channel" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/delegation/anyOf/0/oneOf/1", - "docstring": "Delegate tasks to a Responses model managed by the Live session.", - "ident": "Responses", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "responses" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) responses", - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) client_delegation > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveClientDelegationParam", - "docstring": "Delegate tasks to your application. The Live session emits delegation events that your backend handles.", - "ident": "ClientDelegation", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/0", - "docstring": "A developer message included in the initial text history of a Live session.", - "ident": "Developer", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/1", - "docstring": "A user message included in the initial text history of a Live session.", - "ident": "User", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/2", - "docstring": "An assistant message included in the initial text history of a Live session.", - "ident": "Assistant", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem", - "docstring": "A developer, user, or assistant message supplied as text history before the Live session starts.", - "ident": "InitialItem", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialItem", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1", - "(resource) live > (model) initial_item > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/0", - "docstring": "Raw, mono 16-bit little-endian PCM audio for a Live WebSocket connection.", - "ident": "AudioPCM", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/1", - "docstring": "Raw, mono G.711 μ-law audio for a Live WebSocket connection.", - "ident": "AudioPCMU", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/2", - "docstring": "Raw, mono G.711 A-law audio for a Live WebSocket connection.", - "ident": "AudioPCMA", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat", - "docstring": "Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.", - "ident": "AudioFormat", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveAudioFormat", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 1", - "(resource) live > (model) audio_format > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice", - "deprecated": false, - "key": "voice", - "docstring": "The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "alloy" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ash" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ballad" - }, - { - "kind": "HttpTypeLiteral", - "literal": "beacon" - }, - { - "kind": "HttpTypeLiteral", - "literal": "bossa" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cedar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cinder" - }, - { - "kind": "HttpTypeLiteral", - "literal": "coral" - }, - { - "kind": "HttpTypeLiteral", - "literal": "delta" - }, - { - "kind": "HttpTypeLiteral", - "literal": "echo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gleam" - }, - { - "kind": "HttpTypeLiteral", - "literal": "marin" - }, - { - "kind": "HttpTypeLiteral", - "literal": "meridian" - }, - { - "kind": "HttpTypeLiteral", - "literal": "quartz" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ripple" - }, - { - "kind": "HttpTypeLiteral", - "literal": "sage" - }, - { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - }, - { - "kind": "HttpTypeLiteral", - "literal": "stone" - }, - { - "kind": "HttpTypeLiteral", - "literal": "tempo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "verse" - }, - { - "kind": "HttpTypeLiteral", - "literal": "vesper" - }, - { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - ] - }, - { - "kind": "HttpTypeReference", - "ident": "CustomVoice", - "$ref": "(resource) live > (model) custom_voice > (schema)" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 0", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 2" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events", - "deprecated": false, - "key": "allowed_client_events", - "docstring": "Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "elementType": { - "kind": "HttpTypeString" - } - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 1" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events", - "deprecated": false, - "key": "allowed_server_events", - "docstring": "Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ServerEventSelector", - "$ref": "(resource) live > (model) server_event_selector > (schema)" - } - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 1" - ] - }, - "(resource) live > (model) data_channel_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam", - "docstring": "Control which Live events an untrusted WebRTC frontend can send and receive over its data channel. These restrictions do not apply to trusted sideband connections.", - "ident": "DataChannelConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "allowed_client_events" - }, - { - "ident": "allowed_server_events" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `client` for tasks handled by your application.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "client" - } - ] - }, - "default": "client", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) responses": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/responses", - "deprecated": false, - "key": "responses", - "docstring": "Backend model, prompt, and tools used when the Live session delegates a task to Responses.", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponsesDelegationConfig", - "$ref": "(resource) live > (model) responses_delegation_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) responses_delegation_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `responses` for tasks handled by the Responses API.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - ] - }, - "default": "responses", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `developer`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - ] - }, - "default": "developer", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `user`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "user" - } - ] - }, - "default": "user", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `assistant`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - ] - }, - "default": "assistant", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. Live WebSocket PCM audio supports 16000 or 24000 Hz.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/rate", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": 16000 - }, - { - "kind": "HttpTypeLiteral", - "literal": 24000 - } - ] - }, - "constraints": { - "minimum": 16000, - "maximum": 24000 - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 1" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcm`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcm" - } - ] - }, - "default": "audio/pcm", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. G.711 audio uses 8000 Hz.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 8000, - "maximum": 8000 - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcmu`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcmu" - } - ] - }, - "default": "audio/pcmu", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. G.711 audio uses 8000 Hz.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 8000, - "maximum": 8000 - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcma`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcma" - } - ] - }, - "default": "audio/pcma", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "docstring": "The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "alloy" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ash" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ballad" - }, - { - "kind": "HttpTypeLiteral", - "literal": "beacon" - }, - { - "kind": "HttpTypeLiteral", - "literal": "bossa" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cedar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cinder" - }, - { - "kind": "HttpTypeLiteral", - "literal": "coral" - }, - { - "kind": "HttpTypeLiteral", - "literal": "delta" - }, - { - "kind": "HttpTypeLiteral", - "literal": "echo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gleam" - }, - { - "kind": "HttpTypeLiteral", - "literal": "marin" - }, - { - "kind": "HttpTypeLiteral", - "literal": "meridian" - }, - { - "kind": "HttpTypeLiteral", - "literal": "quartz" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ripple" - }, - { - "kind": "HttpTypeLiteral", - "literal": "sage" - }, - { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - }, - { - "kind": "HttpTypeLiteral", - "literal": "stone" - }, - { - "kind": "HttpTypeLiteral", - "literal": "tempo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "verse" - }, - { - "kind": "HttpTypeLiteral", - "literal": "vesper" - }, - { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 0", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 1", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 2", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 3", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 4", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 5", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 6", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 7", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 8", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 9", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 10", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 11", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 12", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 13", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 14", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 15", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 16", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 17", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 18", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 19", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 20", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 21" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "CustomVoice", - "$ref": "(resource) live > (model) custom_voice > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) custom_voice > (schema) > (property) id" - ] - }, - "(resource) live > (model) custom_voice > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveCustomVoiceParam", - "ident": "CustomVoice", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) custom_voice > (schema) > (property) id" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0 > (member) 0" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "elementType": { - "kind": "HttpTypeString" - } - }, - "children": [] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0 > (member) 0" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ServerEventSelector", - "$ref": "(resource) live > (model) server_event_selector > (schema)" - } - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event_selector > (schema) > (property) type", - "(resource) live > (model) server_event_selector > (schema) > (property) response_event" - ] - }, - "(resource) live > (model) server_event_selector > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam", - "docstring": "A Live server event selector for the WebRTC frontend data channel.", - "ident": "ServerEventSelector", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "response_event" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event_selector > (schema) > (property) type", - "(resource) live > (model) server_event_selector > (schema) > (property) response_event" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The model used for server-owned Responses delegations.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/instructions", - "deprecated": false, - "key": "instructions", - "docstring": "Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt).", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/max_output_tokens", - "deprecated": false, - "key": "max_output_tokens", - "docstring": "Maximum number of output tokens for each delegated response.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 16 - }, - "optional": true, - "nullable": true, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/parallel_tool_calls", - "deprecated": false, - "key": "parallel_tool_calls", - "docstring": "Whether the delegated Responses model may request multiple tool calls in a single response.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/reasoning", - "deprecated": false, - "key": "reasoning", - "docstring": "Reasoning settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "effort" - }, - { - "ident": "summary" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/service_tier", - "deprecated": false, - "key": "service_tier", - "docstring": "Service tier for delegated Responses requests.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/service_tier", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "default" - }, - { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - }, - { - "kind": "HttpTypeLiteral", - "literal": "flex" - }, - { - "kind": "HttpTypeLiteral", - "literal": "priority" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 2", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 3", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 4", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "Text generation settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "verbosity" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice", - "deprecated": false, - "key": "tool_choice", - "docstring": "Controls which tool the Responses backend uses when handling a task delegated by the Live model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "Tools available to the Responses backend while it handles tasks delegated by the Live model.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam", - "docstring": "Model, prompt, and tool settings for tasks delegated by the Live session to a Responses backend.", - "ident": "ResponsesDelegationConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "model" - }, - { - "ident": "instructions" - }, - { - "ident": "max_output_tokens" - }, - { - "ident": "parallel_tool_calls" - }, - { - "ident": "reasoning" - }, - { - "ident": "service_tier" - }, - { - "ident": "text" - }, - { - "ident": "tool_choice" - }, - { - "ident": "tools" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "user" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items/oneOf/0", - "docstring": "Assistant text supplied as conversation history when starting a Live session.", - "ident": "Text", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items/oneOf/1", - "docstring": "Assistant output text supplied as conversation history when starting a Live session.", - "ident": "OutputText", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": 16000 - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": 24000 - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcm" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcmu" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcma" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "alloy" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ash" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ballad" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "beacon" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "bossa" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "cedar" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "cinder" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 7": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "coral" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 8": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "delta" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 9": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "echo" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 10": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gleam" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 11": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "marin" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 12": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "meridian" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 13": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "quartz" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 14": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ripple" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 15": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "sage" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 16": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 17": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "stone" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 18": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "tempo" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 19": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "verse" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 20": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "vesper" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 21": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - }, - "(resource) live > (model) custom_voice > (schema) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCustomVoiceParam/properties/id", - "deprecated": false, - "key": "id", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 128 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "all" - } - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "all" - } - }, - "(resource) live > (model) server_event_selector > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The outer Live server event type. Use 'response.event' for Responses events.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 256 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event_selector > (schema) > (property) response_event": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam/properties/response_event", - "deprecated": false, - "key": "response_event", - "docstring": "The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 256 - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "deprecated": false, - "key": "effort", - "docstring": "How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "minimal" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 2", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 3", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 4", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "deprecated": false, - "key": "summary", - "docstring": "The reasoning summary to request from the delegated Responses model, when supported.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "concise" - }, - { - "kind": "HttpTypeLiteral", - "literal": "detailed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "default" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "flex" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "priority" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "deprecated": false, - "key": "verbosity", - "docstring": "The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "ident": "LiveToolChoiceEnum", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/1", - "ident": "LiveFunctionToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) name", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/2", - "ident": "LiveMCPToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) name", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools/items/oneOf/1", - "docstring": "A web search tool available to the Live session’s Responses backend.", - "ident": "WebSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) function_tool > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam", - "docstring": "A function tool available to the Responses backend when the Live model delegates a task.", - "ident": "FunctionTool", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "description" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "text" - } - ] - }, - "default": "text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `output_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "output_text" - } - ] - }, - "default": "output_text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "minimal" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "concise" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "detailed" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "required" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/server_label", - "deprecated": false, - "key": "server_label", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - ] - }, - "default": "mcp", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name the delegated Responses model uses when calling this function.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `function`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "What the function does and when the delegated Responses model should call it.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "deprecated": false, - "key": "parameters", - "docstring": "A JSON Schema object describing the arguments accepted by the function.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) strict": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/strict", - "deprecated": false, - "key": "strict", - "docstring": "Whether the delegated Responses model must follow the function’s parameter schema exactly.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `web_search`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - ] - }, - "default": "web_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "text" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "output_text" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp" - } - }, - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.updated", - "event_id": "evt_updated_001", - "client_event_id": "evt_update_001", - "session": { - "id": "live_def456", - "model": "gpt-live-1", - "status": "active", - "expires_at": 1788555600, - "instructions": "Help the caller plan a restaurant reservation. Confirm details before booking.", - "input": [], - "audio": { - "format": { - "type": "audio/pcm", - "rate": 24000 - }, - "output": { - "voice": "marin" - } - }, - "delegation": { - "type": "responses", - "responses": { - "model": "gpt-6-astra", - "instructions": "Check restaurant availability. Ask before confirming a booking.", - "max_output_tokens": 1024, - "tools": [] - } - } - } -} -``` - -### session.input_audio.muted - -Returned when a session.input_audio.mute command is accepted. Input audio is no longer sent to the model; sideband audio reflection continues. - -#### Schema - -Schema name: `LiveInputAudioMuted` - -```json -{ - "(resource) live > (model) input_audio_muted_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInputAudioMuted", - "docstring": "Returned when a session.input_audio.mute command is accepted. Input audio is no longer sent to the model; sideband audio reflection continues.", - "ident": "InputAudioMutedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event_id" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) input_audio_muted_event > (schema) > (property) event_id", - "(resource) live > (model) input_audio_muted_event > (schema) > (property) type", - "(resource) live > (model) input_audio_muted_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) input_audio_muted_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioMuted/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_audio_muted_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioMuted/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.input_audio.muted`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInputAudioMuted/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.muted" - } - ] - }, - "default": "session.input_audio.muted", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) input_audio_muted_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) input_audio_muted_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioMuted/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_audio_muted_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.muted" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.input_audio.muted", - "event_id": "evt_muted_001", - "client_event_id": "evt_mute_001" -} -``` - -### session.input_audio.unmuted - -Returned when a session.input_audio.unmute command is accepted. Input audio is sent to the model again. - -#### Schema - -Schema name: `LiveInputAudioUnmuted` - -```json -{ - "(resource) live > (model) input_audio_unmuted_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInputAudioUnmuted", - "docstring": "Returned when a session.input_audio.unmute command is accepted. Input audio is sent to the model again.", - "ident": "InputAudioUnmutedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event_id" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) input_audio_unmuted_event > (schema) > (property) event_id", - "(resource) live > (model) input_audio_unmuted_event > (schema) > (property) type", - "(resource) live > (model) input_audio_unmuted_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) input_audio_unmuted_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioUnmuted/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_audio_unmuted_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioUnmuted/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.input_audio.unmuted`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInputAudioUnmuted/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.unmuted" - } - ] - }, - "default": "session.input_audio.unmuted", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) input_audio_unmuted_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) input_audio_unmuted_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioUnmuted/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_audio_unmuted_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.unmuted" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.input_audio.unmuted", - "event_id": "evt_unmuted_001", - "client_event_id": "evt_unmute_001" -} -``` - -### session.instructions.appended - -Returned when a session.instructions.append command is accepted into the Live session timeline. Acknowledges the appended instructions without guaranteeing that the model has acted on them. - -#### Schema - -Schema name: `LiveInstructionsAppended` - -```json -{ - "(resource) live > (model) instructions_appended_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInstructionsAppended", - "docstring": "Returned when a session.instructions.append command is accepted into the Live session timeline. Acknowledges the appended instructions without guaranteeing that the model has acted on them.", - "ident": "InstructionsAppendedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "end_ms" - }, - { - "ident": "event_id" - }, - { - "ident": "start_ms" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) instructions_appended_event > (schema) > (property) end_ms", - "(resource) live > (model) instructions_appended_event > (schema) > (property) event_id", - "(resource) live > (model) instructions_appended_event > (schema) > (property) start_ms", - "(resource) live > (model) instructions_appended_event > (schema) > (property) type", - "(resource) live > (model) instructions_appended_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) instructions_appended_event > (schema) > (property) end_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInstructionsAppended/properties/end_ms", - "deprecated": false, - "key": "end_ms", - "docstring": "The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) instructions_appended_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInstructionsAppended/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) instructions_appended_event > (schema) > (property) start_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInstructionsAppended/properties/start_ms", - "deprecated": false, - "key": "start_ms", - "docstring": "The start of this event on the Live session timeline, in milliseconds from the beginning of the session.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) instructions_appended_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInstructionsAppended/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.instructions.appended`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInstructionsAppended/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.instructions.appended" - } - ] - }, - "default": "session.instructions.appended", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) instructions_appended_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) instructions_appended_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInstructionsAppended/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) instructions_appended_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.instructions.appended" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.instructions.appended", - "event_id": "evt_instructions_002", - "client_event_id": "evt_instructions_001", - "start_ms": 1200, - "end_ms": 1400 -} -``` - -### session.thinking.appended - -Returned when a session.thinking.append command is accepted into the Live session timeline. Acknowledges the added reasoning context without guaranteeing any spoken output. - -#### Schema - -Schema name: `LiveThinkingAppended` - -```json -{ - "(resource) live > (model) thinking_appended_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveThinkingAppended", - "docstring": "Returned when a session.thinking.append command is accepted into the Live session timeline. Acknowledges the added reasoning context without guaranteeing any spoken output.", - "ident": "ThinkingAppendedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "end_ms" - }, - { - "ident": "event_id" - }, - { - "ident": "start_ms" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) thinking_appended_event > (schema) > (property) end_ms", - "(resource) live > (model) thinking_appended_event > (schema) > (property) event_id", - "(resource) live > (model) thinking_appended_event > (schema) > (property) start_ms", - "(resource) live > (model) thinking_appended_event > (schema) > (property) type", - "(resource) live > (model) thinking_appended_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) thinking_appended_event > (schema) > (property) end_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveThinkingAppended/properties/end_ms", - "deprecated": false, - "key": "end_ms", - "docstring": "The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) thinking_appended_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveThinkingAppended/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) thinking_appended_event > (schema) > (property) start_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveThinkingAppended/properties/start_ms", - "deprecated": false, - "key": "start_ms", - "docstring": "The start of this event on the Live session timeline, in milliseconds from the beginning of the session.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) thinking_appended_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveThinkingAppended/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.thinking.appended`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveThinkingAppended/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.thinking.appended" - } - ] - }, - "default": "session.thinking.appended", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) thinking_appended_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) thinking_appended_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveThinkingAppended/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) thinking_appended_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.thinking.appended" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.thinking.appended", - "event_id": "evt_thinking_002", - "client_event_id": "evt_thinking_001", - "start_ms": 4600, - "end_ms": 4800 -} -``` - -### session.commentary.appended - -Returned when a session.commentary.append command is accepted into the Live session timeline. Acknowledges the added commentary without guaranteeing exact wording or completed audio playback. - -#### Schema - -Schema name: `LiveCommentaryAppended` - -```json -{ - "(resource) live > (model) commentary_appended_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveCommentaryAppended", - "docstring": "Returned when a session.commentary.append command is accepted into the Live session timeline. Acknowledges the added commentary without guaranteeing exact wording or completed audio playback.", - "ident": "CommentaryAppendedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "end_ms" - }, - { - "ident": "event_id" - }, - { - "ident": "start_ms" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) commentary_appended_event > (schema) > (property) end_ms", - "(resource) live > (model) commentary_appended_event > (schema) > (property) event_id", - "(resource) live > (model) commentary_appended_event > (schema) > (property) start_ms", - "(resource) live > (model) commentary_appended_event > (schema) > (property) type", - "(resource) live > (model) commentary_appended_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) commentary_appended_event > (schema) > (property) end_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCommentaryAppended/properties/end_ms", - "deprecated": false, - "key": "end_ms", - "docstring": "The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) commentary_appended_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCommentaryAppended/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) commentary_appended_event > (schema) > (property) start_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCommentaryAppended/properties/start_ms", - "deprecated": false, - "key": "start_ms", - "docstring": "The start of this event on the Live session timeline, in milliseconds from the beginning of the session.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) commentary_appended_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCommentaryAppended/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.commentary.appended`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveCommentaryAppended/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.commentary.appended" - } - ] - }, - "default": "session.commentary.appended", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) commentary_appended_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) commentary_appended_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCommentaryAppended/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) commentary_appended_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.commentary.appended" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.commentary.appended", - "event_id": "evt_commentary_002", - "client_event_id": "evt_commentary_001", - "start_ms": 5200, - "end_ms": 5400 -} -``` - -### session.input_audio.append - -Input audio received from the primary transport and reflected to a Live sideband connection before model-input muting. - -#### Schema - -Schema name: `(resource) live > (model) server_event > (schema) > (variant) 7` - -```json -{ - "(resource) live > (model) server_event > (schema) > (variant) 7": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveServerEvent-2/oneOf/7", - "docstring": "Input audio received from the primary transport and reflected to a Live sideband connection before model-input muting.", - "ident": "SessionInputAudioAppend", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "audio" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 7 > (property) audio", - "(resource) live > (model) server_event > (schema) > (variant) 7 > (property) type" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 7 > (property) audio": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioAppend/properties/audio", - "deprecated": false, - "key": "audio", - "docstring": "Base64-encoded raw mono PCM16LE at 24 kHz received from the primary transport, reflected to the sideband before model-input muting. This server event uses the same audio key as the client command, but is not an acknowledgment of it.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 7 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputAudioAppend/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.input_audio.append`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInputAudioAppend/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.append" - } - ] - }, - "default": "session.input_audio.append", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 7 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 7 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.input_audio.append" - } - } -} -``` - -#### Example - -```json -{} -``` - -### session.output_audio.delta - -An audio chunk generated by the Live model. Decode and play primary WebSocket chunks in delivery order using the configured session audio format. Sideband connections receive reflected output audio with timestamps. - -#### Schema - -Schema name: `LiveOutputAudioDelta` - -```json -{ - "(resource) live > (model) output_audio_delta_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveOutputAudioDelta", - "docstring": "An audio chunk generated by the Live model. Decode and play primary WebSocket chunks in delivery order using the configured session audio format. Sideband connections receive reflected output audio with timestamps.", - "ident": "OutputAudioDeltaEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "delta" - }, - { - "ident": "type" - }, - { - "ident": "end_ms" - }, - { - "ident": "start_ms" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) output_audio_delta_event > (schema) > (property) delta", - "(resource) live > (model) output_audio_delta_event > (schema) > (property) type", - "(resource) live > (model) output_audio_delta_event > (schema) > (property) end_ms", - "(resource) live > (model) output_audio_delta_event > (schema) > (property) start_ms" - ] - }, - "(resource) live > (model) output_audio_delta_event > (schema) > (property) delta": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputAudioDelta/properties/delta", - "deprecated": false, - "key": "delta", - "docstring": "Base64-encoded raw audio. Primary WebSocket events use the session's configured format; reflected sideband events use mono PCM16LE at 24 kHz.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) output_audio_delta_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputAudioDelta/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.output_audio.delta`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveOutputAudioDelta/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.output_audio.delta" - } - ] - }, - "default": "session.output_audio.delta", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) output_audio_delta_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) output_audio_delta_event > (schema) > (property) end_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputAudioDelta/properties/end_ms", - "deprecated": false, - "key": "end_ms", - "docstring": "Exclusive session-relative end in milliseconds. Required on reflected sideband events; omitted on the primary WebSocket. Dropped output frames leave gaps between reflected ranges.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) output_audio_delta_event > (schema) > (property) start_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputAudioDelta/properties/start_ms", - "deprecated": false, - "key": "start_ms", - "docstring": "Inclusive session-relative start in milliseconds. Required on reflected sideband events; omitted on the primary WebSocket.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": true, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) output_audio_delta_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.output_audio.delta" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.output_audio.delta", - "delta": "AACAAIAAAIAAAP9/AIAAgA==", - "start_ms": 1000, - "end_ms": 1200 -} -``` - -### session.input_transcript.delta - -A transcript fragment for user input audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event. - -#### Schema - -Schema name: `LiveInputTranscriptDelta` - -```json -{ - "(resource) live > (model) input_transcript_delta_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInputTranscriptDelta", - "docstring": "A transcript fragment for user input audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.", - "ident": "InputTranscriptDeltaEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "delta" - }, - { - "ident": "end_ms" - }, - { - "ident": "event_id" - }, - { - "ident": "start_ms" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) delta", - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) end_ms", - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) event_id", - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) start_ms", - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) type", - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) delta": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputTranscriptDelta/properties/delta", - "deprecated": false, - "key": "delta", - "docstring": "The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) end_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputTranscriptDelta/properties/end_ms", - "deprecated": false, - "key": "end_ms", - "docstring": "The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputTranscriptDelta/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) start_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputTranscriptDelta/properties/start_ms", - "deprecated": false, - "key": "start_ms", - "docstring": "The start of this event on the Live session timeline, in milliseconds from the beginning of the session.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputTranscriptDelta/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.input_transcript.delta`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInputTranscriptDelta/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.input_transcript.delta" - } - ] - }, - "default": "session.input_transcript.delta", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInputTranscriptDelta/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) input_transcript_delta_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.input_transcript.delta" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.input_transcript.delta", - "event_id": "evt_input_transcript_001", - "delta": "A table for two at seven, please.", - "start_ms": 1600, - "end_ms": 3400 -} -``` - -### session.output_transcript.delta - -A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event. - -#### Schema - -Schema name: `LiveOutputTranscriptDelta` - -```json -{ - "(resource) live > (model) output_transcript_delta_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveOutputTranscriptDelta", - "docstring": "A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.", - "ident": "OutputTranscriptDeltaEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "delta" - }, - { - "ident": "end_ms" - }, - { - "ident": "event_id" - }, - { - "ident": "start_ms" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) delta", - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) end_ms", - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) event_id", - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) start_ms", - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) type", - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) delta": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputTranscriptDelta/properties/delta", - "deprecated": false, - "key": "delta", - "docstring": "The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) end_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputTranscriptDelta/properties/end_ms", - "deprecated": false, - "key": "end_ms", - "docstring": "The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputTranscriptDelta/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) start_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputTranscriptDelta/properties/start_ms", - "deprecated": false, - "key": "start_ms", - "docstring": "The start of this event on the Live session timeline, in milliseconds from the beginning of the session.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputTranscriptDelta/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.output_transcript.delta`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveOutputTranscriptDelta/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.output_transcript.delta" - } - ] - }, - "default": "session.output_transcript.delta", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveOutputTranscriptDelta/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) output_transcript_delta_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.output_transcript.delta" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.output_transcript.delta", - "event_id": "evt_output_transcript_001", - "delta": "Would you like me to reserve that table?", - "start_ms": 5400, - "end_ms": 7200 -} -``` - -### session.delegation.created - -Returned when the Live model delegates work to your application or a Responses backend. Contains delegation metadata and the position on the session timeline where the work was delegated. - -#### Schema - -Schema name: `LiveDelegationCreated` - -```json -{ - "(resource) live > (model) delegation_created_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDelegationCreated", - "docstring": "Returned when the Live model delegates work to your application or a Responses backend. Contains delegation metadata and the position on the session timeline where the work was delegated.", - "ident": "DelegationCreatedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "delegation" - }, - { - "ident": "event_id" - }, - { - "ident": "offset_ms" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation", - "(resource) live > (model) delegation_created_event > (schema) > (property) event_id", - "(resource) live > (model) delegation_created_event > (schema) > (property) offset_ms", - "(resource) live > (model) delegation_created_event > (schema) > (property) type", - "(resource) live > (model) delegation_created_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationCreated/properties/delegation", - "deprecated": false, - "key": "delegation", - "docstring": "The delegated work identifier and destination. This object contains metadata, not the task text.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "target" - }, - { - "ident": "type" - }, - { - "ident": "response_id" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) id", - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) target", - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) type", - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) response_id" - ] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationCreated/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) offset_ms": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationCreated/properties/offset_ms", - "deprecated": false, - "key": "offset_ms", - "docstring": "The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationCreated/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.delegation.created`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationCreated/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.delegation.created" - } - ] - }, - "default": "session.delegation.created", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) delegation_created_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationCreated/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationItem/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the delegation. Use this as delegation_id when replying to client-owned work or correlating Responses events.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) target": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationItem/properties/target", - "deprecated": false, - "key": "target", - "docstring": "Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationItem/properties/target", - "types": [ - { - "kind": "HttpTypeUnion", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "client" - }, - { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - ] - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) target > (variant) 0" - ] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationItem/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The object type, always `delegation`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationItem/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "delegation" - } - ] - }, - "default": "delegation", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) type > (member) 0" - ] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) response_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationItem/properties/response_id", - "deprecated": false, - "key": "response_id", - "docstring": "The ID of the Responses API response associated with a Responses delegation. Omitted for client delegations.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.delegation.created" - } - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) target > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "docstring": "Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend.", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "client" - }, - { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) target > (variant) 0 > (member) 0", - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) target > (variant) 0 > (member) 1" - ] - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "delegation" - } - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) target > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) delegation_created_event > (schema) > (property) delegation > (property) target > (variant) 0 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - } -} -``` - -#### Example - -```json -{ - "type": "session.delegation.created", - "event_id": "evt_delegation_001", - "offset_ms": 3600, - "delegation": { - "id": "del_abc123", - "type": "delegation", - "target": "client" - } -} -``` - -### response.event - -A streaming Responses API event from a backend delegated to by the Live session. Use the outer delegation_id to associate the nested stream with its Live delegation. - -#### Schema - -Schema name: `LiveResponseEvent` - -```json -{ - "(resource) live > (model) response_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponseEvent", - "docstring": "A streaming Responses API event from a backend delegated to by the Live session. Use the outer delegation_id to associate the nested stream with its Live delegation.", - "ident": "ResponseEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event" - }, - { - "ident": "event_id" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - }, - { - "ident": "delegation_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) response_event > (schema) > (property) event", - "(resource) live > (model) response_event > (schema) > (property) event_id", - "(resource) live > (model) response_event > (schema) > (property) type", - "(resource) live > (model) response_event > (schema) > (property) client_event_id", - "(resource) live > (model) response_event > (schema) > (property) delegation_id" - ] - }, - "(resource) live > (model) response_event > (schema) > (property) event": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseEvent/properties/event", - "deprecated": false, - "key": "event", - "docstring": "The nested Responses streaming event. Dispatch on its type field. Response lifecycle snapshots omit input and clear instructions, tools, and output to keep messages small; consume granular output events for the generated content.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/LiveResponseEvent/properties/event", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) response_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseEvent/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseEvent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `response.event`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponseEvent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "response.event" - } - ] - }, - "default": "response.event", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) response_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) response_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseEvent/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_event > (schema) > (property) delegation_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponseEvent/properties/delegation_id", - "deprecated": false, - "key": "delegation_id", - "docstring": "The Live delegation associated with the nested Responses event. May be null or omitted when the event cannot be correlated with a delegation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) response_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "response.event" - } - } -} -``` - -#### Example - -```json -{ - "type": "response.event", - "event_id": "evt_response_002", - "delegation_id": "del_responses123", - "event": { - "type": "response.output_text.delta", - "item_id": "msg_abc123", - "output_index": 0, - "content_index": 0, - "delta": "An outdoor table is available at 7 PM.", - "sequence_number": 3, - "logprobs": [] - } -} -``` - -### session.usage.updated - -Reports cumulative Live audio usage and, when available, the most recent context-window usage. Delegated Responses token usage is reported separately in response.event events. - -#### Schema - -Schema name: `LiveSessionUsageUpdated` - -```json -{ - "(resource) live > (model) session_usage_updated_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionUsageUpdated", - "docstring": "Reports cumulative Live audio usage and, when available, the most recent context-window usage. Delegated Responses token usage is reported separately in response.event events.", - "ident": "SessionUsageUpdatedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event_id" - }, - { - "ident": "type" - }, - { - "ident": "usage" - }, - { - "ident": "client_event_id" - }, - { - "ident": "context_window" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_usage_updated_event > (schema) > (property) event_id", - "(resource) live > (model) session_usage_updated_event > (schema) > (property) type", - "(resource) live > (model) session_usage_updated_event > (schema) > (property) usage", - "(resource) live > (model) session_usage_updated_event > (schema) > (property) client_event_id", - "(resource) live > (model) session_usage_updated_event > (schema) > (property) context_window" - ] - }, - "(resource) live > (model) session_usage_updated_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUsageUpdated/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_usage_updated_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUsageUpdated/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.usage.updated`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionUsageUpdated/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.usage.updated" - } - ] - }, - "default": "session.usage.updated", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_usage_updated_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_usage_updated_event > (schema) > (property) usage": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUsageUpdated/properties/usage", - "deprecated": false, - "key": "usage", - "docstring": "The cumulative Live audio usage so far.", - "type": { - "kind": "HttpTypeReference", - "ident": "SessionUsage", - "$ref": "(resource) live > (model) session_usage > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) session_usage", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_usage > (schema) > (property) seconds" - ] - }, - "(resource) live > (model) session_usage_updated_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUsageUpdated/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_usage_updated_event > (schema) > (property) context_window": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUsageUpdated/properties/context_window", - "deprecated": false, - "key": "context_window", - "docstring": "The latest measured Live context-window usage. Omitted when the context limit is unknown.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "usage_ratio" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_usage_updated_event > (schema) > (property) context_window > (property) usage_ratio" - ] - }, - "(resource) live > (model) session_usage_updated_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.usage.updated" - } - }, - "(resource) live > (model) session_usage > (schema) > (property) seconds": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUsage/properties/seconds", - "deprecated": false, - "key": "seconds", - "docstring": "The cumulative Live audio duration in seconds. Do not sum this value across usage events.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) session_usage > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionUsage", - "docstring": "Cumulative audio duration for a Live session. Values are totals for the session, not increments to sum across usage events.", - "ident": "SessionUsage", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "seconds" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_usage > (schema) > (property) seconds" - ] - }, - "(resource) live > (model) session_usage_updated_event > (schema) > (property) context_window > (property) usage_ratio": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveContextWindowUsage/properties/usage_ratio", - "deprecated": false, - "key": "usage_ratio", - "docstring": "The latest active context token count divided by the Live model context limit. Can decrease after compaction and may lag between measured audio frames.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "number", - "children": [] - } -} -``` - -#### Example - -```json -{ - "type": "session.usage.updated", - "event_id": "evt_usage_001", - "usage": { - "seconds": 32.5 - }, - "context_window": { - "usage_ratio": 0.12 - } -} -``` - -### session.closed - -Returned after the Live session finishes finalizing, with the close reason, final session snapshot, and cumulative audio usage. A connection closing without this event does not confirm successful finalization. - -#### Schema - -Schema name: `LiveSessionClosed` - -```json -{ - "(resource) live > (model) session_closed_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionClosed", - "docstring": "Returned after the Live session finishes finalizing, with the close reason, final session snapshot, and cumulative audio usage. A connection closing without this event does not confirm successful finalization.", - "ident": "SessionClosedEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event_id" - }, - { - "ident": "reason" - }, - { - "ident": "session" - }, - { - "ident": "type" - }, - { - "ident": "usage" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_closed_event > (schema) > (property) event_id", - "(resource) live > (model) session_closed_event > (schema) > (property) reason", - "(resource) live > (model) session_closed_event > (schema) > (property) session", - "(resource) live > (model) session_closed_event > (schema) > (property) type", - "(resource) live > (model) session_closed_event > (schema) > (property) usage", - "(resource) live > (model) session_closed_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) session_closed_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionClosed/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_closed_event > (schema) > (property) reason": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionClosed/properties/reason", - "deprecated": false, - "key": "reason", - "docstring": "Why the Live session ended: `close_requested` for an application close or hangup request, `expired` for the session duration limit, `content` for a safety filter, `remote_hangup` for a graceful remote disconnect, or `connection_lost` for an unexpected primary or upstream disconnection.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionClosed/properties/reason", - "types": [ - { - "kind": "HttpTypeUnion", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "close_requested" - }, - { - "kind": "HttpTypeLiteral", - "literal": "expired" - }, - { - "kind": "HttpTypeLiteral", - "literal": "content" - }, - { - "kind": "HttpTypeLiteral", - "literal": "remote_hangup" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connection_lost" - } - ] - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0" - ] - }, - "(resource) live > (model) session_closed_event > (schema) > (property) session": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionClosed/properties/session", - "deprecated": false, - "key": "session", - "docstring": "The resolved Live session configuration and server-assigned session metadata.", - "type": { - "kind": "HttpTypeReference", - "ident": "SessionResource", - "$ref": "(resource) live > (model) session_resource > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) session_resource", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) id", - "(resource) live > (model) session_resource > (schema) > (property) expires_at", - "(resource) live > (model) session_resource > (schema) > (property) model", - "(resource) live > (model) session_resource > (schema) > (property) status", - "(resource) live > (model) session_resource > (schema) > (property) audio", - "(resource) live > (model) session_resource > (schema) > (property) client", - "(resource) live > (model) session_resource > (schema) > (property) delegation", - "(resource) live > (model) session_resource > (schema) > (property) input", - "(resource) live > (model) session_resource > (schema) > (property) instructions", - "(resource) live > (model) session_resource > (schema) > (property) store" - ] - }, - "(resource) live > (model) session_closed_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionClosed/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `session.closed`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionClosed/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "session.closed" - } - ] - }, - "default": "session.closed", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_closed_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_closed_event > (schema) > (property) usage": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionClosed/properties/usage", - "deprecated": false, - "key": "usage", - "docstring": "The final cumulative Live audio usage after session finalization.", - "type": { - "kind": "HttpTypeReference", - "ident": "SessionUsage", - "$ref": "(resource) live > (model) session_usage > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) session_usage", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_usage > (schema) > (property) seconds" - ] - }, - "(resource) live > (model) session_closed_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionClosed/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "docstring": "Why the Live session ended: `close_requested` for an application close or hangup request, `expired` for the session duration limit, `content` for a safety filter, `remote_hangup` for a graceful remote disconnect, or `connection_lost` for an unexpected primary or upstream disconnection.", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "close_requested" - }, - { - "kind": "HttpTypeLiteral", - "literal": "expired" - }, - { - "kind": "HttpTypeLiteral", - "literal": "content" - }, - { - "kind": "HttpTypeLiteral", - "literal": "remote_hangup" - }, - { - "kind": "HttpTypeLiteral", - "literal": "connection_lost" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 0", - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 1", - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 2", - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 3", - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 4" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "The unique ID of the Live session. Use this ID for sideband connections, forking, and recording download.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) expires_at": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/expires_at", - "deprecated": false, - "key": "expires_at", - "docstring": "The Unix timestamp, in seconds, at which the Live session expires.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/model", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - ] - } - ] - }, - "examples": [ - "gpt-live-1" - ], - "optional": false, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 0", - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The status of the session snapshot. Always `active`, including the final snapshot in session.closed; use the event type to determine that the session has closed.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "active" - } - ] - }, - "default": "active", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) status > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/audio", - "deprecated": false, - "key": "audio", - "docstring": "Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "format" - }, - { - "ident": "output" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) format", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) client": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/client", - "deprecated": false, - "key": "client", - "docstring": "Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.", - "type": { - "kind": "HttpTypeReference", - "ident": "ClientConfig", - "$ref": "(resource) live > (model) client_config > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) client_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_config > (schema) > (property) data_channel" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/delegation", - "deprecated": false, - "key": "delegation", - "docstring": "Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/delegation", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "responses" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 0", - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) input": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/input", - "deprecated": false, - "key": "input", - "docstring": "Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/input", - "elementType": { - "kind": "HttpTypeReference", - "ident": "InitialItem", - "$ref": "(resource) live > (model) initial_item > (schema)" - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1", - "(resource) live > (model) initial_item > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) instructions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/instructions", - "deprecated": false, - "key": "instructions", - "docstring": "Frontend instructions for voice, conversation, interruptions, and when to delegate. Start with the [Live prompting guide](/api/docs/guides/live-prompting); put business rules and tool workflows in a separate [backend prompt](/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). Limited to 16,384 client-supplied tokens. Omitted or blank instructions use server defaults. Immutable after startup.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) store": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/store", - "deprecated": false, - "key": "store", - "docstring": "Whether to store the session for later forking and recording download. Defaults to false for new sessions.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": false, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) session_resource > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionResourceParam", - "docstring": "The resolved Live session configuration and server-assigned session metadata.", - "ident": "SessionResource", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - }, - { - "ident": "expires_at" - }, - { - "ident": "model" - }, - { - "ident": "status" - }, - { - "ident": "audio" - }, - { - "ident": "client" - }, - { - "ident": "delegation" - }, - { - "ident": "input" - }, - { - "ident": "instructions" - }, - { - "ident": "store" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) id", - "(resource) live > (model) session_resource > (schema) > (property) expires_at", - "(resource) live > (model) session_resource > (schema) > (property) model", - "(resource) live > (model) session_resource > (schema) > (property) status", - "(resource) live > (model) session_resource > (schema) > (property) audio", - "(resource) live > (model) session_resource > (schema) > (property) client", - "(resource) live > (model) session_resource > (schema) > (property) delegation", - "(resource) live > (model) session_resource > (schema) > (property) input", - "(resource) live > (model) session_resource > (schema) > (property) instructions", - "(resource) live > (model) session_resource > (schema) > (property) store" - ] - }, - "(resource) live > (model) session_closed_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "session.closed" - } - }, - "(resource) live > (model) session_usage > (schema) > (property) seconds": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionUsage/properties/seconds", - "deprecated": false, - "key": "seconds", - "docstring": "The cumulative Live audio duration in seconds. Do not sum this value across usage events.", - "type": { - "kind": "HttpTypeNumber" - }, - "optional": false, - "nullable": false, - "schemaType": "number", - "children": [] - }, - "(resource) live > (model) session_usage > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionUsage", - "docstring": "Cumulative audio duration for a Live session. Values are totals for the session, not increments to sum across usage events.", - "ident": "SessionUsage", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "seconds" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_usage > (schema) > (property) seconds" - ] - }, - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "close_requested" - } - }, - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "expired" - } - }, - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "content" - } - }, - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "remote_hangup" - } - }, - "(resource) live > (model) session_closed_event > (schema) > (property) reason > (variant) 0 > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "connection_lost" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "docstring": "The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/ModelIdsLive/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1 > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "active" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) format": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioParam/properties/format", - "deprecated": false, - "key": "format", - "docstring": "Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.", - "type": { - "kind": "HttpTypeReference", - "ident": "AudioFormat", - "$ref": "(resource) live > (model) audio_format > (schema)" - }, - "optional": true, - "nullable": false, - "modelImplicit": false, - "schemaType": "union", - "modelPath": "(resource) live > (model) audio_format", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 1", - "(resource) live > (model) audio_format > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioParam/properties/output", - "deprecated": false, - "key": "output", - "docstring": "The voice used for speech generated by the Live model.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "voice" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice" - ] - }, - "(resource) live > (model) client_config > (schema) > (property) data_channel": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveClientConfigParam/properties/data_channel", - "deprecated": false, - "key": "data_channel", - "docstring": "Client and server event permissions for the WebRTC frontend data channel.", - "type": { - "kind": "HttpTypeReference", - "ident": "DataChannelConfig", - "$ref": "(resource) live > (model) data_channel_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) data_channel_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events" - ] - }, - "(resource) live > (model) client_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveClientConfigParam", - "docstring": "Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.", - "ident": "ClientConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "data_channel" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_config > (schema) > (property) data_channel" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "ClientDelegation", - "$ref": "(resource) live > (model) client_delegation > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveSessionResourceParam/properties/delegation/anyOf/0/oneOf/1", - "docstring": "Delegate tasks to a Responses model managed by the Live session.", - "ident": "Responses", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "responses" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) responses", - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) client_delegation > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveClientDelegationParam", - "docstring": "Delegate tasks to your application. The Live session emits delegation events that your backend handles.", - "ident": "ClientDelegation", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/0", - "docstring": "A developer message included in the initial text history of a Live session.", - "ident": "Developer", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/1", - "docstring": "A user message included in the initial text history of a Live session.", - "ident": "User", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem/oneOf/2", - "docstring": "An assistant message included in the initial text history of a Live session.", - "ident": "Assistant", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) id", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialItem", - "docstring": "A developer, user, or assistant message supplied as text history before the Live session starts.", - "ident": "InitialItem", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialItem", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "content" - }, - { - "ident": "role" - }, - { - "ident": "id" - }, - { - "ident": "status" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1", - "(resource) live > (model) initial_item > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) model > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gpt-live-1" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/0", - "docstring": "Raw, mono 16-bit little-endian PCM audio for a Live WebSocket connection.", - "ident": "AudioPCM", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/1", - "docstring": "Raw, mono G.711 μ-law audio for a Live WebSocket connection.", - "ident": "AudioPCMU", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat/oneOf/2", - "docstring": "Raw, mono G.711 A-law audio for a Live WebSocket connection.", - "ident": "AudioPCMA", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) rate", - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) audio_format > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAudioFormat", - "docstring": "Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.", - "ident": "AudioFormat", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveAudioFormat", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "rate" - }, - { - "ident": "type" - } - ] - } - ] - }, - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 1", - "(resource) live > (model) audio_format > (schema) > (variant) 2" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice", - "deprecated": false, - "key": "voice", - "docstring": "The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice", - "types": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "alloy" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ash" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ballad" - }, - { - "kind": "HttpTypeLiteral", - "literal": "beacon" - }, - { - "kind": "HttpTypeLiteral", - "literal": "bossa" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cedar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cinder" - }, - { - "kind": "HttpTypeLiteral", - "literal": "coral" - }, - { - "kind": "HttpTypeLiteral", - "literal": "delta" - }, - { - "kind": "HttpTypeLiteral", - "literal": "echo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gleam" - }, - { - "kind": "HttpTypeLiteral", - "literal": "marin" - }, - { - "kind": "HttpTypeLiteral", - "literal": "meridian" - }, - { - "kind": "HttpTypeLiteral", - "literal": "quartz" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ripple" - }, - { - "kind": "HttpTypeLiteral", - "literal": "sage" - }, - { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - }, - { - "kind": "HttpTypeLiteral", - "literal": "stone" - }, - { - "kind": "HttpTypeLiteral", - "literal": "tempo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "verse" - }, - { - "kind": "HttpTypeLiteral", - "literal": "vesper" - }, - { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - ] - }, - { - "kind": "HttpTypeReference", - "ident": "CustomVoice", - "$ref": "(resource) live > (model) custom_voice > (schema)" - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 0", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 2" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events", - "deprecated": false, - "key": "allowed_client_events", - "docstring": "Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "elementType": { - "kind": "HttpTypeString" - } - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 1" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events", - "deprecated": false, - "key": "allowed_server_events", - "docstring": "Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ServerEventSelector", - "$ref": "(resource) live > (model) server_event_selector > (schema)" - } - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 1" - ] - }, - "(resource) live > (model) data_channel_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam", - "docstring": "Control which Live events an untrusted WebRTC frontend can send and receive over its data channel. These restrictions do not apply to trusted sideband connections.", - "ident": "DataChannelConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "allowed_client_events" - }, - { - "ident": "allowed_server_events" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events", - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `client` for tasks handled by your application.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveClientDelegationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "client" - } - ] - }, - "default": "client", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) responses": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/responses", - "deprecated": false, - "key": "responses", - "docstring": "Backend model, prompt, and tools used when the Live session delegates a task to Responses.", - "type": { - "kind": "HttpTypeReference", - "ident": "ResponsesDelegationConfig", - "$ref": "(resource) live > (model) responses_delegation_config > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) responses_delegation_config", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The delegation owner. Always `responses` for tasks handled by the Responses API.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - ] - }, - "default": "responses", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `developer`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - ] - }, - "default": "developer", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialDeveloperMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `user`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "user" - } - ] - }, - "default": "user", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialUserMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content", - "deprecated": false, - "key": "content", - "docstring": "The message content. Supply exactly one text part for the initial Live conversation history.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items", - "types": [ - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": false, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/role", - "deprecated": false, - "key": "role", - "docstring": "The author of this history message. Always `assistant`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/role", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - ] - }, - "default": "assistant", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/id", - "deprecated": false, - "key": "id", - "docstring": "An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/status", - "deprecated": false, - "key": "status", - "docstring": "The supplied message’s status. Live uses its text as history and does not resume an incomplete message.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/status", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - }, - { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 0", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 1" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The history item type. Always `message`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "message" - } - ] - }, - "default": "message", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. Live WebSocket PCM audio supports 16000 or 24000 Hz.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/rate", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": 16000 - }, - { - "kind": "HttpTypeLiteral", - "literal": 24000 - } - ] - }, - "constraints": { - "minimum": 16000, - "maximum": 24000 - }, - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 0", - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 1" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcm`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcm" - } - ] - }, - "default": "audio/pcm", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. G.711 audio uses 8000 Hz.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 8000, - "maximum": 8000 - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcmu`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMUParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcmu" - } - ] - }, - "default": "audio/pcmu", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) rate": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/rate", - "deprecated": false, - "key": "rate", - "docstring": "Audio sample rate in hertz. G.711 audio uses 8000 Hz.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 8000, - "maximum": 8000 - }, - "optional": false, - "nullable": false, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The audio encoding. Always `audio/pcma`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveSessionAudioFormatPCMAParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "audio/pcma" - } - ] - }, - "default": "audio/pcma", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeString" - }, - "children": [] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "docstring": "The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup.", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialSessionAudioOutputParam/properties/voice/oneOf/0/anyOf/1", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "alloy" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ash" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ballad" - }, - { - "kind": "HttpTypeLiteral", - "literal": "beacon" - }, - { - "kind": "HttpTypeLiteral", - "literal": "bossa" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cedar" - }, - { - "kind": "HttpTypeLiteral", - "literal": "cinder" - }, - { - "kind": "HttpTypeLiteral", - "literal": "coral" - }, - { - "kind": "HttpTypeLiteral", - "literal": "delta" - }, - { - "kind": "HttpTypeLiteral", - "literal": "echo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "gleam" - }, - { - "kind": "HttpTypeLiteral", - "literal": "marin" - }, - { - "kind": "HttpTypeLiteral", - "literal": "meridian" - }, - { - "kind": "HttpTypeLiteral", - "literal": "quartz" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ripple" - }, - { - "kind": "HttpTypeLiteral", - "literal": "sage" - }, - { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - }, - { - "kind": "HttpTypeLiteral", - "literal": "stone" - }, - { - "kind": "HttpTypeLiteral", - "literal": "tempo" - }, - { - "kind": "HttpTypeLiteral", - "literal": "verse" - }, - { - "kind": "HttpTypeLiteral", - "literal": "vesper" - }, - { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 0", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 1", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 2", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 3", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 4", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 5", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 6", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 7", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 8", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 9", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 10", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 11", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 12", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 13", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 14", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 15", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 16", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 17", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 18", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 19", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 20", - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 21" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "CustomVoice", - "$ref": "(resource) live > (model) custom_voice > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) custom_voice > (schema) > (property) id" - ] - }, - "(resource) live > (model) custom_voice > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveCustomVoiceParam", - "ident": "CustomVoice", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) custom_voice > (schema) > (property) id" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0 > (member) 0" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_client_events/oneOf/1", - "elementType": { - "kind": "HttpTypeString" - } - }, - "children": [] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "ident": "UnionMember0", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "all" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0 > (member) 0" - ] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "ident": "UnionMember1", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveDataChannelConfigParam/properties/allowed_server_events/oneOf/1", - "elementType": { - "kind": "HttpTypeReference", - "ident": "ServerEventSelector", - "$ref": "(resource) live > (model) server_event_selector > (schema)" - } - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event_selector > (schema) > (property) type", - "(resource) live > (model) server_event_selector > (schema) > (property) response_event" - ] - }, - "(resource) live > (model) server_event_selector > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam", - "docstring": "A Live server event selector for the WebRTC frontend data channel.", - "ident": "ServerEventSelector", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - }, - { - "ident": "response_event" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event_selector > (schema) > (property) type", - "(resource) live > (model) server_event_selector > (schema) > (property) response_event" - ] - }, - "(resource) live > (model) client_delegation > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "client" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) model": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/model", - "deprecated": false, - "key": "model", - "docstring": "The model used for server-owned Responses delegations.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/instructions", - "deprecated": false, - "key": "instructions", - "docstring": "Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt).", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/max_output_tokens", - "deprecated": false, - "key": "max_output_tokens", - "docstring": "Maximum number of output tokens for each delegated response.", - "type": { - "kind": "HttpTypeNumber" - }, - "constraints": { - "minimum": 16 - }, - "optional": true, - "nullable": true, - "schemaType": "integer", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/parallel_tool_calls", - "deprecated": false, - "key": "parallel_tool_calls", - "docstring": "Whether the delegated Responses model may request multiple tool calls in a single response.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/reasoning", - "deprecated": false, - "key": "reasoning", - "docstring": "Reasoning settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "effort" - }, - { - "ident": "summary" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/service_tier", - "deprecated": false, - "key": "service_tier", - "docstring": "Service tier for delegated Responses requests.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/service_tier", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "default" - }, - { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - }, - { - "kind": "HttpTypeLiteral", - "literal": "flex" - }, - { - "kind": "HttpTypeLiteral", - "literal": "priority" - }, - { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 2", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 3", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 4", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "Text generation settings passed to each delegated Responses request.", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "verbosity" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice", - "deprecated": false, - "key": "tool_choice", - "docstring": "Controls which tool the Responses backend uses when handling a task delegated by the Live model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice", - "types": [ - { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" - }, - { - "ident": "type" - } - ] - } - ] - }, - "optional": true, - "nullable": false, - "schemaType": "union", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools", - "deprecated": false, - "key": "tools", - "docstring": "Tools available to the Responses backend while it handles tasks delegated by the Live model.", - "type": { - "kind": "HttpTypeArray", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools", - "elementType": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools/items", - "types": [ - { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" - } - ] - } - ] - } - }, - "optional": true, - "nullable": false, - "schemaType": "array", - "childrenParentSchema": "union", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam", - "docstring": "Model, prompt, and tool settings for tasks delegated by the Live session to a Responses backend.", - "ident": "ResponsesDelegationConfig", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "model" - }, - { - "ident": "instructions" - }, - { - "ident": "max_output_tokens" - }, - { - "ident": "parallel_tool_calls" - }, - { - "ident": "reasoning" - }, - { - "ident": "service_tier" - }, - { - "ident": "text" - }, - { - "ident": "tool_choice" - }, - { - "ident": "tools" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) model", - "(resource) live > (model) responses_delegation_config > (schema) > (property) instructions", - "(resource) live > (model) responses_delegation_config > (schema) > (property) max_output_tokens", - "(resource) live > (model) responses_delegation_config > (schema) > (property) parallel_tool_calls", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning", - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools" - ] - }, - "(resource) live > (model) session_resource > (schema) > (property) delegation > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "responses" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "developer" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `input_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialInputTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "input_text" - } - ] - }, - "default": "input_text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "user" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items/oneOf/0", - "docstring": "Assistant text supplied as conversation history when starting a Live session.", - "ident": "Text", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInitialAssistantMessageItemParam/properties/content/items/oneOf/1", - "docstring": "Assistant output text supplied as conversation history when starting a Live session.", - "ident": "OutputText", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "text" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) text", - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) role > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "assistant" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "incomplete" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) status > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "completed" - } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "message" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": 16000 - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) rate > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": 24000 - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcm" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcmu" - } - }, - "(resource) live > (model) audio_format > (schema) > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "audio/pcma" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "alloy" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ash" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ballad" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "beacon" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "bossa" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "cedar" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 6": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "cinder" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 7": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "coral" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 8": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "delta" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 9": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "echo" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 10": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "gleam" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 11": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "marin" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 12": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "meridian" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 13": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "quartz" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 14": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ripple" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 15": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "sage" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 16": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "shimmer" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 17": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "stone" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 18": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "tempo" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 19": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "verse" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 20": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "vesper" - } - }, - "(resource) live > (model) session_resource > (schema) > (property) audio > (property) output > (property) voice > (variant) 1 > (member) 21": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "willow" - } - }, - "(resource) live > (model) custom_voice > (schema) > (property) id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveCustomVoiceParam/properties/id", - "deprecated": false, - "key": "id", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 128 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_client_events > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "all" - } - }, - "(resource) live > (model) data_channel_config > (schema) > (property) allowed_server_events > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "all" - } - }, - "(resource) live > (model) server_event_selector > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The outer Live server event type. Use 'response.event' for Responses events.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 256 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event_selector > (schema) > (property) response_event": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveAllowedServerEventParam/properties/response_event", - "deprecated": false, - "key": "response_event", - "docstring": "The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 256 - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "deprecated": false, - "key": "effort", - "docstring": "How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/effort", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "minimal" - }, - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - }, - { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 2", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 3", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 4", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 5" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "deprecated": false, - "key": "summary", - "docstring": "The reasoning summary to request from the delegated Responses model, when supported.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationReasoningInputParam/properties/summary", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "concise" - }, - { - "kind": "HttpTypeLiteral", - "literal": "detailed" - }, - { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "default" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "fast_tier_temp_pilot" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "flex" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "priority" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) service_tier > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "ultrafast" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "deprecated": false, - "key": "verbosity", - "docstring": "The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveDelegationTextInputParam/properties/verbosity", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "low" - }, - { - "kind": "HttpTypeLiteral", - "literal": "medium" - }, - { - "kind": "HttpTypeLiteral", - "literal": "high" - } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "ident": "LiveToolChoiceEnum", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/0", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "auto" - }, - { - "kind": "HttpTypeLiteral", - "literal": "none" - }, - { - "kind": "HttpTypeLiteral", - "literal": "required" - } - ] - }, - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/1", - "ident": "LiveFunctionToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) name", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tool_choice/oneOf/2", - "ident": "LiveMCPToolChoiceParam", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "server_label" +- `session: SessionConfig` + + Initial configuration for a primary WebSocket. Send session.start first and wait for session.started before application commands. WebRTC creation already starts the session; do not send this event again on its data channel. + + - `model: string or "gpt-live-1"` + + The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter. + + - `string` + + - `"gpt-live-1"` + + The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter. + + - `"gpt-live-1"` + + - `audio: optional object { format, output }` + + Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup. + + - `format: optional AudioFormat` + + Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately. + + - `AudioPCM object { rate, type }` + + Raw, mono 16-bit little-endian PCM audio for a Live WebSocket connection. + + - `rate: 16000 or 24000` + + Audio sample rate in hertz. Live WebSocket PCM audio supports 16000 or 24000 Hz. + + - `16000` + + - `24000` + + - `type: "audio/pcm"` + + The audio encoding. Always `audio/pcm`. + + - `"audio/pcm"` + + - `AudioPCMU object { rate, type }` + + Raw, mono G.711 μ-law audio for a Live WebSocket connection. + + - `rate: number` + + Audio sample rate in hertz. G.711 audio uses 8000 Hz. + + - `type: "audio/pcmu"` + + The audio encoding. Always `audio/pcmu`. + + - `"audio/pcmu"` + + - `AudioPCMA object { rate, type }` + + Raw, mono G.711 A-law audio for a Live WebSocket connection. + + - `rate: number` + + Audio sample rate in hertz. G.711 audio uses 8000 Hz. + + - `type: "audio/pcma"` + + The audio encoding. Always `audio/pcma`. + + - `"audio/pcma"` + + - `output: optional object { voice }` + + The voice used for speech generated by the Live model. + + - `voice: optional string or "alloy" or "ash" or "ballad" or 19 more or CustomVoice` + + The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup. + + - `string` + + - `"alloy" or "ash" or "ballad" or 19 more` + + The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup. + + - `"alloy"` + + - `"ash"` + + - `"ballad"` + + - `"beacon"` + + - `"bossa"` + + - `"cedar"` + + - `"cinder"` + + - `"coral"` + + - `"delta"` + + - `"echo"` + + - `"gleam"` + + - `"marin"` + + - `"meridian"` + + - `"quartz"` + + - `"ripple"` + + - `"sage"` + + - `"shimmer"` + + - `"stone"` + + - `"tempo"` + + - `"verse"` + + - `"vesper"` + + - `"willow"` + + - `CustomVoice object { id }` + + - `id: string` + + - `client: optional ClientConfig` + + Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected. + + - `data_channel: DataChannelConfig` + + Client and server event permissions for the WebRTC frontend data channel. + + - `allowed_client_events: optional "all" or array of string` + + Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior. + + - `"all"` + + - `"all"` + + - `array of string` + + - `allowed_server_events: optional "all" or array of ServerEventSelector` + + Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector. + + - `"all"` + + - `"all"` + + - `array of ServerEventSelector` + + - `type: string` + + The outer Live server event type. Use 'response.event' for Responses events. + + - `response_event: optional string` + + The nested Responses event type. Required when type is 'response.event'; forbidden for other event types. + + - `delegation: optional ClientDelegation or object { responses, type } or null` + + Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend. + + - `ClientDelegation object { type }` + + Delegate tasks to your application. The Live session emits delegation events that your backend handles. + + - `type: "client"` + + The delegation owner. Always `client` for tasks handled by your application. + + - `"client"` + + - `Responses object { responses, type }` + + Delegate tasks to a Responses model managed by the Live session. + + - `responses: ResponsesDelegationConfig` + + Backend model, prompt, and tools used when the Live session delegates a task to Responses. + + - `model: string` + + The model used for server-owned Responses delegations. + + - `instructions: optional string or null` + + Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](https://developers.openai.com/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). + + - `max_output_tokens: optional number or null` + + Maximum number of output tokens for each delegated response. + + - `parallel_tool_calls: optional boolean or null` + + Whether the delegated Responses model may request multiple tool calls in a single response. + + - `reasoning: optional object { effort, summary } or null` + + Reasoning settings passed to each delegated Responses request. + + - `effort: optional "none" or "minimal" or "low" or 3 more or null` + + How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model. + + - `"none"` + + - `"minimal"` + + - `"low"` + + - `"medium"` + + - `"high"` + + - `"xhigh"` + + - `summary: optional "concise" or "detailed" or "auto" or null` + + The reasoning summary to request from the delegated Responses model, when supported. + + - `"concise"` + + - `"detailed"` + + - `"auto"` + + - `service_tier: optional "auto" or "default" or "fast_tier_temp_pilot" or 3 more or null` + + Service tier for delegated Responses requests. + + - `"auto"` + + - `"default"` + + - `"fast_tier_temp_pilot"` + + - `"flex"` + + - `"priority"` + + - `"ultrafast"` + + - `text: optional object { verbosity } or null` + + Text generation settings passed to each delegated Responses request. + + - `verbosity: optional "low" or "medium" or "high" or null` + + The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `tool_choice: optional "auto" or "none" or "required" or object { name, type } or object { name, server_label, type }` + + Controls which tool the Responses backend uses when handling a task delegated by the Live model. + + - `LiveToolChoiceEnum = "auto" or "none" or "required"` + + - `"auto"` + + - `"none"` + + - `"required"` + + - `LiveFunctionToolChoiceParam object { name, type }` + + - `name: string` + + - `type: "function"` + + - `"function"` + + - `LiveMCPToolChoiceParam object { name, server_label, type }` + + - `name: string` + + - `server_label: string` + + - `type: "mcp"` + + - `"mcp"` + + - `tools: optional array of FunctionTool or object { type }` + + Tools available to the Responses backend while it handles tasks delegated by the Live model. + + - `FunctionTool object { name, type, description, 2 more }` + + A function tool available to the Responses backend when the Live model delegates a task. + + - `name: string` + + The name the delegated Responses model uses when calling this function. + + - `type: "function"` + + The tool type. Always `function`. + + - `"function"` + + - `description: optional string or null` + + What the function does and when the delegated Responses model should call it. + + - `parameters: optional map[unknown] or null` + + A JSON Schema object describing the arguments accepted by the function. + + - `strict: optional boolean or null` + + Whether the delegated Responses model must follow the function’s parameter schema exactly. + + - `WebSearch object { type }` + + A web search tool available to the Live session’s Responses backend. + + - `type: "web_search"` + + The tool type. Always `web_search`. + + - `"web_search"` + + - `type: "responses"` + + The delegation owner. Always `responses` for tasks handled by the Responses API. + + - `"responses"` + + - `input: optional array of InitialItem` + + Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total. + + - `Developer object { content, role, id, 2 more }` + + A developer message included in the initial text history of a Live session. + + - `content: array of object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "input_text"` + + The text content type. Always `input_text`. + + - `"input_text"` + + - `role: "developer"` + + The author of this history message. Always `developer`. + + - `"developer"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `User object { content, role, id, 2 more }` + + A user message included in the initial text history of a Live session. + + - `content: array of object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "input_text"` + + The text content type. Always `input_text`. + + - `"input_text"` + + - `role: "user"` + + The author of this history message. Always `user`. + + - `"user"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `Assistant object { content, role, id, 2 more }` + + An assistant message included in the initial text history of a Live session. + + - `content: array of object { text, type } or object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `Text object { text, type }` + + Assistant text supplied as conversation history when starting a Live session. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "text"` + + The text content type. Always `text`. + + - `"text"` + + - `OutputText object { text, type }` + + Assistant output text supplied as conversation history when starting a Live session. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: "output_text"` + + The text content type. Always `output_text`. + + - `"output_text"` + + - `role: "assistant"` + + The author of this history message. Always `assistant`. + + - `"assistant"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `instructions: optional string or null` + + Frontend instructions for voice, conversation, interruptions, and when to delegate. Start with the [Live prompting guide](https://developers.openai.com/api/docs/guides/live-prompting); put business rules and tool workflows in a separate [backend prompt](https://developers.openai.com/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). Limited to 16,384 client-supplied tokens. Omitted or blank instructions use server defaults. Immutable after startup. + + - `store: optional boolean` + + Whether to store the session for later forking and recording download. Defaults to false for new sessions. + +- `type: "session.start"` + + The Live client event type. Always `session.start`. + + - `"session.start"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "session.start", + "event_id": "evt_start_001", + "session": { + "model": "gpt-live-1", + "instructions": "Help the caller plan a restaurant reservation. Confirm details before booking.", + "audio": { + "format": { + "type": "audio/pcm", + "rate": 24000 }, - { - "ident": "type" + "output": { + "voice": "marin" } - ] }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) name", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label", - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeReference", - "ident": "FunctionTool", - "$ref": "(resource) live > (model) function_tool > (schema)" - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveResponsesDelegationSettingsInputParam/properties/tools/items/oneOf/1", - "docstring": "A web search tool available to the Live session’s Responses backend.", - "ident": "WebSearch", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "type" + "delegation": { + "type": "client" } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type" - ] - }, - "(resource) live > (model) function_tool > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam", - "docstring": "A function tool available to the Responses backend when the Live model delegates a task.", - "ident": "FunctionTool", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "name" - }, - { - "ident": "type" - }, - { - "ident": "description" - }, - { - "ident": "parameters" - }, - { - "ident": "strict" } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) name", - "(resource) live > (model) function_tool > (schema) > (property) type", - "(resource) live > (model) function_tool > (schema) > (property) description", - "(resource) live > (model) function_tool > (schema) > (property) parameters", - "(resource) live > (model) function_tool > (schema) > (property) strict" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 0 > (property) content > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" +} +``` + + + +### session.update + +Update the delegation settings of an active Live session. The server acknowledges accepted changes with `session.updated`. + +#### Schema + +Schema name: `LiveSessionUpdateParam` + +- `session: SessionUpdateConfig` + + Sparse delegation updates. Omitted settings retain their values. The delegation type cannot change, including resetting Responses delegation to null or client. Model, frontend instructions, audio, and startup input are immutable. + + - `delegation: optional ClientDelegation or object { type, responses } or null` + + Delegation settings to update. The delegation type must match the current session; omitted settings retain their values. + + - `ClientDelegation object { type }` + + Delegate tasks to your application. The Live session emits delegation events that your backend handles. + + - `type: "client"` + + The delegation owner. Always `client` for tasks handled by your application. + + - `"client"` + + - `Responses object { type, responses }` + + Update the Responses backend for an existing Live session without changing delegation ownership. + + - `type: "responses"` + + The delegation owner. Always `responses` for tasks handled by the Responses API. + + - `"responses"` + + - `responses: optional ResponsesDelegationUpdateConfig` + + Responses backend settings to update. Omitted settings keep their existing values. + + - `instructions: optional string or null` + + Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](https://developers.openai.com/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). + + - `max_output_tokens: optional number or null` + + Maximum number of output tokens for each delegated response. + + - `model: optional string` + + The Responses backend model to use for subsequent delegated requests. Omit to keep the current backend model. + + - `parallel_tool_calls: optional boolean or null` + + Whether the delegated Responses model may request multiple tool calls in a single response. + + - `reasoning: optional object { effort, summary } or null` + + Reasoning settings passed to each delegated Responses request. + + - `effort: optional "none" or "minimal" or "low" or 3 more or null` + + How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model. + + - `"none"` + + - `"minimal"` + + - `"low"` + + - `"medium"` + + - `"high"` + + - `"xhigh"` + + - `summary: optional "concise" or "detailed" or "auto" or null` + + The reasoning summary to request from the delegated Responses model, when supported. + + - `"concise"` + + - `"detailed"` + + - `"auto"` + + - `service_tier: optional "auto" or "default" or "fast_tier_temp_pilot" or 3 more or null` + + Service tier for delegated Responses requests. + + - `"auto"` + + - `"default"` + + - `"fast_tier_temp_pilot"` + + - `"flex"` + + - `"priority"` + + - `"ultrafast"` + + - `text: optional object { verbosity } or null` + + Text generation settings passed to each delegated Responses request. + + - `verbosity: optional "low" or "medium" or "high" or null` + + The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `tool_choice: optional "auto" or "none" or "required" or object { name, type } or object { name, server_label, type }` + + Controls which tool the Responses backend uses when handling a task delegated by the Live model. + + - `LiveToolChoiceEnum = "auto" or "none" or "required"` + + - `"auto"` + + - `"none"` + + - `"required"` + + - `LiveFunctionToolChoiceParam object { name, type }` + + - `name: string` + + - `type: "function"` + + - `"function"` + + - `LiveMCPToolChoiceParam object { name, server_label, type }` + + - `name: string` + + - `server_label: string` + + - `type: "mcp"` + + - `"mcp"` + + - `tools: optional array of FunctionTool or object { type }` + + Tools available to the Responses backend while it handles tasks delegated by the Live model. + + - `FunctionTool object { name, type, description, 2 more }` + + A function tool available to the Responses backend when the Live model delegates a task. + + - `name: string` + + The name the delegated Responses model uses when calling this function. + + - `type: "function"` + + The tool type. Always `function`. + + - `"function"` + + - `description: optional string or null` + + What the function does and when the delegated Responses model should call it. + + - `parameters: optional map[unknown] or null` + + A JSON Schema object describing the arguments accepted by the function. + + - `strict: optional boolean or null` + + Whether the delegated Responses model must follow the function’s parameter schema exactly. + + - `WebSearch object { type }` + + A web search tool available to the Live session’s Responses backend. + + - `type: "web_search"` + + The tool type. Always `web_search`. + + - `"web_search"` + +- `type: "session.update"` + + The Live client event type. Always `session.update`. + + - `"session.update"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "session.update", + "event_id": "evt_update_001", + "session": { + "delegation": { + "type": "responses", + "responses": { + "instructions": "Check restaurant availability. Ask before confirming a booking.", + "max_output_tokens": 1024 } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 1 > (property) content > (items) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "input_text" } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialTextContentPartParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "text" } +} +``` + + + +### session.input_audio.append + +Send audio to a Live session over its primary WebSocket. WebRTC and SIP sessions send audio over their media transport. + +#### Schema + +Schema name: `LiveInputAudioAppendEvent` + +- `audio: string` + + Base64-encoded raw audio in the startup-selected format, without a WAV or other container header. Primary WebSocket only; media transports use their audio track. Audio appends have no acknowledgment. Reflected sideband server events reuse this event type and audio key, with no timestamps or event_id; their audio is always mono PCM16LE at 24 kHz. + +- `type: "session.input_audio.append"` + + The Live client event type. Always `session.input_audio.append`. + + - `"session.input_audio.append"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "session.input_audio.append", + "audio": "AACAAIAAAIAAAP9/AIAAgA==" +} +``` + + + +### session.input_audio.mute + +Mute audio input to the Live model without closing the session. The server acknowledges with `session.input_audio.muted`. + +#### Schema + +Schema name: `LiveInputAudioMuteParam` + +- `type: "session.input_audio.mute"` + + The Live client event type. Always `session.input_audio.mute`. + + - `"session.input_audio.mute"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "session.input_audio.mute", + "event_id": "evt_mute_001" +} +``` + + + +### session.input_audio.unmute + +Resume audio input to a Live model after muting it. The server acknowledges with `session.input_audio.unmuted`. + +#### Schema + +Schema name: `LiveInputAudioUnmuteParam` + +- `type: "session.input_audio.unmute"` + + The Live client event type. Always `session.input_audio.unmute`. + + - `"session.input_audio.unmute"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "session.input_audio.unmute", + "event_id": "evt_unmute_001" +} +``` + + + +### session.instructions.append + +Append instructions to the Live conversation while it is running, optionally associating them with an existing client delegation. + +#### Schema + +Schema name: `LiveInstructionsAppendParam` + +- `content: string` + + Instruction text to append, limited to 500 tokens. This is a plain string, not an array of content parts. + +- `delegation_id: string or null` + + Required, nullable. Set null for general session context, or use the ID from session.delegation.created for an existing client delegation. Non-null IDs are not accepted with Responses delegation. + +- `type: "session.instructions.append"` + + The Live client event type. Always `session.instructions.append`. + + - `"session.instructions.append"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "session.instructions.append", + "event_id": "evt_instructions_001", + "delegation_id": null, + "content": "The caller prefers outdoor seating." +} +``` + + + +### session.thinking.append + +Provide silent reasoning or progress context to the Live model, optionally for an existing client delegation. + +#### Schema + +Schema name: `LiveThinkingAppendParam` + +- `content: string` + + Silent reasoning or progress context, limited to 500 tokens. It does not directly request speech, but can influence later speech and is not a secrecy boundary. + +- `delegation_id: string or null` + + Required, nullable. Set null for general session context, or use the ID from session.delegation.created for an existing client delegation. Non-null IDs are not accepted with Responses delegation. + +- `type: "session.thinking.append"` + + The Live client event type. Always `session.thinking.append`. + + - `"session.thinking.append"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "session.thinking.append", + "event_id": "evt_thinking_001", + "delegation_id": "del_abc123", + "content": "Checking availability for two guests at 7 PM." +} +``` + + + +### session.commentary.append + +Provide context the Live model can communicate to the user, optionally for an existing client delegation. + +#### Schema + +Schema name: `LiveCommentaryAppendParam` + +- `content: string` + + Speakable context for the Live model, limited to 500 tokens. Use this for a result the model should communicate; use session.thinking.append for silent context. + +- `delegation_id: string or null` + + Required, nullable. Set null for general session context, or use the ID from session.delegation.created for an existing client delegation. Non-null IDs are not accepted with Responses delegation. + +- `type: "session.commentary.append"` + + The Live client event type. Always `session.commentary.append`. + + - `"session.commentary.append"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "session.commentary.append", + "event_id": "evt_commentary_001", + "delegation_id": "del_abc123", + "content": "There is an outdoor table for two at 7 PM. Ask whether to reserve it." +} +``` + + + +### response.item.create + +Add an input item to the Live session’s Responses backend. Requires Responses delegation; use `response.create` to request a response. + +#### Schema + +Schema name: `LiveResponseItemCreateParam` + +- `item: EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more` + + An input item to append to the Responses backend conversation, such as a user message or a function tool result. + + - `EasyInputMessage object { content, role, phase, type }` + + A message input to the model with a role indicating instruction following + hierarchy. Instructions given with the `developer` or `system` role take + precedence over instructions given with the `user` role. Messages with the + `assistant` role are presumed to have been generated by the model in previous + interactions. + + - `content: string or ResponseInputMessageContentList` + + Text, image, or audio input to the model, used to generate a response. + Can also contain previous assistant responses. + + - `TextInput = string` + + A text input to the model. + + - `ResponseInputMessageContentList = array of ResponseInputContent` + + A list of one or many input items to the model, containing different content + types. + + - `ResponseInputText object { text, type, prompt_cache_breakpoint }` + + A text input to the model. + + - `text: string` + + The text input to the model. + + - `type: "input_text"` + + The type of the input item. Always `input_text`. + + - `"input_text"` + + - `prompt_cache_breakpoint: optional object { mode }` + + Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block. + + - `mode: "explicit"` + + The breakpoint mode. Always `explicit`. + + - `"explicit"` + + - `ResponseInputImage object { detail, type, file_id, 2 more }` + + An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision). + + - `detail: ImageDetail` + + The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`. + + - `"low"` + + - `"high"` + + - `"auto"` + + - `"original"` + + - `type: "input_image"` + + The type of the input item. Always `input_image`. + + - `"input_image"` + + - `file_id: optional string or null` + + The ID of the file to be sent to the model. + + - `image_url: optional string or null` + + The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL. + + - `prompt_cache_breakpoint: optional object { mode }` + + Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block. + + - `mode: "explicit"` + + The breakpoint mode. Always `explicit`. + + - `"explicit"` + + - `ResponseInputFile object { type, detail, file_data, 4 more }` + + A file input to the model. + + - `type: "input_file"` + + The type of the input item. Always `input_file`. + + - `"input_file"` + + - `detail: optional "auto" or "low" or "high"` + + The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`. + + - `"auto"` + + - `"low"` + + - `"high"` + + - `file_data: optional string` + + The content of the file to be sent to the model. + + - `file_id: optional string or null` + + The ID of the file to be sent to the model. + + - `file_url: optional string` + + The URL of the file to be sent to the model. + + - `filename: optional string` + + The name of the file to be sent to the model. + + - `prompt_cache_breakpoint: optional object { mode }` + + Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block. + + - `mode: "explicit"` + + The breakpoint mode. Always `explicit`. + + - `"explicit"` + + - `role: "user" or "assistant" or "system" or "developer"` + + The role of the message input. One of `user`, `assistant`, `system`, or + `developer`. + + - `"user"` + + - `"assistant"` + + - `"system"` + + - `"developer"` + + - `phase: optional "commentary" or "final_answer" or null` + + Labels an `assistant` message as intermediate commentary (`commentary`) or the final answer (`final_answer`). + For models like `gpt-5.3-codex` and beyond, when sending follow-up requests, preserve and resend + phase on all assistant messages — dropping it can degrade performance. Not used for user messages. + + - `"commentary"` + + - `"final_answer"` + + - `type: optional "message"` + + The type of the message input. Always `message`. + + - `"message"` + + - `Message object { content, role, status, type }` + + A message input to the model with a role indicating instruction following + hierarchy. Instructions given with the `developer` or `system` role take + precedence over instructions given with the `user` role. + + - `content: ResponseInputMessageContentList` + + A list of one or many input items to the model, containing different content + types. + + - `role: "user" or "system" or "developer"` + + The role of the message input. One of `user`, `system`, or `developer`. + + - `"user"` + + - `"system"` + + - `"developer"` + + - `status: optional "in_progress" or "completed" or "incomplete"` + + The status of item. One of `in_progress`, `completed`, or + `incomplete`. Populated when items are returned via API. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `type: optional "message"` + + The type of the message input. Always set to `message`. + + - `"message"` + + - `ResponseOutputMessage object { id, content, role, 3 more }` + + An output message from the model. + + - `id: string` + + The unique ID of the output message. + + - `content: array of ResponseOutputText or ResponseOutputRefusal` + + The content of the output message. + + - `ResponseOutputText object { annotations, logprobs, text, type }` + + A text output from the model. + + - `annotations: array of object { file_id, filename, index, type } or object { end_index, start_index, title, 2 more } or object { container_id, end_index, file_id, 3 more } or object { file_id, index, type }` + + The annotations of the text output. + + - `FileCitation object { file_id, filename, index, type }` + + A citation to a file. + + - `file_id: string` + + The ID of the file. + + - `filename: string` + + The filename of the file cited. + + - `index: number` + + The index of the file in the list of files. + + - `type: "file_citation"` + + The type of the file citation. Always `file_citation`. + + - `"file_citation"` + + - `URLCitation object { end_index, start_index, title, 2 more }` + + A citation for a web resource used to generate a model response. + + - `end_index: number` + + The index of the last character of the URL citation in the message. + + - `start_index: number` + + The index of the first character of the URL citation in the message. + + - `title: string` + + The title of the web resource. + + - `type: "url_citation"` + + The type of the URL citation. Always `url_citation`. + + - `"url_citation"` + + - `url: string` + + The URL of the web resource. + + - `ContainerFileCitation object { container_id, end_index, file_id, 3 more }` + + A citation for a container file used to generate a model response. + + - `container_id: string` + + The ID of the container file. + + - `end_index: number` + + The index of the last character of the container file citation in the message. + + - `file_id: string` + + The ID of the file. + + - `filename: string` + + The filename of the container file cited. + + - `start_index: number` + + The index of the first character of the container file citation in the message. + + - `type: "container_file_citation"` + + The type of the container file citation. Always `container_file_citation`. + + - `"container_file_citation"` + + - `FilePath object { file_id, index, type }` + + A path to a file. + + - `file_id: string` + + The ID of the file. + + - `index: number` + + The index of the file in the list of files. + + - `type: "file_path"` + + The type of the file path. Always `file_path`. + + - `"file_path"` + + - `logprobs: array of object { token, bytes, logprob, top_logprobs }` + + - `token: string` + + - `bytes: array of number` + + - `logprob: number` + + - `top_logprobs: array of object { token, bytes, logprob }` + + - `token: string` + + - `bytes: array of number` + + - `logprob: number` + + - `text: string` + + The text output from the model. + + - `type: "output_text"` + + The type of the output text. Always `output_text`. + + - `"output_text"` + + - `ResponseOutputRefusal object { refusal, type }` + + A refusal from the model. + + - `refusal: string` + + The refusal explanation from the model. + + - `type: "refusal"` + + The type of the refusal. Always `refusal`. + + - `"refusal"` + + - `role: "assistant"` + + The role of the output message. Always `assistant`. + + - `"assistant"` + + - `status: "in_progress" or "completed" or "incomplete"` + + The status of the message input. One of `in_progress`, `completed`, or + `incomplete`. Populated when input items are returned via API. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `type: "message"` + + The type of the output message. Always `message`. + + - `"message"` + + - `phase: optional "commentary" or "final_answer" or null` + + Labels an `assistant` message as intermediate commentary (`commentary`) or the final answer (`final_answer`). + For models like `gpt-5.3-codex` and beyond, when sending follow-up requests, preserve and resend + phase on all assistant messages — dropping it can degrade performance. Not used for user messages. + + - `"commentary"` + + - `"final_answer"` + + - `FileSearchCall object { id, queries, status, 2 more }` + + The results of a file search tool call. See the + [file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information. + + - `id: string` + + The unique ID of the file search tool call. + + - `queries: array of string` + + The queries used to search for files. + + - `status: "in_progress" or "searching" or "completed" or 2 more` + + The status of the file search tool call. One of `in_progress`, + `searching`, `incomplete` or `failed`, + + - `"in_progress"` + + - `"searching"` + + - `"completed"` + + - `"incomplete"` + + - `"failed"` + + - `type: "file_search_call"` + + The type of the file search tool call. Always `file_search_call`. + + - `"file_search_call"` + + - `results: optional array of object { attributes, file_id, filename, 2 more } or null` + + The results of the file search tool call. + + - `attributes: optional map[string or number or boolean] or null` + + Set of 16 key-value pairs that can be attached to an object. This can be + useful for storing additional information about the object in a structured + format, and querying for objects via API or the dashboard. Keys are strings + with a maximum length of 64 characters. Values are strings with a maximum + length of 512 characters, booleans, or numbers. + + - `string` + + - `number` + + - `boolean` + + - `file_id: optional string` + + The unique ID of the file. + + - `filename: optional string` + + The name of the file. + + - `score: optional number` + + The relevance score of the file - a value between 0 and 1. + + - `text: optional string` + + The text that was retrieved from the file. + + - `ComputerCall object { id, call_id, pending_safety_checks, 4 more }` + + A tool call to a computer use tool. See the + [computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information. + + - `id: string` + + The unique ID of the computer call. + + - `call_id: string` + + An identifier used when responding to the tool call with output. + + - `pending_safety_checks: array of object { id, code, message }` + + The pending safety checks for the computer call. + + - `id: string` + + The ID of the pending safety check. + + - `code: optional string or null` + + The type of the pending safety check. + + - `message: optional string or null` + + Details about the pending safety check. + + - `status: "in_progress" or "completed" or "incomplete"` + + The status of the item. One of `in_progress`, `completed`, or + `incomplete`. Populated when items are returned via API. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `type: "computer_call"` + + The type of the computer call. Always `computer_call`. + + - `"computer_call"` + + - `action: optional ComputerAction` + + A click action. + + - `Click object { button, type, x, 2 more }` + + A click action. + + - `button: "left" or "right" or "wheel" or 2 more` + + Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`. + + - `"left"` + + - `"right"` + + - `"wheel"` + + - `"back"` + + - `"forward"` + + - `type: "click"` + + Specifies the event type. For a click action, this property is always `click`. + + - `"click"` + + - `x: number` + + The x-coordinate where the click occurred. + + - `y: number` + + The y-coordinate where the click occurred. + + - `keys: optional array of string or null` + + The keys being held while clicking. + + - `DoubleClick object { keys, type, x, y }` + + A double click action. + + - `keys: array of string or null` + + The keys being held while double-clicking. + + - `type: "double_click"` + + Specifies the event type. For a double click action, this property is always set to `double_click`. + + - `"double_click"` + + - `x: number` + + The x-coordinate where the double click occurred. + + - `y: number` + + The y-coordinate where the double click occurred. + + - `Drag object { path, type, keys }` + + A drag action. + + - `path: array of object { x, y }` + + An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg + + ``` + [ + { x: 100, y: 200 }, + { x: 200, y: 300 } ] - }, - "default": "text", - "optional": true, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) text": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/text", - "deprecated": false, - "key": "text", - "docstring": "The message text to include in the Live session’s initial conversation history.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The text content type. Always `output_text`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInitialOutputTextContentPartParam/properties/type", - "types": [ + ``` + + - `x: number` + + The x-coordinate. + + - `y: number` + + The y-coordinate. + + - `type: "drag"` + + Specifies the event type. For a drag action, this property is always set to `drag`. + + - `"drag"` + + - `keys: optional array of string or null` + + The keys being held while dragging the mouse. + + - `Keypress object { keys, type }` + + A collection of keypresses the model would like to perform. + + - `keys: array of string` + + The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key. + + - `type: "keypress"` + + Specifies the event type. For a keypress action, this property is always set to `keypress`. + + - `"keypress"` + + - `Move object { type, x, y, keys }` + + A mouse move action. + + - `type: "move"` + + Specifies the event type. For a move action, this property is always set to `move`. + + - `"move"` + + - `x: number` + + The x-coordinate to move to. + + - `y: number` + + The y-coordinate to move to. + + - `keys: optional array of string or null` + + The keys being held while moving the mouse. + + - `Screenshot object { type }` + + A screenshot action. + + - `type: "screenshot"` + + Specifies the event type. For a screenshot action, this property is always set to `screenshot`. + + - `"screenshot"` + + - `Scroll object { scroll_x, scroll_y, type, 3 more }` + + A scroll action. + + - `scroll_x: number` + + The horizontal scroll distance. + + - `scroll_y: number` + + The vertical scroll distance. + + - `type: "scroll"` + + Specifies the event type. For a scroll action, this property is always set to `scroll`. + + - `"scroll"` + + - `x: number` + + The x-coordinate where the scroll occurred. + + - `y: number` + + The y-coordinate where the scroll occurred. + + - `keys: optional array of string or null` + + The keys being held while scrolling. + + - `Type object { text, type }` + + An action to type in text. + + - `text: string` + + The text to type. + + - `type: "type"` + + Specifies the event type. For a type action, this property is always set to `type`. + + - `"type"` + + - `Wait object { type }` + + A wait action. + + - `type: "wait"` + + Specifies the event type. For a wait action, this property is always set to `wait`. + + - `"wait"` + + - `actions: optional ComputerActionList` + + Flattened batched actions for `computer_use`. Each action includes an + `type` discriminator and action-specific fields. + + - `Click object { button, type, x, 2 more }` + + A click action. + + - `DoubleClick object { keys, type, x, y }` + + A double click action. + + - `Drag object { path, type, keys }` + + A drag action. + + - `Keypress object { keys, type }` + + A collection of keypresses the model would like to perform. + + - `Move object { type, x, y, keys }` + + A mouse move action. + + - `Screenshot object { type }` + + A screenshot action. + + - `Scroll object { scroll_x, scroll_y, type, 3 more }` + + A scroll action. + + - `Type object { text, type }` + + An action to type in text. + + - `Wait object { type }` + + A wait action. + + - `ComputerCallOutput object { call_id, output, type, 3 more }` + + The output of a computer tool call. + + - `call_id: string` + + The ID of the computer tool call that produced the output. + + - `output: ResponseComputerToolCallOutputScreenshot` + + A computer screenshot image used with the computer use tool. + + - `type: "computer_screenshot"` + + Specifies the event type. For a computer screenshot, this property is + always set to `computer_screenshot`. + + - `"computer_screenshot"` + + - `file_id: optional string` + + The identifier of an uploaded file that contains the screenshot. + + - `image_url: optional string` + + The URL of the screenshot image. + + - `type: "computer_call_output"` + + The type of the computer tool call output. Always `computer_call_output`. + + - `"computer_call_output"` + + - `id: optional string or null` + + The ID of the computer tool call output. + + - `acknowledged_safety_checks: optional array of object { id, code, message } or null` + + The safety checks reported by the API that have been acknowledged by the developer. + + - `id: string` + + The ID of the pending safety check. + + - `code: optional string or null` + + The type of the pending safety check. + + - `message: optional string or null` + + Details about the pending safety check. + + - `status: optional "in_progress" or "completed" or "incomplete" or null` + + The status of the message input. One of `in_progress`, `completed`, or `incomplete`. Populated when input items are returned via API. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `WebSearchCall object { id, action, status, type }` + + The results of a web search tool call. See the + [web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information. + + - `id: string` + + The unique ID of the web search tool call. + + - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }` + + An object describing the specific action taken in this web search call. + Includes details on how the model used the web (search, open_page, find_in_page). + + - `Search object { type, queries, query, sources }` + + Action type "search" - Performs a web search query. + + - `type: "search"` + + The action type. + + - `"search"` + + - `queries: optional array of string` + + The search queries. + + - `query: optional string` + + The search query. + + - `sources: optional array of object { type, url }` + + The sources used in the search. + + - `type: "url"` + + The type of source. Always `url`. + + - `"url"` + + - `url: string` + + The URL of the source. + + - `OpenPage object { type, url }` + + Action type "open_page" - Opens a specific URL from search results. + + - `type: "open_page"` + + The action type. + + - `"open_page"` + + - `url: optional string or null` + + The URL opened by the model. + + - `FindInPage object { pattern, type, url }` + + Action type "find_in_page": Searches for a pattern within a loaded page. + + - `pattern: string` + + The pattern or text to search for within the page. + + - `type: "find_in_page"` + + The action type. + + - `"find_in_page"` + + - `url: string` + + The URL of the page searched for the pattern. + + - `status: "in_progress" or "searching" or "completed" or 2 more` + + The status of the web search tool call. + + - `"in_progress"` + + - `"searching"` + + - `"completed"` + + - `"failed"` + + - `"incomplete"` + + - `type: "web_search_call"` + + The type of the web search tool call. Always `web_search_call`. + + - `"web_search_call"` + + - `FunctionCall object { arguments, call_id, name, 6 more }` + + A tool call to run a function. See the + [function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information. + + - `arguments: string` + + A JSON string of the arguments to pass to the function. + + - `call_id: string` + + The unique ID of the function tool call generated by the model. + + - `name: string` + + The name of the function to run. + + - `type: "function_call"` + + The type of the function tool call. Always `function_call`. + + - `"function_call"` + + - `id: optional string` + + The unique ID of the function tool call. + + - `async: optional boolean` + + Whether the function tool call runs asynchronously. + + - `caller: optional object { type } or object { caller_id, type } or null` + + The execution context that produced this tool call. + + - `Direct object { type }` + + - `type: "direct"` + + - `"direct"` + + - `Program object { caller_id, type }` + + - `caller_id: string` + + The call ID of the program item that produced this tool call. + + - `type: "program"` + + - `"program"` + + - `namespace: optional string` + + The namespace of the function to run. + + - `status: optional "in_progress" or "completed" or "incomplete"` + + The status of the item. One of `in_progress`, `completed`, or + `incomplete`. Populated when items are returned via API. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `FunctionCallOutput object { output, type, id, 5 more }` + + The output of a function tool call. + + - `output: string or array of ResponseInputTextContent or ResponseInputImageContent or ResponseInputFileContent` + + Text, image, or file output of the function tool call. + + - `string` + + A JSON string of the output of the function tool call. + + - `array of ResponseInputTextContent or ResponseInputImageContent or ResponseInputFileContent` + + An array of content outputs (text, image, file) for the function tool call. + + - `ResponseInputTextContent object { text, type, prompt_cache_breakpoint }` + + A text input to the model. + + - `text: string` + + The text input to the model. + + - `type: "input_text"` + + The type of the input item. Always `input_text`. + + - `"input_text"` + + - `prompt_cache_breakpoint: optional object { mode } or null` + + Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block. + + - `mode: "explicit"` + + The breakpoint mode. Always `explicit`. + + - `"explicit"` + + - `ResponseInputImageContent object { type, detail, file_id, 2 more }` + + An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision) + + - `type: "input_image"` + + The type of the input item. Always `input_image`. + + - `"input_image"` + + - `detail: optional ImageDetail or null` + + The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`. + + - `file_id: optional string or null` + + The ID of the file to be sent to the model. + + - `image_url: optional string or null` + + The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL. + + - `prompt_cache_breakpoint: optional object { mode } or null` + + Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block. + + - `mode: "explicit"` + + The breakpoint mode. Always `explicit`. + + - `"explicit"` + + - `ResponseInputFileContent object { type, detail, file_data, 4 more }` + + A file input to the model. + + - `type: "input_file"` + + The type of the input item. Always `input_file`. + + - `"input_file"` + + - `detail: optional "auto" or "low" or "high"` + + The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`. + + - `"auto"` + + - `"low"` + + - `"high"` + + - `file_data: optional string or null` + + The base64-encoded data of the file to be sent to the model. + + - `file_id: optional string or null` + + The ID of the file to be sent to the model. + + - `file_url: optional string or null` + + The URL of the file to be sent to the model. + + - `filename: optional string or null` + + The name of the file to be sent to the model. + + - `prompt_cache_breakpoint: optional object { mode } or null` + + Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block. + + - `mode: "explicit"` + + The breakpoint mode. Always `explicit`. + + - `"explicit"` + + - `type: "function_call_output"` + + The type of the function tool call output. Always `function_call_output`. + + - `"function_call_output"` + + - `id: optional string or null` + + The unique ID of the function tool call output. Populated when this item is returned via API. + + - `call_id: optional string or null` + + The unique ID of the function tool call generated by the model. + + - `caller: optional object { type } or object { caller_id, type } or null` + + The execution context that produced this tool call. + + - `Direct object { type }` + + - `type: "direct"` + + The caller type. Always `direct`. + + - `"direct"` + + - `Program object { caller_id, type }` + + - `caller_id: string` + + The call ID of the program item that produced this tool call. + + - `type: "program"` + + The caller type. Always `program`. + + - `"program"` + + - `name: optional string or null` + + The name of the tool that produced the output. + + - `namespace: optional string or null` + + The namespace of the tool that produced the output. + + - `status: optional "in_progress" or "completed" or "incomplete" or null` + + The status of the item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `ToolSearchCall object { arguments, type, id, 3 more }` + + - `arguments: unknown` + + The arguments supplied to the tool search call. + + - `type: "tool_search_call"` + + The item type. Always `tool_search_call`. + + - `"tool_search_call"` + + - `id: optional string or null` + + The unique ID of this tool search call. + + - `call_id: optional string or null` + + The unique ID of the tool search call generated by the model. + + - `execution: optional "server" or "client"` + + Whether tool search was executed by the server or by the client. + + - `"server"` + + - `"client"` + + - `status: optional "in_progress" or "completed" or "incomplete" or null` + + The status of the tool search call. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `ToolSearchOutput object { tools, type, id, 3 more }` + + - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more` + + The loaded tool definitions returned by the tool search output. + + - `Function object { name, parameters, strict, 6 more }` + + Defines a function in your own code the model can choose to call. Learn more about [function calling](https://developers.openai.com/api/docs/guides/function-calling). + + - `name: string` + + The name of the function to call. + + - `parameters: map[unknown] or null` + + A JSON schema object describing the parameters of the function. + + - `strict: boolean or null` + + Whether strict parameter validation is enforced for this function tool. + + - `type: "function"` + + The type of the function tool. Always `function`. + + - `"function"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `async: optional boolean` + + - `defer_loading: optional boolean` + + Whether this function is deferred and loaded via tool search. + + - `description: optional string or null` + + A description of the function. Used by the model to determine whether or not to call the function. + + - `output_schema: optional map[unknown] or null` + + A JSON schema object describing the JSON value encoded in string outputs for this function. + + - `FileSearch object { type, vector_store_ids, filters, 2 more }` + + A tool that searches for relevant content from uploaded files. Learn more about the [file search tool](https://developers.openai.com/api/docs/guides/tools-file-search). + + - `type: "file_search"` + + The type of the file search tool. Always `file_search`. + + - `"file_search"` + + - `vector_store_ids: array of string` + + The IDs of the vector stores to search. + + - `filters: optional ComparisonFilter or CompoundFilter or null` + + A filter to apply. + + - `ComparisonFilter object { key, type, value }` + + A filter used to compare a specified attribute key to a given value using a defined comparison operation. + + - `key: string` + + The key to compare against the value. + + - `type: "eq" or "ne" or "gt" or 5 more` + + Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. + + - `eq`: equals + - `ne`: not equal + - `gt`: greater than + - `gte`: greater than or equal + - `lt`: less than + - `lte`: less than or equal + - `in`: in + - `nin`: not in + + - `"eq"` + + - `"ne"` + + - `"gt"` + + - `"gte"` + + - `"lt"` + + - `"lte"` + + - `"in"` + + - `"nin"` + + - `value: string or number or boolean or array of string or number` + + The value to compare against the attribute key; supports string, number, or boolean types. + + - `string` + + - `number` + + - `boolean` + + - `array of string or number` + + - `string` + + - `number` + + - `CompoundFilter object { filters, type }` + + Combine multiple filters using `and` or `or`. + + - `filters: array of ComparisonFilter or unknown` + + Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`. + + - `ComparisonFilter object { key, type, value }` + + A filter used to compare a specified attribute key to a given value using a defined comparison operation. + + - `unknown` + + - `type: "and" or "or"` + + Type of operation: `and` or `or`. + + - `"and"` + + - `"or"` + + - `max_num_results: optional number` + + The maximum number of results to return. This number should be between 1 and 50 inclusive. + + - `ranking_options: optional object { hybrid_search, ranker, score_threshold }` + + Ranking options for search. + + - `hybrid_search: optional object { embedding_weight, text_weight }` + + Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled. + + - `embedding_weight: number` + + The weight of the embedding in the reciprocal ranking fusion. + + - `text_weight: number` + + The weight of the text in the reciprocal ranking fusion. + + - `ranker: optional "auto" or "default-2024-11-15"` + + The ranker to use for the file search. + + - `"auto"` + + - `"default-2024-11-15"` + + - `score_threshold: optional number` + + The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results. + + - `Computer object { type }` + + A tool that controls a virtual computer. Learn more about the [computer tool](https://developers.openai.com/api/docs/guides/tools-computer-use). + + - `type: "computer"` + + The type of the computer tool. Always `computer`. + + - `"computer"` + + - `ComputerUsePreview object { display_height, display_width, environment, type }` + + A tool that controls a virtual computer. Learn more about the [computer tool](https://developers.openai.com/api/docs/guides/tools-computer-use). + + - `display_height: number` + + The height of the computer display. + + - `display_width: number` + + The width of the computer display. + + - `environment: "windows" or "mac" or "linux" or 2 more` + + The type of computer environment to control. + + - `"windows"` + + - `"mac"` + + - `"linux"` + + - `"ubuntu"` + + - `"browser"` + + - `type: "computer_use_preview"` + + The type of the computer use tool. Always `computer_use_preview`. + + - `"computer_use_preview"` + + - `WebSearch object { type, external_web_access, filters, 2 more }` + + Search the Internet for sources related to the prompt. Learn more about the + [web search tool](https://developers.openai.com/api/docs/guides/tools-web-search). + + - `type: "web_search" or "web_search_2025_08_26"` + + The type of the web search tool. One of `web_search` or `web_search_2025_08_26`. + + - `"web_search"` + + - `"web_search_2025_08_26"` + + - `external_web_access: optional boolean` + + Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content. + + - `filters: optional object { allowed_domains } or null` + + Filters for the search. + + - `allowed_domains: optional array of string or null` + + Allowed domains for the search. If not provided, all domains are allowed. + Subdomains of the provided domains are allowed as well. + + Example: `["pubmed.ncbi.nlm.nih.gov"]` + + - `search_context_size: optional "low" or "medium" or "high"` + + High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `user_location: optional object { city, country, region, 2 more } or null` + + The approximate location of the user. + + - `city: optional string or null` + + Free text input for the city of the user, e.g. `San Francisco`. + + - `country: optional string or null` + + The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`. + + - `region: optional string or null` + + Free text input for the region of the user, e.g. `California`. + + - `timezone: optional string or null` + + The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`. + + - `type: optional "approximate"` + + The type of location approximation. Always `approximate`. + + - `"approximate"` + + - `Mcp object { server_label, type, allowed_callers, 9 more }` + + Give the model access to additional tools via remote Model Context Protocol + (MCP) servers. [Learn more about MCP](https://developers.openai.com/api/docs/guides/tools-connectors-mcp). + + - `server_label: string` + + A label for this MCP server, used to identify it in tool calls. + + - `type: "mcp"` + + The type of the MCP tool. Always `mcp`. + + - `"mcp"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `allowed_tools: optional array of string or object { read_only, tool_names } or null` + + List of allowed tool names or a filter object. + + - `McpAllowedTools = array of string` + + A string array of allowed tool names + + - `McpToolFilter object { read_only, tool_names }` + + A filter object to specify which tools are allowed. + + - `read_only: optional boolean` + + Indicates whether or not a tool modifies data or is read-only. If an + MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + it will match this filter. + + - `tool_names: optional array of string` + + List of allowed tool names. + + - `authorization: optional string` + + An OAuth access token that can be used with a remote MCP server, either + with a custom MCP server URL or a service connector. Your application + must handle the OAuth authorization flow and provide the token here. + + - `connector_id: optional "connector_dropbox" or "connector_gmail" or "connector_googlecalendar" or 5 more` + + Identifier for service connectors, like those available in ChatGPT. One of + `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more + about service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors). + + Currently supported `connector_id` values are: + + - Dropbox: `connector_dropbox` + - Gmail: `connector_gmail` + - Google Calendar: `connector_googlecalendar` + - Google Drive: `connector_googledrive` + - Microsoft Teams: `connector_microsoftteams` + - Outlook Calendar: `connector_outlookcalendar` + - Outlook Email: `connector_outlookemail` + - SharePoint: `connector_sharepoint` + + - `"connector_dropbox"` + + - `"connector_gmail"` + + - `"connector_googlecalendar"` + + - `"connector_googledrive"` + + - `"connector_microsoftteams"` + + - `"connector_outlookcalendar"` + + - `"connector_outlookemail"` + + - `"connector_sharepoint"` + + - `defer_loading: optional boolean` + + Whether this MCP tool is deferred and discovered via tool search. + + - `headers: optional map[string] or null` + + Optional HTTP headers to send to the MCP server. Use for authentication + or other purposes. + + - `require_approval: optional object { always, never } or "always" or "never" or null` + + Specify which of the MCP server's tools require approval. + + - `McpToolApprovalFilter object { always, never }` + + Specify which of the MCP server's tools require approval. Can be + `always`, `never`, or a filter object associated with tools + that require approval. + + - `always: optional object { read_only, tool_names }` + + A filter object to specify which tools are allowed. + + - `read_only: optional boolean` + + Indicates whether or not a tool modifies data or is read-only. If an + MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + it will match this filter. + + - `tool_names: optional array of string` + + List of allowed tool names. + + - `never: optional object { read_only, tool_names }` + + A filter object to specify which tools are allowed. + + - `read_only: optional boolean` + + Indicates whether or not a tool modifies data or is read-only. If an + MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + it will match this filter. + + - `tool_names: optional array of string` + + List of allowed tool names. + + - `McpToolApprovalSetting = "always" or "never"` + + Specify a single approval policy for all tools. One of `always` or + `never`. When set to `always`, all tools will require approval. When + set to `never`, all tools will not require approval. + + - `"always"` + + - `"never"` + + - `server_description: optional string` + + Optional description of the MCP server, used to provide more context. + + - `server_url: optional string` + + The URL for the MCP server. One of `server_url`, `connector_id`, or + `tunnel_id` must be provided. + + - `tunnel_id: optional string` + + The Secure MCP Tunnel ID to use instead of a direct server URL. One of + `server_url`, `connector_id`, or `tunnel_id` must be provided. + + - `CodeInterpreter object { container, type, allowed_callers }` + + A tool that runs Python code to help generate a response to a prompt. + + - `container: string or object { type, file_ids, memory_limit, network_policy }` + + The code interpreter container. Can be a container ID or an object that + specifies uploaded file IDs to make available to your code, along with an + optional `memory_limit` setting. + + - `string` + + The container ID. + + - `CodeInterpreterToolAuto object { type, file_ids, memory_limit, network_policy }` + + Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on. + + - `type: "auto"` + + Always `auto`. + + - `"auto"` + + - `file_ids: optional array of string` + + An optional list of uploaded files to make available to your code. + + - `memory_limit: optional "1g" or "4g" or "16g" or "64g" or null` + + The memory limit for the code interpreter container. + + - `"1g"` + + - `"4g"` + + - `"16g"` + + - `"64g"` + + - `network_policy: optional ContainerNetworkPolicyDisabled or ContainerNetworkPolicyAllowlist` + + Network access policy for the container. + + - `ContainerNetworkPolicyDisabled object { type }` + + - `type: "disabled"` + + Disable outbound network access. Always `disabled`. + + - `"disabled"` + + - `ContainerNetworkPolicyAllowlist object { allowed_domains, type, domain_secrets }` + + - `allowed_domains: array of string` + + A list of allowed domains when type is `allowlist`. + + - `type: "allowlist"` + + Allow outbound network access only to specified domains. Always `allowlist`. + + - `"allowlist"` + + - `domain_secrets: optional array of ContainerNetworkPolicyDomainSecret` + + Optional domain-scoped secrets for allowlisted domains. + + - `domain: string` + + The domain associated with the secret. + + - `name: string` + + The name of the secret to inject for the domain. + + - `value: string` + + The secret value to inject for the domain. + + - `type: "code_interpreter"` + + The type of the code interpreter tool. Always `code_interpreter`. + + - `"code_interpreter"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `ProgrammaticToolCalling object { type }` + + - `type: "programmatic_tool_calling"` + + The type of the tool. Always `programmatic_tool_calling`. + + - `"programmatic_tool_calling"` + + - `ImageGeneration object { type, action, background, 9 more }` + + A tool that generates images using the GPT image models. + + - `type: "image_generation"` + + The type of the image generation tool. Always `image_generation`. + + - `"image_generation"` + + - `action: optional "generate" or "edit" or "auto"` + + Whether to generate a new image or edit an existing image. Default: `auto`. + + - `"generate"` + + - `"edit"` + + - `"auto"` + + - `background: optional "transparent" or "opaque" or "auto"` + + Set the background of the generated image. One of `transparent`, `opaque`, + or `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including + their `2026-09-08` snapshots, support `opaque` and `transparent` + backgrounds. Transparent backgrounds are available for supported GPT Image + models. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in + preview. When using `transparent`, set the output format to `png` or `webp`. + Default: `auto`. + + - `"transparent"` + + - `"opaque"` + + - `"auto"` + + - `input_fidelity: optional "high" or "low" or null` + + Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1` and `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`. + + - `"high"` + + - `"low"` + + - `input_image_mask: optional object { file_id, image_url }` + + Optional mask for inpainting. Contains `image_url` + (string, optional) and `file_id` (string, optional). + + - `file_id: optional string` + + File ID for the mask image. + + - `image_url: optional string` + + Base64-encoded mask image. + + - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more` + + The image generation model to use. One of `gpt-image-1`, + `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`, + `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, + `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, + `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default: + `gpt-image-1`. + + - `string` + + - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more` + + The image generation model to use. One of `gpt-image-1`, + `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`, + `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, + `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, + `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default: + `gpt-image-1`. + + - `"gpt-image-1"` + + - `"gpt-image-1-mini"` + + - `"gpt-image-1.5"` + + - `"gpt-image-2"` + + - `"gpt-image-2-2026-04-21"` + + - `"gpt-image-2.5-sunburst"` + + - `"gpt-image-2.5-sunburst-2026-09-08"` + + - `"gpt-image-2.5-flare"` + + - `"gpt-image-2.5-flare-2026-09-08"` + + - `moderation: optional "auto" or "low"` + + Moderation level for the generated image. Default: `auto`. + + - `"auto"` + + - `"low"` + + - `output_compression: optional number` + + Compression level for the output image. Default: 100. + + - `output_format: optional "png" or "webp" or "jpeg"` + + The output format of the generated image. One of `png`, `webp`, or + `jpeg`. Default: `png`. + + - `"png"` + + - `"webp"` + + - `"jpeg"` + + - `partial_images: optional number` + + Number of partial images to generate in streaming mode, from 0 (default value) to 3. + + - `quality: optional "low" or "medium" or "high" or 3 more` + + The quality of the generated image. The GPT image models support `low`, + `medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, + including their `2026-09-08` snapshots, also support `xhigh` and `max`. + Default: `auto`. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `"xhigh"` + + - `"max"` + + - `"auto"` + + - `size: optional string or "1024x1024" or "1024x1536" or "1536x1024" or "auto"` + + The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`. + + - `string` + + - `"1024x1024" or "1024x1536" or "1536x1024" or "auto"` + + The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`. + + - `"1024x1024"` + + - `"1024x1536"` + + - `"1536x1024"` + + - `"auto"` + + - `LocalShell object { type }` + + A tool that allows the model to execute shell commands in a local environment. + + - `type: "local_shell"` + + The type of the local shell tool. Always `local_shell`. + + - `"local_shell"` + + - `Shell object { type, allowed_callers, environment }` + + A tool that allows the model to execute shell commands. + + - `type: "shell"` + + The type of the shell tool. Always `shell`. + + - `"shell"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `environment: optional ContainerAuto or LocalEnvironment or ContainerReference or null` + + - `ContainerAuto object { type, file_ids, memory_limit, 2 more }` + + - `type: "container_auto"` + + Automatically creates a container for this request + + - `"container_auto"` + + - `file_ids: optional array of string` + + An optional list of uploaded files to make available to your code. + + - `memory_limit: optional "1g" or "4g" or "16g" or "64g" or null` + + The memory limit for the container. + + - `"1g"` + + - `"4g"` + + - `"16g"` + + - `"64g"` + + - `network_policy: optional ContainerNetworkPolicyDisabled or ContainerNetworkPolicyAllowlist` + + Network access policy for the container. + + - `ContainerNetworkPolicyDisabled object { type }` + + - `ContainerNetworkPolicyAllowlist object { allowed_domains, type, domain_secrets }` + + - `skills: optional array of SkillReference or InlineSkill` + + An optional list of skills referenced by id or inline data. + + - `SkillReference object { skill_id, type, version }` + + - `skill_id: string` + + The ID of the referenced skill. + + - `type: "skill_reference"` + + References a skill created with the /v1/skills endpoint. + + - `"skill_reference"` + + - `version: optional string` + + Optional skill version. Use a positive integer or 'latest'. Omit for default. + + - `InlineSkill object { description, name, source, type }` + + - `description: string` + + The description of the skill. + + - `name: string` + + The name of the skill. + + - `source: InlineSkillSource` + + Inline skill payload + + - `data: string` + + Base64-encoded skill zip bundle. + + - `media_type: "application/zip"` + + The media type of the inline skill payload. Must be `application/zip`. + + - `"application/zip"` + + - `type: "base64"` + + The type of the inline skill source. Must be `base64`. + + - `"base64"` + + - `type: "inline"` + + Defines an inline skill for this request. + + - `"inline"` + + - `LocalEnvironment object { type, skills }` + + - `type: "local"` + + Use a local computer environment. + + - `"local"` + + - `skills: optional array of LocalSkill` + + An optional list of skills. + + - `description: string` + + The description of the skill. + + - `name: string` + + The name of the skill. + + - `path: string` + + The path to the directory containing the skill. + + - `ContainerReference object { container_id, type }` + + - `container_id: string` + + The ID of the referenced container. + + - `type: "container_reference"` + + References a container created with the /v1/containers endpoint + + - `"container_reference"` + + - `Custom object { name, type, allowed_callers, 4 more }` + + A custom tool that processes input using a specified format. Learn more about [custom tools](https://developers.openai.com/api/docs/guides/function-calling#custom-tools) + + - `name: string` + + The name of the custom tool, used to identify it in tool calls. + + - `type: "custom"` + + The type of the custom tool. Always `custom`. + + - `"custom"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `async: optional boolean` + + Whether the tool response can be returned asynchronously versus immediately returned on next response creation. + + - `defer_loading: optional boolean` + + Whether this tool should be deferred and discovered via tool search. + + - `description: optional string` + + Optional description of the custom tool, used to provide more context. + + - `format: optional CustomToolInputFormat` + + The input format for the custom tool. Default is unconstrained text. + + - `Text object { type }` + + Unconstrained free-form text. + + - `type: "text"` + + Unconstrained text format. Always `text`. + + - `"text"` + + - `Grammar object { definition, syntax, type }` + + A grammar defined by the user. + + - `definition: string` + + The grammar definition. + + - `syntax: "lark" or "regex"` + + The syntax of the grammar definition. One of `lark` or `regex`. + + - `"lark"` + + - `"regex"` + + - `type: "grammar"` + + Grammar format. Always `grammar`. + + - `"grammar"` + + - `Namespace object { description, name, tools, type }` + + Groups function/custom tools under a shared namespace. + + - `description: string` + + A description of the namespace shown to the model. + + - `name: string` + + The namespace name used in tool calls (for example, `crm`). + + - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }` + + The function/custom tools available inside this namespace. + + - `Function object { name, type, allowed_callers, 6 more }` + + - `name: string` + + - `type: "function"` + + - `"function"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `async: optional boolean` + + Whether the tool response can be returned asynchronously versus immediately returned on next response creation. + + - `defer_loading: optional boolean` + + Whether this function should be deferred and discovered via tool search. + + - `description: optional string or null` + + - `output_schema: optional map[unknown] or null` + + A JSON Schema describing the JSON value encoded in string outputs for this function tool. This does not describe content-array outputs. + + - `parameters: optional unknown or null` + + - `strict: optional boolean or null` + + Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise. + + - `Custom object { name, type, allowed_callers, 4 more }` + + A custom tool that processes input using a specified format. Learn more about [custom tools](https://developers.openai.com/api/docs/guides/function-calling#custom-tools) + + - `name: string` + + The name of the custom tool, used to identify it in tool calls. + + - `type: "custom"` + + The type of the custom tool. Always `custom`. + + - `"custom"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `async: optional boolean` + + Whether the tool response can be returned asynchronously versus immediately returned on next response creation. + + - `defer_loading: optional boolean` + + Whether this tool should be deferred and discovered via tool search. + + - `description: optional string` + + Optional description of the custom tool, used to provide more context. + + - `format: optional CustomToolInputFormat` + + The input format for the custom tool. Default is unconstrained text. + + - `type: "namespace"` + + The type of the tool. Always `namespace`. + + - `"namespace"` + + - `ToolSearch object { type, description, execution, parameters }` + + Hosted or BYOT tool search configuration for deferred tools. + + - `type: "tool_search"` + + The type of the tool. Always `tool_search`. + + - `"tool_search"` + + - `description: optional string or null` + + Description shown to the model for a client-executed tool search tool. + + - `execution: optional "server" or "client"` + + Whether tool search is executed by the server or by the client. + + - `"server"` + + - `"client"` + + - `parameters: optional unknown or null` + + Parameter schema for a client-executed tool search tool. + + - `WebSearchPreview object { type, search_content_types, search_context_size, user_location }` + + This tool searches the web for relevant results to use in a response. Learn more about the [web search tool](https://developers.openai.com/api/docs/guides/tools-web-search). + + - `type: "web_search_preview" or "web_search_preview_2025_03_11"` + + The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`. + + - `"web_search_preview"` + + - `"web_search_preview_2025_03_11"` + + - `search_content_types: optional array of "text" or "image"` + + - `"text"` + + - `"image"` + + - `search_context_size: optional "low" or "medium" or "high"` + + High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `user_location: optional object { type, city, country, 2 more } or null` + + The user's location. + + - `type: "approximate"` + + The type of location approximation. Always `approximate`. + + - `"approximate"` + + - `city: optional string or null` + + Free text input for the city of the user, e.g. `San Francisco`. + + - `country: optional string or null` + + The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`. + + - `region: optional string or null` + + Free text input for the region of the user, e.g. `California`. + + - `timezone: optional string or null` + + The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`. + + - `ApplyPatch object { type, allowed_callers }` + + Allows the assistant to create, delete, or update files using unified diffs. + + - `type: "apply_patch"` + + The type of the tool. Always `apply_patch`. + + - `"apply_patch"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `type: "tool_search_output"` + + The item type. Always `tool_search_output`. + + - `"tool_search_output"` + + - `id: optional string or null` + + The unique ID of this tool search output. + + - `call_id: optional string or null` + + The unique ID of the tool search call generated by the model. + + - `execution: optional "server" or "client"` + + Whether tool search was executed by the server or by the client. + + - `"server"` + + - `"client"` + + - `status: optional "in_progress" or "completed" or "incomplete" or null` + + The status of the tool search output. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `AdditionalTools object { role, tools, type, id }` + + - `role: "developer"` + + The role that provided the additional tools. Only `developer` is supported. + + - `"developer"` + + - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more` + + A list of additional tools made available at this item. + + - `Function object { name, parameters, strict, 6 more }` + + Defines a function in your own code the model can choose to call. Learn more about [function calling](https://developers.openai.com/api/docs/guides/function-calling). + + - `name: string` + + The name of the function to call. + + - `parameters: map[unknown] or null` + + A JSON schema object describing the parameters of the function. + + - `strict: boolean or null` + + Whether strict parameter validation is enforced for this function tool. + + - `type: "function"` + + The type of the function tool. Always `function`. + + - `"function"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `async: optional boolean` + + - `defer_loading: optional boolean` + + Whether this function is deferred and loaded via tool search. + + - `description: optional string or null` + + A description of the function. Used by the model to determine whether or not to call the function. + + - `output_schema: optional map[unknown] or null` + + A JSON schema object describing the JSON value encoded in string outputs for this function. + + - `FileSearch object { type, vector_store_ids, filters, 2 more }` + + A tool that searches for relevant content from uploaded files. Learn more about the [file search tool](https://developers.openai.com/api/docs/guides/tools-file-search). + + - `type: "file_search"` + + The type of the file search tool. Always `file_search`. + + - `"file_search"` + + - `vector_store_ids: array of string` + + The IDs of the vector stores to search. + + - `filters: optional ComparisonFilter or CompoundFilter or null` + + A filter to apply. + + - `ComparisonFilter object { key, type, value }` + + A filter used to compare a specified attribute key to a given value using a defined comparison operation. + + - `CompoundFilter object { filters, type }` + + Combine multiple filters using `and` or `or`. + + - `max_num_results: optional number` + + The maximum number of results to return. This number should be between 1 and 50 inclusive. + + - `ranking_options: optional object { hybrid_search, ranker, score_threshold }` + + Ranking options for search. + + - `hybrid_search: optional object { embedding_weight, text_weight }` + + Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled. + + - `embedding_weight: number` + + The weight of the embedding in the reciprocal ranking fusion. + + - `text_weight: number` + + The weight of the text in the reciprocal ranking fusion. + + - `ranker: optional "auto" or "default-2024-11-15"` + + The ranker to use for the file search. + + - `"auto"` + + - `"default-2024-11-15"` + + - `score_threshold: optional number` + + The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results. + + - `Computer object { type }` + + A tool that controls a virtual computer. Learn more about the [computer tool](https://developers.openai.com/api/docs/guides/tools-computer-use). + + - `type: "computer"` + + The type of the computer tool. Always `computer`. + + - `"computer"` + + - `ComputerUsePreview object { display_height, display_width, environment, type }` + + A tool that controls a virtual computer. Learn more about the [computer tool](https://developers.openai.com/api/docs/guides/tools-computer-use). + + - `display_height: number` + + The height of the computer display. + + - `display_width: number` + + The width of the computer display. + + - `environment: "windows" or "mac" or "linux" or 2 more` + + The type of computer environment to control. + + - `"windows"` + + - `"mac"` + + - `"linux"` + + - `"ubuntu"` + + - `"browser"` + + - `type: "computer_use_preview"` + + The type of the computer use tool. Always `computer_use_preview`. + + - `"computer_use_preview"` + + - `WebSearch object { type, external_web_access, filters, 2 more }` + + Search the Internet for sources related to the prompt. Learn more about the + [web search tool](https://developers.openai.com/api/docs/guides/tools-web-search). + + - `type: "web_search" or "web_search_2025_08_26"` + + The type of the web search tool. One of `web_search` or `web_search_2025_08_26`. + + - `"web_search"` + + - `"web_search_2025_08_26"` + + - `external_web_access: optional boolean` + + Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content. + + - `filters: optional object { allowed_domains } or null` + + Filters for the search. + + - `allowed_domains: optional array of string or null` + + Allowed domains for the search. If not provided, all domains are allowed. + Subdomains of the provided domains are allowed as well. + + Example: `["pubmed.ncbi.nlm.nih.gov"]` + + - `search_context_size: optional "low" or "medium" or "high"` + + High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `user_location: optional object { city, country, region, 2 more } or null` + + The approximate location of the user. + + - `city: optional string or null` + + Free text input for the city of the user, e.g. `San Francisco`. + + - `country: optional string or null` + + The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`. + + - `region: optional string or null` + + Free text input for the region of the user, e.g. `California`. + + - `timezone: optional string or null` + + The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`. + + - `type: optional "approximate"` + + The type of location approximation. Always `approximate`. + + - `"approximate"` + + - `Mcp object { server_label, type, allowed_callers, 9 more }` + + Give the model access to additional tools via remote Model Context Protocol + (MCP) servers. [Learn more about MCP](https://developers.openai.com/api/docs/guides/tools-connectors-mcp). + + - `server_label: string` + + A label for this MCP server, used to identify it in tool calls. + + - `type: "mcp"` + + The type of the MCP tool. Always `mcp`. + + - `"mcp"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `allowed_tools: optional array of string or object { read_only, tool_names } or null` + + List of allowed tool names or a filter object. + + - `McpAllowedTools = array of string` + + A string array of allowed tool names + + - `McpToolFilter object { read_only, tool_names }` + + A filter object to specify which tools are allowed. + + - `read_only: optional boolean` + + Indicates whether or not a tool modifies data or is read-only. If an + MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + it will match this filter. + + - `tool_names: optional array of string` + + List of allowed tool names. + + - `authorization: optional string` + + An OAuth access token that can be used with a remote MCP server, either + with a custom MCP server URL or a service connector. Your application + must handle the OAuth authorization flow and provide the token here. + + - `connector_id: optional "connector_dropbox" or "connector_gmail" or "connector_googlecalendar" or 5 more` + + Identifier for service connectors, like those available in ChatGPT. One of + `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more + about service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors). + + Currently supported `connector_id` values are: + + - Dropbox: `connector_dropbox` + - Gmail: `connector_gmail` + - Google Calendar: `connector_googlecalendar` + - Google Drive: `connector_googledrive` + - Microsoft Teams: `connector_microsoftteams` + - Outlook Calendar: `connector_outlookcalendar` + - Outlook Email: `connector_outlookemail` + - SharePoint: `connector_sharepoint` + + - `"connector_dropbox"` + + - `"connector_gmail"` + + - `"connector_googlecalendar"` + + - `"connector_googledrive"` + + - `"connector_microsoftteams"` + + - `"connector_outlookcalendar"` + + - `"connector_outlookemail"` + + - `"connector_sharepoint"` + + - `defer_loading: optional boolean` + + Whether this MCP tool is deferred and discovered via tool search. + + - `headers: optional map[string] or null` + + Optional HTTP headers to send to the MCP server. Use for authentication + or other purposes. + + - `require_approval: optional object { always, never } or "always" or "never" or null` + + Specify which of the MCP server's tools require approval. + + - `McpToolApprovalFilter object { always, never }` + + Specify which of the MCP server's tools require approval. Can be + `always`, `never`, or a filter object associated with tools + that require approval. + + - `always: optional object { read_only, tool_names }` + + A filter object to specify which tools are allowed. + + - `read_only: optional boolean` + + Indicates whether or not a tool modifies data or is read-only. If an + MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + it will match this filter. + + - `tool_names: optional array of string` + + List of allowed tool names. + + - `never: optional object { read_only, tool_names }` + + A filter object to specify which tools are allowed. + + - `read_only: optional boolean` + + Indicates whether or not a tool modifies data or is read-only. If an + MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + it will match this filter. + + - `tool_names: optional array of string` + + List of allowed tool names. + + - `McpToolApprovalSetting = "always" or "never"` + + Specify a single approval policy for all tools. One of `always` or + `never`. When set to `always`, all tools will require approval. When + set to `never`, all tools will not require approval. + + - `"always"` + + - `"never"` + + - `server_description: optional string` + + Optional description of the MCP server, used to provide more context. + + - `server_url: optional string` + + The URL for the MCP server. One of `server_url`, `connector_id`, or + `tunnel_id` must be provided. + + - `tunnel_id: optional string` + + The Secure MCP Tunnel ID to use instead of a direct server URL. One of + `server_url`, `connector_id`, or `tunnel_id` must be provided. + + - `CodeInterpreter object { container, type, allowed_callers }` + + A tool that runs Python code to help generate a response to a prompt. + + - `container: string or object { type, file_ids, memory_limit, network_policy }` + + The code interpreter container. Can be a container ID or an object that + specifies uploaded file IDs to make available to your code, along with an + optional `memory_limit` setting. + + - `string` + + The container ID. + + - `CodeInterpreterToolAuto object { type, file_ids, memory_limit, network_policy }` + + Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on. + + - `type: "auto"` + + Always `auto`. + + - `"auto"` + + - `file_ids: optional array of string` + + An optional list of uploaded files to make available to your code. + + - `memory_limit: optional "1g" or "4g" or "16g" or "64g" or null` + + The memory limit for the code interpreter container. + + - `"1g"` + + - `"4g"` + + - `"16g"` + + - `"64g"` + + - `network_policy: optional ContainerNetworkPolicyDisabled or ContainerNetworkPolicyAllowlist` + + Network access policy for the container. + + - `ContainerNetworkPolicyDisabled object { type }` + + - `ContainerNetworkPolicyAllowlist object { allowed_domains, type, domain_secrets }` + + - `type: "code_interpreter"` + + The type of the code interpreter tool. Always `code_interpreter`. + + - `"code_interpreter"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `ProgrammaticToolCalling object { type }` + + - `type: "programmatic_tool_calling"` + + The type of the tool. Always `programmatic_tool_calling`. + + - `"programmatic_tool_calling"` + + - `ImageGeneration object { type, action, background, 9 more }` + + A tool that generates images using the GPT image models. + + - `type: "image_generation"` + + The type of the image generation tool. Always `image_generation`. + + - `"image_generation"` + + - `action: optional "generate" or "edit" or "auto"` + + Whether to generate a new image or edit an existing image. Default: `auto`. + + - `"generate"` + + - `"edit"` + + - `"auto"` + + - `background: optional "transparent" or "opaque" or "auto"` + + Set the background of the generated image. One of `transparent`, `opaque`, + or `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including + their `2026-09-08` snapshots, support `opaque` and `transparent` + backgrounds. Transparent backgrounds are available for supported GPT Image + models. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in + preview. When using `transparent`, set the output format to `png` or `webp`. + Default: `auto`. + + - `"transparent"` + + - `"opaque"` + + - `"auto"` + + - `input_fidelity: optional "high" or "low" or null` + + Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1` and `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`. + + - `"high"` + + - `"low"` + + - `input_image_mask: optional object { file_id, image_url }` + + Optional mask for inpainting. Contains `image_url` + (string, optional) and `file_id` (string, optional). + + - `file_id: optional string` + + File ID for the mask image. + + - `image_url: optional string` + + Base64-encoded mask image. + + - `model: optional string or "gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more` + + The image generation model to use. One of `gpt-image-1`, + `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`, + `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, + `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, + `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default: + `gpt-image-1`. + + - `string` + + - `"gpt-image-1" or "gpt-image-1-mini" or "gpt-image-1.5" or 6 more` + + The image generation model to use. One of `gpt-image-1`, + `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`, + `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, + `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, + `gpt-image-2.5-flare-2026-09-08`, or `chatgpt-image-latest`. Default: + `gpt-image-1`. + + - `"gpt-image-1"` + + - `"gpt-image-1-mini"` + + - `"gpt-image-1.5"` + + - `"gpt-image-2"` + + - `"gpt-image-2-2026-04-21"` + + - `"gpt-image-2.5-sunburst"` + + - `"gpt-image-2.5-sunburst-2026-09-08"` + + - `"gpt-image-2.5-flare"` + + - `"gpt-image-2.5-flare-2026-09-08"` + + - `moderation: optional "auto" or "low"` + + Moderation level for the generated image. Default: `auto`. + + - `"auto"` + + - `"low"` + + - `output_compression: optional number` + + Compression level for the output image. Default: 100. + + - `output_format: optional "png" or "webp" or "jpeg"` + + The output format of the generated image. One of `png`, `webp`, or + `jpeg`. Default: `png`. + + - `"png"` + + - `"webp"` + + - `"jpeg"` + + - `partial_images: optional number` + + Number of partial images to generate in streaming mode, from 0 (default value) to 3. + + - `quality: optional "low" or "medium" or "high" or 3 more` + + The quality of the generated image. The GPT image models support `low`, + `medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, + including their `2026-09-08` snapshots, also support `xhigh` and `max`. + Default: `auto`. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `"xhigh"` + + - `"max"` + + - `"auto"` + + - `size: optional string or "1024x1024" or "1024x1536" or "1536x1024" or "auto"` + + The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`. + + - `string` + + - `"1024x1024" or "1024x1536" or "1536x1024" or "auto"` + + The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`. + + - `"1024x1024"` + + - `"1024x1536"` + + - `"1536x1024"` + + - `"auto"` + + - `LocalShell object { type }` + + A tool that allows the model to execute shell commands in a local environment. + + - `type: "local_shell"` + + The type of the local shell tool. Always `local_shell`. + + - `"local_shell"` + + - `Shell object { type, allowed_callers, environment }` + + A tool that allows the model to execute shell commands. + + - `type: "shell"` + + The type of the shell tool. Always `shell`. + + - `"shell"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `environment: optional ContainerAuto or LocalEnvironment or ContainerReference or null` + + - `ContainerAuto object { type, file_ids, memory_limit, 2 more }` + + - `LocalEnvironment object { type, skills }` + + - `ContainerReference object { container_id, type }` + + - `Custom object { name, type, allowed_callers, 4 more }` + + A custom tool that processes input using a specified format. Learn more about [custom tools](https://developers.openai.com/api/docs/guides/function-calling#custom-tools) + + - `name: string` + + The name of the custom tool, used to identify it in tool calls. + + - `type: "custom"` + + The type of the custom tool. Always `custom`. + + - `"custom"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `async: optional boolean` + + Whether the tool response can be returned asynchronously versus immediately returned on next response creation. + + - `defer_loading: optional boolean` + + Whether this tool should be deferred and discovered via tool search. + + - `description: optional string` + + Optional description of the custom tool, used to provide more context. + + - `format: optional CustomToolInputFormat` + + The input format for the custom tool. Default is unconstrained text. + + - `Namespace object { description, name, tools, type }` + + Groups function/custom tools under a shared namespace. + + - `description: string` + + A description of the namespace shown to the model. + + - `name: string` + + The namespace name used in tool calls (for example, `crm`). + + - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }` + + The function/custom tools available inside this namespace. + + - `Function object { name, type, allowed_callers, 6 more }` + + - `name: string` + + - `type: "function"` + + - `"function"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `async: optional boolean` + + Whether the tool response can be returned asynchronously versus immediately returned on next response creation. + + - `defer_loading: optional boolean` + + Whether this function should be deferred and discovered via tool search. + + - `description: optional string or null` + + - `output_schema: optional map[unknown] or null` + + A JSON Schema describing the JSON value encoded in string outputs for this function tool. This does not describe content-array outputs. + + - `parameters: optional unknown or null` + + - `strict: optional boolean or null` + + Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise. + + - `Custom object { name, type, allowed_callers, 4 more }` + + A custom tool that processes input using a specified format. Learn more about [custom tools](https://developers.openai.com/api/docs/guides/function-calling#custom-tools) + + - `name: string` + + The name of the custom tool, used to identify it in tool calls. + + - `type: "custom"` + + The type of the custom tool. Always `custom`. + + - `"custom"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `async: optional boolean` + + Whether the tool response can be returned asynchronously versus immediately returned on next response creation. + + - `defer_loading: optional boolean` + + Whether this tool should be deferred and discovered via tool search. + + - `description: optional string` + + Optional description of the custom tool, used to provide more context. + + - `format: optional CustomToolInputFormat` + + The input format for the custom tool. Default is unconstrained text. + + - `type: "namespace"` + + The type of the tool. Always `namespace`. + + - `"namespace"` + + - `ToolSearch object { type, description, execution, parameters }` + + Hosted or BYOT tool search configuration for deferred tools. + + - `type: "tool_search"` + + The type of the tool. Always `tool_search`. + + - `"tool_search"` + + - `description: optional string or null` + + Description shown to the model for a client-executed tool search tool. + + - `execution: optional "server" or "client"` + + Whether tool search is executed by the server or by the client. + + - `"server"` + + - `"client"` + + - `parameters: optional unknown or null` + + Parameter schema for a client-executed tool search tool. + + - `WebSearchPreview object { type, search_content_types, search_context_size, user_location }` + + This tool searches the web for relevant results to use in a response. Learn more about the [web search tool](https://developers.openai.com/api/docs/guides/tools-web-search). + + - `type: "web_search_preview" or "web_search_preview_2025_03_11"` + + The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`. + + - `"web_search_preview"` + + - `"web_search_preview_2025_03_11"` + + - `search_content_types: optional array of "text" or "image"` + + - `"text"` + + - `"image"` + + - `search_context_size: optional "low" or "medium" or "high"` + + High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `user_location: optional object { type, city, country, 2 more } or null` + + The user's location. + + - `type: "approximate"` + + The type of location approximation. Always `approximate`. + + - `"approximate"` + + - `city: optional string or null` + + Free text input for the city of the user, e.g. `San Francisco`. + + - `country: optional string or null` + + The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`. + + - `region: optional string or null` + + Free text input for the region of the user, e.g. `California`. + + - `timezone: optional string or null` + + The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`. + + - `ApplyPatch object { type, allowed_callers }` + + Allows the assistant to create, delete, or update files using unified diffs. + + - `type: "apply_patch"` + + The type of the tool. Always `apply_patch`. + + - `"apply_patch"` + + - `allowed_callers: optional array of "direct" or "programmatic" or null` + + The tool invocation context(s). + + - `"direct"` + + - `"programmatic"` + + - `type: "additional_tools"` + + The item type. Always `additional_tools`. + + - `"additional_tools"` + + - `id: optional string or null` + + The unique ID of this additional tools item. + + - `ConfigurationUpdate object { type, id, reasoning }` + + An update to the conversation's response configuration. The configuration + remains in effect for subsequent responses until it is replaced by another + configuration update. + + - `type: "configuration_update"` + + The item type. Always `configuration_update`. + + - `"configuration_update"` + + - `id: optional string or null` + + The unique ID of the configuration update item. + + - `reasoning: optional object { effort }` + + Updates to reasoning configuration. Only effort is supported. + + - `effort: optional ReasoningEffort or null` + + The reasoning effort to use for subsequent responses until another + configuration update replaces it. + + - `"none"` + + - `"minimal"` + + - `"low"` + + - `"medium"` + + - `"high"` + + - `"xhigh"` + + - `"max"` + + - `Reasoning object { id, summary, type, 3 more }` + + A description of the chain of thought used by a reasoning model while generating + a response. Be sure to include these items in your `input` to the Responses API + for subsequent turns of a conversation if you are manually + [managing context](https://developers.openai.com/api/docs/guides/conversation-state). + + - `id: string` + + The unique identifier of the reasoning content. + + - `summary: array of SummaryTextContent` + + Reasoning summary content. + + - `text: string` + + A summary of the reasoning output from the model so far. + + - `type: "summary_text"` + + The type of the object. Always `summary_text`. + + - `"summary_text"` + + - `type: "reasoning"` + + The type of the object. Always `reasoning`. + + - `"reasoning"` + + - `content: optional array of object { text, type }` + + Reasoning text content. + + - `text: string` + + The reasoning text from the model. + + - `type: "reasoning_text"` + + The type of the reasoning text. Always `reasoning_text`. + + - `"reasoning_text"` + + - `encrypted_content: optional string or null` + + The encrypted content of the reasoning item. This is populated by default + for reasoning items returned by `POST /v1/responses` and WebSocket + `response.create` requests. + + When streaming, use the completed reasoning item and its + `encrypted_content` from the `response.output_item.done` event in + subsequent requests. The `encrypted_content` in + `response.output_item.added` may be incomplete. This is especially + important when `store` is `false` or when using Zero Data Retention. + + - `status: optional "in_progress" or "completed" or "incomplete"` + + The status of the item. One of `in_progress`, `completed`, or + `incomplete`. Populated when items are returned via API. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `Compaction object { encrypted_content, type, id }` + + A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact). + + - `encrypted_content: string` + + The encrypted content of the compaction summary. + + - `type: "compaction"` + + The type of the item. Always `compaction`. + + - `"compaction"` + + - `id: optional string or null` + + The ID of the compaction item. + + - `ImageGenerationCall object { id, result, status, 7 more }` + + An image generation request made by the model. + + - `id: string` + + The unique ID of the image generation call. + + - `result: string or null` + + The generated image encoded in base64. + + - `status: "in_progress" or "completed" or "generating" or "failed"` + + The status of the image generation call. + + - `"in_progress"` + + - `"completed"` + + - `"generating"` + + - `"failed"` + + - `type: "image_generation_call"` + + The type of the image generation call. Always `image_generation_call`. + + - `"image_generation_call"` + + - `action: optional "generate" or "edit" or "auto" or null` + + The action used for image generation. + + - `"generate"` + + - `"edit"` + + - `"auto"` + + - `background: optional "transparent" or "opaque" or "auto" or null` + + The background setting used for generation. + + - `"transparent"` + + - `"opaque"` + + - `"auto"` + + - `output_format: optional "png" or "webp" or "jpeg" or null` + + The output format used for generation. + + - `"png"` + + - `"webp"` + + - `"jpeg"` + + - `quality: optional "low" or "medium" or "high" or 3 more or null` + + The quality of the image generated by the image generation tool call. One of `low`, `medium`, `high`, `xhigh`, `max`, or `auto`. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `"xhigh"` + + - `"max"` + + - `"auto"` + + - `revised_prompt: optional string or null` + + The prompt that was used after any model prompt rewriting. + + - `size: optional string or "1024x1024" or "1024x1536" or "1536x1024" or null` + + The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`. + + - `string` + + - `"1024x1024" or "1024x1536" or "1536x1024"` + + The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`. + + - `"1024x1024"` + + - `"1024x1536"` + + - `"1536x1024"` + + - `CodeInterpreterCall object { id, code, container_id, 3 more }` + + A tool call to run code. + + - `id: string` + + The unique ID of the code interpreter tool call. + + - `code: string or null` + + The code to run, or null if not available. + + - `container_id: string` + + The ID of the container used to run the code. + + - `outputs: array of object { logs, type } or object { type, url } or null` + + The outputs generated by the code interpreter, such as logs or images. + Can be null if no outputs are available. + + - `Logs object { logs, type }` + + The logs output from the code interpreter. + + - `logs: string` + + The logs output from the code interpreter. + + - `type: "logs"` + + The type of the output. Always `logs`. + + - `"logs"` + + - `Image object { type, url }` + + The image output from the code interpreter. + + - `type: "image"` + + The type of the output. Always `image`. + + - `"image"` + + - `url: string` + + The URL of the image output from the code interpreter. + + - `status: "in_progress" or "completed" or "incomplete" or 2 more` + + The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `"interpreting"` + + - `"failed"` + + - `type: "code_interpreter_call"` + + The type of the code interpreter tool call. Always `code_interpreter_call`. + + - `"code_interpreter_call"` + + - `LocalShellCall object { id, action, call_id, 2 more }` + + A tool call to run a command on the local shell. + + - `id: string` + + The unique ID of the local shell call. + + - `action: object { command, env, type, 3 more }` + + Execute a shell command on the server. + + - `command: array of string` + + The command to run. + + - `env: map[string]` + + Environment variables to set for the command. + + - `type: "exec"` + + The type of the local shell action. Always `exec`. + + - `"exec"` + + - `timeout_ms: optional number or null` + + Optional timeout in milliseconds for the command. + + - `user: optional string or null` + + Optional user to run the command as. + + - `working_directory: optional string or null` + + Optional working directory to run the command in. + + - `call_id: string` + + The unique ID of the local shell tool call generated by the model. + + - `status: "in_progress" or "completed" or "incomplete"` + + The status of the local shell call. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `type: "local_shell_call"` + + The type of the local shell call. Always `local_shell_call`. + + - `"local_shell_call"` + + - `LocalShellCallOutput object { id, output, type, status }` + + The output of a local shell tool call. + + - `id: string` + + The unique ID of the local shell tool call generated by the model. + + - `output: string` + + A JSON string of the output of the local shell tool call. + + - `type: "local_shell_call_output"` + + The type of the local shell tool call output. Always `local_shell_call_output`. + + - `"local_shell_call_output"` + + - `status: optional "in_progress" or "completed" or "incomplete" or null` + + The status of the item. One of `in_progress`, `completed`, or `incomplete`. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `ShellCall object { action, call_id, type, 4 more }` + + A tool representing a request to execute one or more shell commands. + + - `action: object { commands, max_output_length, timeout_ms }` + + The shell commands and limits that describe how to run the tool call. + + - `commands: array of string` + + Ordered shell commands for the execution environment to run. + + - `max_output_length: optional number or null` + + Maximum number of UTF-8 characters to capture from combined stdout and stderr output. + + - `timeout_ms: optional number or null` + + Maximum wall-clock time in milliseconds to allow the shell commands to run. + + - `call_id: string` + + The unique ID of the shell tool call generated by the model. + + - `type: "shell_call"` + + The type of the item. Always `shell_call`. + + - `"shell_call"` + + - `id: optional string or null` + + The unique ID of the shell tool call. Populated when this item is returned via API. + + - `caller: optional object { type } or object { caller_id, type } or null` + + The execution context that produced this tool call. + + - `Direct object { type }` + + - `type: "direct"` + + The caller type. Always `direct`. + + - `"direct"` + + - `Program object { caller_id, type }` + + - `caller_id: string` + + The call ID of the program item that produced this tool call. + + - `type: "program"` + + The caller type. Always `program`. + + - `"program"` + + - `environment: optional LocalEnvironment or ContainerReference or null` + + The environment to execute the shell commands in. + + - `LocalEnvironment object { type, skills }` + + - `ContainerReference object { container_id, type }` + + - `status: optional "in_progress" or "completed" or "incomplete" or null` + + The status of the shell call. One of `in_progress`, `completed`, or `incomplete`. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `ShellCallOutput object { call_id, output, type, 4 more }` + + The streamed output items emitted by a shell tool call. + + - `call_id: string` + + The unique ID of the shell tool call generated by the model. + + - `output: array of ResponseFunctionShellCallOutputContent` + + Captured chunks of stdout and stderr output, along with their associated outcomes. + + - `outcome: object { type } or object { exit_code, type }` + + The exit or timeout outcome associated with this shell call. + + - `Timeout object { type }` + + Indicates that the shell call exceeded its configured time limit. + + - `type: "timeout"` + + The outcome type. Always `timeout`. + + - `"timeout"` + + - `Exit object { exit_code, type }` + + Indicates that the shell commands finished and returned an exit code. + + - `exit_code: number` + + The exit code returned by the shell process. + + - `type: "exit"` + + The outcome type. Always `exit`. + + - `"exit"` + + - `stderr: string` + + Captured stderr output for the shell call. + + - `stdout: string` + + Captured stdout output for the shell call. + + - `type: "shell_call_output"` + + The type of the item. Always `shell_call_output`. + + - `"shell_call_output"` + + - `id: optional string or null` + + The unique ID of the shell tool call output. Populated when this item is returned via API. + + - `caller: optional object { type } or object { caller_id, type } or null` + + The execution context that produced this tool call. + + - `Direct object { type }` + + - `type: "direct"` + + The caller type. Always `direct`. + + - `"direct"` + + - `Program object { caller_id, type }` + + - `caller_id: string` + + The call ID of the program item that produced this tool call. + + - `type: "program"` + + The caller type. Always `program`. + + - `"program"` + + - `max_output_length: optional number or null` + + The maximum number of UTF-8 characters captured for this shell call's combined output. + + - `status: optional "in_progress" or "completed" or "incomplete" or null` + + The status of the shell call output. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `ApplyPatchCall object { call_id, operation, status, 3 more }` + + A tool call representing a request to create, delete, or update files using diff patches. + + - `call_id: string` + + The unique ID of the apply patch tool call generated by the model. + + - `operation: object { diff, path, type } or object { path, type } or object { diff, path, type }` + + The specific create, delete, or update instruction for the apply_patch tool call. + + - `CreateFile object { diff, path, type }` + + Instruction for creating a new file via the apply_patch tool. + + - `diff: string` + + Unified diff content to apply when creating the file. + + - `path: string` + + Path of the file to create relative to the workspace root. + + - `type: "create_file"` + + The operation type. Always `create_file`. + + - `"create_file"` + + - `DeleteFile object { path, type }` + + Instruction for deleting an existing file via the apply_patch tool. + + - `path: string` + + Path of the file to delete relative to the workspace root. + + - `type: "delete_file"` + + The operation type. Always `delete_file`. + + - `"delete_file"` + + - `UpdateFile object { diff, path, type }` + + Instruction for updating an existing file via the apply_patch tool. + + - `diff: string` + + Unified diff content to apply to the existing file. + + - `path: string` + + Path of the file to update relative to the workspace root. + + - `type: "update_file"` + + The operation type. Always `update_file`. + + - `"update_file"` + + - `status: "in_progress" or "completed"` + + The status of the apply patch tool call. One of `in_progress` or `completed`. + + - `"in_progress"` + + - `"completed"` + + - `type: "apply_patch_call"` + + The type of the item. Always `apply_patch_call`. + + - `"apply_patch_call"` + + - `id: optional string or null` + + The unique ID of the apply patch tool call. Populated when this item is returned via API. + + - `caller: optional object { type } or object { caller_id, type } or null` + + The execution context that produced this tool call. + + - `Direct object { type }` + + - `type: "direct"` + + The caller type. Always `direct`. + + - `"direct"` + + - `Program object { caller_id, type }` + + - `caller_id: string` + + The call ID of the program item that produced this tool call. + + - `type: "program"` + + The caller type. Always `program`. + + - `"program"` + + - `ApplyPatchCallOutput object { call_id, status, type, 3 more }` + + The streamed output emitted by an apply patch tool call. + + - `call_id: string` + + The unique ID of the apply patch tool call generated by the model. + + - `status: "completed" or "failed"` + + The status of the apply patch tool call output. One of `completed` or `failed`. + + - `"completed"` + + - `"failed"` + + - `type: "apply_patch_call_output"` + + The type of the item. Always `apply_patch_call_output`. + + - `"apply_patch_call_output"` + + - `id: optional string or null` + + The unique ID of the apply patch tool call output. Populated when this item is returned via API. + + - `caller: optional object { type } or object { caller_id, type } or null` + + The execution context that produced this tool call. + + - `Direct object { type }` + + - `type: "direct"` + + The caller type. Always `direct`. + + - `"direct"` + + - `Program object { caller_id, type }` + + - `caller_id: string` + + The call ID of the program item that produced this tool call. + + - `type: "program"` + + The caller type. Always `program`. + + - `"program"` + + - `output: optional string or null` + + Optional human-readable log text from the apply patch tool (e.g., patch results or errors). + + - `McpListTools object { id, server_label, tools, 2 more }` + + A list of tools available on an MCP server. + + - `id: string` + + The unique ID of the list. + + - `server_label: string` + + The label of the MCP server. + + - `tools: array of object { input_schema, name, annotations, description }` + + The tools available on the server. + + - `input_schema: unknown` + + The JSON schema describing the tool's input. + + - `name: string` + + The name of the tool. + + - `annotations: optional unknown or null` + + Additional annotations about the tool. + + - `description: optional string or null` + + The description of the tool. + + - `type: "mcp_list_tools"` + + The type of the item. Always `mcp_list_tools`. + + - `"mcp_list_tools"` + + - `error: optional string or null` + + Error message if the server could not list tools. + + - `McpApprovalRequest object { id, arguments, name, 2 more }` + + A request for human approval of a tool invocation. + + - `id: string` + + The unique ID of the approval request. + + - `arguments: string` + + A JSON string of arguments for the tool. + + - `name: string` + + The name of the tool to run. + + - `server_label: string` + + The label of the MCP server making the request. + + - `type: "mcp_approval_request"` + + The type of the item. Always `mcp_approval_request`. + + - `"mcp_approval_request"` + + - `McpApprovalResponse object { approval_request_id, approve, type, 2 more }` + + A response to an MCP approval request. + + - `approval_request_id: string` + + The ID of the approval request being answered. + + - `approve: boolean` + + Whether the request was approved. + + - `type: "mcp_approval_response"` + + The type of the item. Always `mcp_approval_response`. + + - `"mcp_approval_response"` + + - `id: optional string or null` + + The unique ID of the approval response + + - `reason: optional string or null` + + Optional reason for the decision. + + - `McpCall object { id, arguments, name, 6 more }` + + An invocation of a tool on an MCP server. + + - `id: string` + + The unique ID of the tool call. + + - `arguments: string` + + A JSON string of the arguments passed to the tool. + + - `name: string` + + The name of the tool that was run. + + - `server_label: string` + + The label of the MCP server running the tool. + + - `type: "mcp_call"` + + The type of the item. Always `mcp_call`. + + - `"mcp_call"` + + - `approval_request_id: optional string or null` + + Unique identifier for the MCP tool call approval request. + Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call. + + - `error: optional McpToolCallError or null` + + The error from the tool call, if any. + + - `McpProtocolError object { code, message, type }` + + - `code: number` + + - `message: string` + + - `type: "mcp_protocol_error"` + + - `"mcp_protocol_error"` + + - `McpToolExecutionError object { content, type }` + + - `content: unknown` + + - `type: "mcp_tool_execution_error"` + + - `"mcp_tool_execution_error"` + + - `HTTPError object { code, message, type }` + + - `code: number` + + - `message: string` + + - `type: "http_error"` + + - `"http_error"` + + - `output: optional string or null` + + The output from the tool call. + + - `status: optional "in_progress" or "completed" or "incomplete" or 2 more` + + The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`. + + - `"in_progress"` + + - `"completed"` + + - `"incomplete"` + + - `"calling"` + + - `"failed"` + + - `CustomToolCallOutput object { call_id, output, type, 2 more }` + + The output of a custom tool call from your code, being sent back to the model. + + - `call_id: string` + + The call ID, used to map this custom tool call output to a custom tool call. + + - `output: string or array of ResponseInputText or ResponseInputImage or ResponseInputFile` + + The output from the custom tool call generated by your code. + Can be a string or an list of output content. + + - `StringOutput = string` + + A string of the output of the custom tool call. + + - `OutputContentList = array of ResponseInputText or ResponseInputImage or ResponseInputFile` + + Text, image, or file output of the custom tool call. + + - `ResponseInputText object { text, type, prompt_cache_breakpoint }` + + A text input to the model. + + - `ResponseInputImage object { detail, type, file_id, 2 more }` + + An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision). + + - `ResponseInputFile object { type, detail, file_data, 4 more }` + + A file input to the model. + + - `type: "custom_tool_call_output"` + + The type of the custom tool call output. Always `custom_tool_call_output`. + + - `"custom_tool_call_output"` + + - `id: optional string` + + The unique ID of the custom tool call output in the OpenAI platform. + + - `caller: optional object { type } or object { caller_id, type } or null` + + The execution context that produced this tool call. + + - `Direct object { type }` + + - `type: "direct"` + + The caller type. Always `direct`. + + - `"direct"` + + - `Program object { caller_id, type }` + + - `caller_id: string` + + The call ID of the program item that produced this tool call. + + - `type: "program"` + + The caller type. Always `program`. + + - `"program"` + + - `CustomToolCall object { call_id, input, name, 5 more }` + + A call to a custom tool created by the model. + + - `call_id: string` + + An identifier used to map this custom tool call to a tool call output. + + - `input: string` + + The input for the custom tool call generated by the model. + + - `name: string` + + The name of the custom tool being called. + + - `type: "custom_tool_call"` + + The type of the custom tool call. Always `custom_tool_call`. + + - `"custom_tool_call"` + + - `id: optional string` + + The unique ID of the custom tool call in the OpenAI platform. + + - `async: optional boolean` + + Whether the custom tool call runs asynchronously. + + - `caller: optional object { type } or object { caller_id, type } or null` + + The execution context that produced this tool call. + + - `Direct object { type }` + + - `type: "direct"` + + - `"direct"` + + - `Program object { caller_id, type }` + + - `caller_id: string` + + The call ID of the program item that produced this tool call. + + - `type: "program"` + + - `"program"` + + - `namespace: optional string` + + The namespace of the custom tool being called. + + - `CompactionTrigger object { type, id }` + + Compacts the current context. Must be the final input item. + + - `type: "compaction_trigger"` + + The type of the item. Always `compaction_trigger`. + + - `"compaction_trigger"` + + - `id: optional string or null` + + The unique ID of this compaction trigger. + + - `ItemReference object { id, type }` + + An internal identifier for an item to reference. + + - `id: string` + + The ID of the item to reference. + + - `type: optional "item_reference" or null` + + The type of item to reference. Always `item_reference`. + + - `"item_reference"` + + - `Program object { id, call_id, code, 2 more }` + + - `id: string` + + The unique ID of this program item. + + - `call_id: string` + + The stable call ID of the program item. + + - `code: string` + + The JavaScript source executed by programmatic tool calling. + + - `fingerprint: string` + + Opaque program replay fingerprint that must be round-tripped. + + - `type: "program"` + + The item type. Always `program`. + + - `"program"` + + - `ProgramOutput object { id, call_id, result, 2 more }` + + - `id: string` + + The unique ID of this program output item. + + - `call_id: string` + + The call ID of the program item. + + - `result: string` + + The result produced by the program item. + + - `status: "completed" or "incomplete"` + + The terminal status of the program output. + + - `"completed"` + + - `"incomplete"` + + - `type: "program_output"` + + The item type. Always `program_output`. + + - `"program_output"` + +- `type: "response.item.create"` + + The Live client event type. Always `response.item.create`. + + - `"response.item.create"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "response.item.create", + "event_id": "evt_item_001", + "item": { + "type": "message", + "role": "user", + "content": [ { - "kind": "HttpTypeLiteral", - "literal": "output_text" + "type": "input_text", + "text": "Please check for a table for two at 7 PM." } ] - }, - "default": "output_text", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "minimal" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 3": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 4": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) effort > (member) 5": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "xhigh" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "concise" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "detailed" } +} +``` + + + +### response.create + +Request a response from the Live session’s Responses backend, or continue a delegated response waiting for tool results. Requires Responses delegation. + +#### Schema + +Schema name: `LiveResponseCreateParam` + +- `type: "response.create"` + + The Live client event type. Always `response.create`. + + - `"response.create"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "response.create", + "event_id": "evt_response_001" +} +``` + + + +### session.close + +Request that the Live session close. The terminal `session.closed` event contains the close reason and final usage. + +#### Schema + +Schema name: `LiveSessionCloseParam` + +- `type: "session.close"` + + The Live client event type. Always `session.close`. + + - `"session.close"` + +- `event_id: optional string or null` + + Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id. + +#### Example + +```json +{ + "type": "session.close", + "event_id": "evt_close_001" +} +``` + + + +## Server events + + + +### session.started + +Returned when a Live session has started. Contains the resolved session configuration, including server defaults. + +#### Schema + +Schema name: `LiveSessionStarted` + +- `event_id: string` + + The unique ID of the Live server event. + +- `session: SessionResource` + + The resolved Live session configuration and server-assigned session metadata. + + - `id: string` + + The unique ID of the Live session. Use this ID for sideband connections, forking, and recording download. + + - `expires_at: number` + + The Unix timestamp, in seconds, at which the Live session expires. + + - `model: string or "gpt-live-1"` + + The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter. + + - `string` + + - `"gpt-live-1"` + + The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter. + + - `"gpt-live-1"` + + - `status: "active"` + + The status of the session snapshot. Always `active`, including the final snapshot in session.closed; use the event type to determine that the session has closed. + + - `"active"` + + - `audio: optional object { format, output }` + + Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup. + + - `format: optional AudioFormat` + + Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately. + + - `AudioPCM object { rate, type }` + + Raw, mono 16-bit little-endian PCM audio for a Live WebSocket connection. + + - `rate: 16000 or 24000` + + Audio sample rate in hertz. Live WebSocket PCM audio supports 16000 or 24000 Hz. + + - `16000` + + - `24000` + + - `type: "audio/pcm"` + + The audio encoding. Always `audio/pcm`. + + - `"audio/pcm"` + + - `AudioPCMU object { rate, type }` + + Raw, mono G.711 μ-law audio for a Live WebSocket connection. + + - `rate: number` + + Audio sample rate in hertz. G.711 audio uses 8000 Hz. + + - `type: "audio/pcmu"` + + The audio encoding. Always `audio/pcmu`. + + - `"audio/pcmu"` + + - `AudioPCMA object { rate, type }` + + Raw, mono G.711 A-law audio for a Live WebSocket connection. + + - `rate: number` + + Audio sample rate in hertz. G.711 audio uses 8000 Hz. + + - `type: "audio/pcma"` + + The audio encoding. Always `audio/pcma`. + + - `"audio/pcma"` + + - `output: optional object { voice }` + + The voice used for speech generated by the Live model. + + - `voice: optional string or "alloy" or "ash" or "ballad" or 19 more or CustomVoice` + + The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup. + + - `string` + + - `"alloy" or "ash" or "ballad" or 19 more` + + The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup. + + - `"alloy"` + + - `"ash"` + + - `"ballad"` + + - `"beacon"` + + - `"bossa"` + + - `"cedar"` + + - `"cinder"` + + - `"coral"` + + - `"delta"` + + - `"echo"` + + - `"gleam"` + + - `"marin"` + + - `"meridian"` + + - `"quartz"` + + - `"ripple"` + + - `"sage"` + + - `"shimmer"` + + - `"stone"` + + - `"tempo"` + + - `"verse"` + + - `"vesper"` + + - `"willow"` + + - `CustomVoice object { id }` + + - `id: string` + + - `client: optional ClientConfig` + + Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected. + + - `data_channel: DataChannelConfig` + + Client and server event permissions for the WebRTC frontend data channel. + + - `allowed_client_events: optional "all" or array of string` + + Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior. + + - `"all"` + + - `"all"` + + - `array of string` + + - `allowed_server_events: optional "all" or array of ServerEventSelector` + + Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector. + + - `"all"` + + - `"all"` + + - `array of ServerEventSelector` + + - `type: string` + + The outer Live server event type. Use 'response.event' for Responses events. + + - `response_event: optional string` + + The nested Responses event type. Required when type is 'response.event'; forbidden for other event types. + + - `delegation: optional ClientDelegation or object { responses, type } or null` + + Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend. + + - `ClientDelegation object { type }` + + Delegate tasks to your application. The Live session emits delegation events that your backend handles. + + - `type: "client"` + + The delegation owner. Always `client` for tasks handled by your application. + + - `"client"` + + - `Responses object { responses, type }` + + Delegate tasks to a Responses model managed by the Live session. + + - `responses: ResponsesDelegationConfig` + + Backend model, prompt, and tools used when the Live session delegates a task to Responses. + + - `model: string` + + The model used for server-owned Responses delegations. + + - `instructions: optional string or null` + + Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](https://developers.openai.com/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). + + - `max_output_tokens: optional number or null` + + Maximum number of output tokens for each delegated response. + + - `parallel_tool_calls: optional boolean or null` + + Whether the delegated Responses model may request multiple tool calls in a single response. + + - `reasoning: optional object { effort, summary } or null` + + Reasoning settings passed to each delegated Responses request. + + - `effort: optional "none" or "minimal" or "low" or 3 more or null` + + How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model. + + - `"none"` + + - `"minimal"` + + - `"low"` + + - `"medium"` + + - `"high"` + + - `"xhigh"` + + - `summary: optional "concise" or "detailed" or "auto" or null` + + The reasoning summary to request from the delegated Responses model, when supported. + + - `"concise"` + + - `"detailed"` + + - `"auto"` + + - `service_tier: optional "auto" or "default" or "fast_tier_temp_pilot" or 3 more or null` + + Service tier for delegated Responses requests. + + - `"auto"` + + - `"default"` + + - `"fast_tier_temp_pilot"` + + - `"flex"` + + - `"priority"` + + - `"ultrafast"` + + - `text: optional object { verbosity } or null` + + Text generation settings passed to each delegated Responses request. + + - `verbosity: optional "low" or "medium" or "high" or null` + + The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `tool_choice: optional "auto" or "none" or "required" or object { name, type } or object { name, server_label, type }` + + Controls which tool the Responses backend uses when handling a task delegated by the Live model. + + - `LiveToolChoiceEnum = "auto" or "none" or "required"` + + - `"auto"` + + - `"none"` + + - `"required"` + + - `LiveFunctionToolChoiceParam object { name, type }` + + - `name: string` + + - `type: "function"` + + - `"function"` + + - `LiveMCPToolChoiceParam object { name, server_label, type }` + + - `name: string` + + - `server_label: string` + + - `type: "mcp"` + + - `"mcp"` + + - `tools: optional array of FunctionTool or object { type }` + + Tools available to the Responses backend while it handles tasks delegated by the Live model. + + - `FunctionTool object { name, type, description, 2 more }` + + A function tool available to the Responses backend when the Live model delegates a task. + + - `name: string` + + The name the delegated Responses model uses when calling this function. + + - `type: "function"` + + The tool type. Always `function`. + + - `"function"` + + - `description: optional string or null` + + What the function does and when the delegated Responses model should call it. + + - `parameters: optional map[unknown] or null` + + A JSON Schema object describing the arguments accepted by the function. + + - `strict: optional boolean or null` + + Whether the delegated Responses model must follow the function’s parameter schema exactly. + + - `WebSearch object { type }` + + A web search tool available to the Live session’s Responses backend. + + - `type: "web_search"` + + The tool type. Always `web_search`. + + - `"web_search"` + + - `type: "responses"` + + The delegation owner. Always `responses` for tasks handled by the Responses API. + + - `"responses"` + + - `input: optional array of InitialItem` + + Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total. + + - `Developer object { content, role, id, 2 more }` + + A developer message included in the initial text history of a Live session. + + - `content: array of object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "input_text"` + + The text content type. Always `input_text`. + + - `"input_text"` + + - `role: "developer"` + + The author of this history message. Always `developer`. + + - `"developer"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `User object { content, role, id, 2 more }` + + A user message included in the initial text history of a Live session. + + - `content: array of object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "input_text"` + + The text content type. Always `input_text`. + + - `"input_text"` + + - `role: "user"` + + The author of this history message. Always `user`. + + - `"user"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `Assistant object { content, role, id, 2 more }` + + An assistant message included in the initial text history of a Live session. + + - `content: array of object { text, type } or object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `Text object { text, type }` + + Assistant text supplied as conversation history when starting a Live session. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "text"` + + The text content type. Always `text`. + + - `"text"` + + - `OutputText object { text, type }` + + Assistant output text supplied as conversation history when starting a Live session. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: "output_text"` + + The text content type. Always `output_text`. + + - `"output_text"` + + - `role: "assistant"` + + The author of this history message. Always `assistant`. + + - `"assistant"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `instructions: optional string or null` + + Frontend instructions for voice, conversation, interruptions, and when to delegate. Start with the [Live prompting guide](https://developers.openai.com/api/docs/guides/live-prompting); put business rules and tool workflows in a separate [backend prompt](https://developers.openai.com/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). Limited to 16,384 client-supplied tokens. Omitted or blank instructions use server defaults. Immutable after startup. + + - `store: optional boolean` + + Whether to store the session for later forking and recording download. Defaults to false for new sessions. + +- `type: "session.started"` + + The event type, always `session.started`. + + - `"session.started"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.started", + "event_id": "evt_started_001", + "client_event_id": "evt_start_001", + "session": { + "id": "live_abc123", + "model": "gpt-live-1", + "status": "active", + "expires_at": 1788555600, + "instructions": "Help the caller plan a restaurant reservation. Confirm details before booking.", + "input": [], + "audio": { + "format": { + "type": "audio/pcm", + "rate": 24000 }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) reasoning > (property) summary > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "low" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "medium" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) text > (property) verbosity > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "high" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "auto" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 1": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "none" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 0 > (member) 2": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "required" - } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" - } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/name", - "deprecated": false, - "key": "name", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) server_label": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/server_label", - "deprecated": false, - "key": "server_label", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 64 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveMCPToolChoiceParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "mcp" + "output": { + "voice": "marin" } - ] - }, - "default": "mcp", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) name": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/name", - "deprecated": false, - "key": "name", - "docstring": "The name the delegated Responses model uses when calling this function.", - "type": { - "kind": "HttpTypeString" }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `function`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "function" + "delegation": { + "type": "client" } - ] - }, - "default": "function", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) function_tool > (schema) > (property) description": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/description", - "deprecated": false, - "key": "description", - "docstring": "What the function does and when the delegated Responses model should call it.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": true, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) parameters": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "deprecated": false, - "key": "parameters", - "docstring": "A JSON Schema object describing the arguments accepted by the function.", - "type": { - "kind": "HttpTypeReference", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/parameters", - "ident": "Record", - "typeParameters": [ - { - "kind": "HttpTypeString" - }, - { - "kind": "HttpTypeUnknown" } - ] - }, - "optional": true, - "nullable": true, - "schemaType": "map", - "children": [] - }, - "(resource) live > (model) function_tool > (schema) > (property) strict": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveFunctionToolInputParam/properties/strict", - "deprecated": false, - "key": "strict", - "docstring": "Whether the delegated Responses model must follow the function’s parameter schema exactly.", - "type": { - "kind": "HttpTypeBoolean" - }, - "optional": true, - "nullable": true, - "schemaType": "boolean", - "children": [] +} +``` + + + +### session.updated + +Returned when a Live session update is accepted. Contains the resolved session configuration after the update. + +#### Schema + +Schema name: `LiveSessionUpdated` + +- `event_id: string` + + The unique ID of the Live server event. + +- `session: SessionResource` + + The resolved Live session configuration and server-assigned session metadata. + + - `id: string` + + The unique ID of the Live session. Use this ID for sideband connections, forking, and recording download. + + - `expires_at: number` + + The Unix timestamp, in seconds, at which the Live session expires. + + - `model: string or "gpt-live-1"` + + The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter. + + - `string` + + - `"gpt-live-1"` + + The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter. + + - `"gpt-live-1"` + + - `status: "active"` + + The status of the session snapshot. Always `active`, including the final snapshot in session.closed; use the event type to determine that the session has closed. + + - `"active"` + + - `audio: optional object { format, output }` + + Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup. + + - `format: optional AudioFormat` + + Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately. + + - `AudioPCM object { rate, type }` + + Raw, mono 16-bit little-endian PCM audio for a Live WebSocket connection. + + - `rate: 16000 or 24000` + + Audio sample rate in hertz. Live WebSocket PCM audio supports 16000 or 24000 Hz. + + - `16000` + + - `24000` + + - `type: "audio/pcm"` + + The audio encoding. Always `audio/pcm`. + + - `"audio/pcm"` + + - `AudioPCMU object { rate, type }` + + Raw, mono G.711 μ-law audio for a Live WebSocket connection. + + - `rate: number` + + Audio sample rate in hertz. G.711 audio uses 8000 Hz. + + - `type: "audio/pcmu"` + + The audio encoding. Always `audio/pcmu`. + + - `"audio/pcmu"` + + - `AudioPCMA object { rate, type }` + + Raw, mono G.711 A-law audio for a Live WebSocket connection. + + - `rate: number` + + Audio sample rate in hertz. G.711 audio uses 8000 Hz. + + - `type: "audio/pcma"` + + The audio encoding. Always `audio/pcma`. + + - `"audio/pcma"` + + - `output: optional object { voice }` + + The voice used for speech generated by the Live model. + + - `voice: optional string or "alloy" or "ash" or "ballad" or 19 more or CustomVoice` + + The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup. + + - `string` + + - `"alloy" or "ash" or "ballad" or 19 more` + + The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup. + + - `"alloy"` + + - `"ash"` + + - `"ballad"` + + - `"beacon"` + + - `"bossa"` + + - `"cedar"` + + - `"cinder"` + + - `"coral"` + + - `"delta"` + + - `"echo"` + + - `"gleam"` + + - `"marin"` + + - `"meridian"` + + - `"quartz"` + + - `"ripple"` + + - `"sage"` + + - `"shimmer"` + + - `"stone"` + + - `"tempo"` + + - `"verse"` + + - `"vesper"` + + - `"willow"` + + - `CustomVoice object { id }` + + - `id: string` + + - `client: optional ClientConfig` + + Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected. + + - `data_channel: DataChannelConfig` + + Client and server event permissions for the WebRTC frontend data channel. + + - `allowed_client_events: optional "all" or array of string` + + Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior. + + - `"all"` + + - `"all"` + + - `array of string` + + - `allowed_server_events: optional "all" or array of ServerEventSelector` + + Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector. + + - `"all"` + + - `"all"` + + - `array of ServerEventSelector` + + - `type: string` + + The outer Live server event type. Use 'response.event' for Responses events. + + - `response_event: optional string` + + The nested Responses event type. Required when type is 'response.event'; forbidden for other event types. + + - `delegation: optional ClientDelegation or object { responses, type } or null` + + Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend. + + - `ClientDelegation object { type }` + + Delegate tasks to your application. The Live session emits delegation events that your backend handles. + + - `type: "client"` + + The delegation owner. Always `client` for tasks handled by your application. + + - `"client"` + + - `Responses object { responses, type }` + + Delegate tasks to a Responses model managed by the Live session. + + - `responses: ResponsesDelegationConfig` + + Backend model, prompt, and tools used when the Live session delegates a task to Responses. + + - `model: string` + + The model used for server-owned Responses delegations. + + - `instructions: optional string or null` + + Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](https://developers.openai.com/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). + + - `max_output_tokens: optional number or null` + + Maximum number of output tokens for each delegated response. + + - `parallel_tool_calls: optional boolean or null` + + Whether the delegated Responses model may request multiple tool calls in a single response. + + - `reasoning: optional object { effort, summary } or null` + + Reasoning settings passed to each delegated Responses request. + + - `effort: optional "none" or "minimal" or "low" or 3 more or null` + + How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model. + + - `"none"` + + - `"minimal"` + + - `"low"` + + - `"medium"` + + - `"high"` + + - `"xhigh"` + + - `summary: optional "concise" or "detailed" or "auto" or null` + + The reasoning summary to request from the delegated Responses model, when supported. + + - `"concise"` + + - `"detailed"` + + - `"auto"` + + - `service_tier: optional "auto" or "default" or "fast_tier_temp_pilot" or 3 more or null` + + Service tier for delegated Responses requests. + + - `"auto"` + + - `"default"` + + - `"fast_tier_temp_pilot"` + + - `"flex"` + + - `"priority"` + + - `"ultrafast"` + + - `text: optional object { verbosity } or null` + + Text generation settings passed to each delegated Responses request. + + - `verbosity: optional "low" or "medium" or "high" or null` + + The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `tool_choice: optional "auto" or "none" or "required" or object { name, type } or object { name, server_label, type }` + + Controls which tool the Responses backend uses when handling a task delegated by the Live model. + + - `LiveToolChoiceEnum = "auto" or "none" or "required"` + + - `"auto"` + + - `"none"` + + - `"required"` + + - `LiveFunctionToolChoiceParam object { name, type }` + + - `name: string` + + - `type: "function"` + + - `"function"` + + - `LiveMCPToolChoiceParam object { name, server_label, type }` + + - `name: string` + + - `server_label: string` + + - `type: "mcp"` + + - `"mcp"` + + - `tools: optional array of FunctionTool or object { type }` + + Tools available to the Responses backend while it handles tasks delegated by the Live model. + + - `FunctionTool object { name, type, description, 2 more }` + + A function tool available to the Responses backend when the Live model delegates a task. + + - `name: string` + + The name the delegated Responses model uses when calling this function. + + - `type: "function"` + + The tool type. Always `function`. + + - `"function"` + + - `description: optional string or null` + + What the function does and when the delegated Responses model should call it. + + - `parameters: optional map[unknown] or null` + + A JSON Schema object describing the arguments accepted by the function. + + - `strict: optional boolean or null` + + Whether the delegated Responses model must follow the function’s parameter schema exactly. + + - `WebSearch object { type }` + + A web search tool available to the Live session’s Responses backend. + + - `type: "web_search"` + + The tool type. Always `web_search`. + + - `"web_search"` + + - `type: "responses"` + + The delegation owner. Always `responses` for tasks handled by the Responses API. + + - `"responses"` + + - `input: optional array of InitialItem` + + Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total. + + - `Developer object { content, role, id, 2 more }` + + A developer message included in the initial text history of a Live session. + + - `content: array of object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "input_text"` + + The text content type. Always `input_text`. + + - `"input_text"` + + - `role: "developer"` + + The author of this history message. Always `developer`. + + - `"developer"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `User object { content, role, id, 2 more }` + + A user message included in the initial text history of a Live session. + + - `content: array of object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "input_text"` + + The text content type. Always `input_text`. + + - `"input_text"` + + - `role: "user"` + + The author of this history message. Always `user`. + + - `"user"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `Assistant object { content, role, id, 2 more }` + + An assistant message included in the initial text history of a Live session. + + - `content: array of object { text, type } or object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `Text object { text, type }` + + Assistant text supplied as conversation history when starting a Live session. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "text"` + + The text content type. Always `text`. + + - `"text"` + + - `OutputText object { text, type }` + + Assistant output text supplied as conversation history when starting a Live session. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: "output_text"` + + The text content type. Always `output_text`. + + - `"output_text"` + + - `role: "assistant"` + + The author of this history message. Always `assistant`. + + - `"assistant"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `instructions: optional string or null` + + Frontend instructions for voice, conversation, interruptions, and when to delegate. Start with the [Live prompting guide](https://developers.openai.com/api/docs/guides/live-prompting); put business rules and tool workflows in a separate [backend prompt](https://developers.openai.com/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). Limited to 16,384 client-supplied tokens. Omitted or blank instructions use server defaults. Immutable after startup. + + - `store: optional boolean` + + Whether to store the session for later forking and recording download. Defaults to false for new sessions. + +- `type: "session.updated"` + + The event type, always `session.updated`. + + - `"session.updated"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.updated", + "event_id": "evt_updated_001", + "client_event_id": "evt_update_001", + "session": { + "id": "live_def456", + "model": "gpt-live-1", + "status": "active", + "expires_at": 1788555600, + "instructions": "Help the caller plan a restaurant reservation. Confirm details before booking.", + "input": [], + "audio": { + "format": { + "type": "audio/pcm", + "rate": 24000 }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The tool type. Always `web_search`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveWebSearchToolInputParam/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "web_search" + "output": { + "voice": "marin" } - ] }, - "default": "web_search", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 0 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "text" + "delegation": { + "type": "responses", + "responses": { + "model": "gpt-6-astra", + "instructions": "Check restaurant availability. Ask before confirming a booking.", + "max_output_tokens": 1024, + "tools": [] } - }, - "(resource) live > (model) initial_item > (schema) > (variant) 2 > (property) content > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "output_text" } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" } - }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tool_choice > (variant) 2 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "mcp" +} +``` + + + +### session.input_audio.muted + +Returned when a session.input_audio.mute command is accepted. Input audio is no longer sent to the model; sideband audio reflection continues. + +#### Schema + +Schema name: `LiveInputAudioMuted` + +- `event_id: string` + + The unique ID of the Live server event. + +- `type: "session.input_audio.muted"` + + The event type, always `session.input_audio.muted`. + + - `"session.input_audio.muted"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.input_audio.muted", + "event_id": "evt_muted_001", + "client_event_id": "evt_mute_001" +} +``` + + + +### session.input_audio.unmuted + +Returned when a session.input_audio.unmute command is accepted. Input audio is sent to the model again. + +#### Schema + +Schema name: `LiveInputAudioUnmuted` + +- `event_id: string` + + The unique ID of the Live server event. + +- `type: "session.input_audio.unmuted"` + + The event type, always `session.input_audio.unmuted`. + + - `"session.input_audio.unmuted"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.input_audio.unmuted", + "event_id": "evt_unmuted_001", + "client_event_id": "evt_unmute_001" +} +``` + + + +### session.instructions.appended + +Returned when a session.instructions.append command is accepted into the Live session timeline. Acknowledges the appended instructions without guaranteeing that the model has acted on them. + +#### Schema + +Schema name: `LiveInstructionsAppended` + +- `end_ms: number` + + The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms. + +- `event_id: string` + + The unique ID of the Live server event. + +- `start_ms: number` + + The start of this event on the Live session timeline, in milliseconds from the beginning of the session. + +- `type: "session.instructions.appended"` + + The event type, always `session.instructions.appended`. + + - `"session.instructions.appended"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.instructions.appended", + "event_id": "evt_instructions_002", + "client_event_id": "evt_instructions_001", + "start_ms": 1200, + "end_ms": 1400 +} +``` + + + +### session.thinking.appended + +Returned when a session.thinking.append command is accepted into the Live session timeline. Acknowledges the added reasoning context without guaranteeing any spoken output. + +#### Schema + +Schema name: `LiveThinkingAppended` + +- `end_ms: number` + + The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms. + +- `event_id: string` + + The unique ID of the Live server event. + +- `start_ms: number` + + The start of this event on the Live session timeline, in milliseconds from the beginning of the session. + +- `type: "session.thinking.appended"` + + The event type, always `session.thinking.appended`. + + - `"session.thinking.appended"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.thinking.appended", + "event_id": "evt_thinking_002", + "client_event_id": "evt_thinking_001", + "start_ms": 4600, + "end_ms": 4800 +} +``` + + + +### session.commentary.appended + +Returned when a session.commentary.append command is accepted into the Live session timeline. Acknowledges the added commentary without guaranteeing exact wording or completed audio playback. + +#### Schema + +Schema name: `LiveCommentaryAppended` + +- `end_ms: number` + + The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms. + +- `event_id: string` + + The unique ID of the Live server event. + +- `start_ms: number` + + The start of this event on the Live session timeline, in milliseconds from the beginning of the session. + +- `type: "session.commentary.appended"` + + The event type, always `session.commentary.appended`. + + - `"session.commentary.appended"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.commentary.appended", + "event_id": "evt_commentary_002", + "client_event_id": "evt_commentary_001", + "start_ms": 5200, + "end_ms": 5400 +} +``` + + + +### session.output_audio.delta + +An audio chunk generated by the Live model. Decode and play primary WebSocket chunks in delivery order using the configured session audio format. Sideband connections receive reflected output audio with timestamps. + +#### Schema + +Schema name: `LiveOutputAudioDelta` + +- `delta: string` + + Base64-encoded raw audio. Primary WebSocket events use the session's configured format; reflected sideband events use mono PCM16LE at 24 kHz. + +- `type: "session.output_audio.delta"` + + The event type, always `session.output_audio.delta`. + + - `"session.output_audio.delta"` + +- `end_ms: optional number` + + Exclusive session-relative end in milliseconds. Required on reflected sideband events; omitted on the primary WebSocket. Dropped output frames leave gaps between reflected ranges. + +- `start_ms: optional number` + + Inclusive session-relative start in milliseconds. Required on reflected sideband events; omitted on the primary WebSocket. + +#### Example + +```json +{ + "type": "session.output_audio.delta", + "delta": "AACAAIAAAIAAAP9/AIAAgA==", + "start_ms": 1000, + "end_ms": 1200 +} +``` + + + +### session.input_transcript.delta + +A transcript fragment for user input audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event. + +#### Schema + +Schema name: `LiveInputTranscriptDelta` + +- `delta: string` + + The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript. + +- `end_ms: number` + + The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms. + +- `event_id: string` + + The unique ID of the Live server event. + +- `start_ms: number` + + The start of this event on the Live session timeline, in milliseconds from the beginning of the session. + +- `type: "session.input_transcript.delta"` + + The event type, always `session.input_transcript.delta`. + + - `"session.input_transcript.delta"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.input_transcript.delta", + "event_id": "evt_input_transcript_001", + "delta": "A table for two at seven, please.", + "start_ms": 1600, + "end_ms": 3400 +} +``` + + + +### session.output_transcript.delta + +A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event. + +#### Schema + +Schema name: `LiveOutputTranscriptDelta` + +- `delta: string` + + The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript. + +- `end_ms: number` + + The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms. + +- `event_id: string` + + The unique ID of the Live server event. + +- `start_ms: number` + + The start of this event on the Live session timeline, in milliseconds from the beginning of the session. + +- `type: "session.output_transcript.delta"` + + The event type, always `session.output_transcript.delta`. + + - `"session.output_transcript.delta"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.output_transcript.delta", + "event_id": "evt_output_transcript_001", + "delta": "Would you like me to reserve that table?", + "start_ms": 5400, + "end_ms": 7200 +} +``` + + + +### session.delegation.created + +Returned when the Live model delegates work to your application or a Responses backend. Contains delegation metadata and the position on the session timeline where the work was delegated. + +#### Schema + +Schema name: `LiveDelegationCreated` + +- `delegation: object { id, target, type, response_id }` + + The delegated work identifier and destination. This object contains metadata, not the task text. + + - `id: string` + + The unique ID of the delegation. Use this as delegation_id when replying to client-owned work or correlating Responses events. + + - `target: "client" or "responses"` + + Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend. + + - `"client" or "responses"` + + Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend. + + - `"client"` + + - `"responses"` + + - `type: "delegation"` + + The object type, always `delegation`. + + - `"delegation"` + + - `response_id: optional string` + + The ID of the Responses API response associated with a Responses delegation. Omitted for client delegations. + +- `event_id: string` + + The unique ID of the Live server event. + +- `offset_ms: number` + + The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session. + +- `type: "session.delegation.created"` + + The event type, always `session.delegation.created`. + + - `"session.delegation.created"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "session.delegation.created", + "event_id": "evt_delegation_001", + "offset_ms": 3600, + "delegation": { + "id": "del_abc123", + "type": "delegation", + "target": "client" } - }, - "(resource) live > (model) function_tool > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "function" +} +``` + + + +### response.event + +A streaming Responses API event from a backend delegated to by the Live session. Use the outer delegation_id to associate the nested stream with its Live delegation. + +#### Schema + +Schema name: `LiveResponseEvent` + +- `event: map[unknown]` + + The nested Responses streaming event. Dispatch on its type field. Response lifecycle snapshots omit input and clear instructions, tools, and output to keep messages small; consume granular output events for the generated content. + +- `event_id: string` + + The unique ID of the Live server event. + +- `type: "response.event"` + + The event type, always `response.event`. + + - `"response.event"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +- `delegation_id: optional string or null` + + The Live delegation associated with the nested Responses event. May be null or omitted when the event cannot be correlated with a delegation. + +#### Example + +```json +{ + "type": "response.event", + "event_id": "evt_response_002", + "delegation_id": "del_responses123", + "event": { + "type": "response.output_text.delta", + "item_id": "msg_abc123", + "output_index": 0, + "content_index": 0, + "delta": "An outdoor table is available at 7 PM.", + "sequence_number": 3, + "logprobs": [] } +} +``` + + + +### session.usage.updated + +Reports cumulative Live audio usage and, when available, the most recent context-window usage. Delegated Responses token usage is reported separately in response.event events. + +#### Schema + +Schema name: `LiveSessionUsageUpdated` + +- `event_id: string` + + The unique ID of the Live server event. + +- `type: "session.usage.updated"` + + The event type, always `session.usage.updated`. + + - `"session.usage.updated"` + +- `usage: SessionUsage` + + The cumulative Live audio usage so far. + + - `seconds: number` + + The cumulative Live audio duration in seconds. Do not sum this value across usage events. + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +- `context_window: optional object { usage_ratio }` + + The latest measured Live context-window usage. Omitted when the context limit is unknown. + + - `usage_ratio: number` + + The latest active context token count divided by the Live model context limit. Can decrease after compaction and may lag between measured audio frames. + +#### Example + +```json +{ + "type": "session.usage.updated", + "event_id": "evt_usage_001", + "usage": { + "seconds": 32.5 }, - "(resource) live > (model) responses_delegation_config > (schema) > (property) tools > (items) > (variant) 1 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "web_search" - } + "context_window": { + "usage_ratio": 0.12 } } ``` + + +### session.closed + +Returned after the Live session finishes finalizing, with the close reason, final session snapshot, and cumulative audio usage. A connection closing without this event does not confirm successful finalization. + +#### Schema + +Schema name: `LiveSessionClosed` + +- `event_id: string` + + The unique ID of the Live server event. + +- `reason: "close_requested" or "expired" or "content" or 2 more` + + Why the Live session ended: `close_requested` for an application close or hangup request, `expired` for the session duration limit, `content` for a safety filter, `remote_hangup` for a graceful remote disconnect, or `connection_lost` for an unexpected primary or upstream disconnection. + + - `"close_requested" or "expired" or "content" or 2 more` + + Why the Live session ended: `close_requested` for an application close or hangup request, `expired` for the session duration limit, `content` for a safety filter, `remote_hangup` for a graceful remote disconnect, or `connection_lost` for an unexpected primary or upstream disconnection. + + - `"close_requested"` + + - `"expired"` + + - `"content"` + + - `"remote_hangup"` + + - `"connection_lost"` + +- `session: SessionResource` + + The resolved Live session configuration and server-assigned session metadata. + + - `id: string` + + The unique ID of the Live session. Use this ID for sideband connections, forking, and recording download. + + - `expires_at: number` + + The Unix timestamp, in seconds, at which the Live session expires. + + - `model: string or "gpt-live-1"` + + The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter. + + - `string` + + - `"gpt-live-1"` + + The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter. + + - `"gpt-live-1"` + + - `status: "active"` + + The status of the session snapshot. Always `active`, including the final snapshot in session.closed; use the event type to determine that the session has closed. + + - `"active"` + + - `audio: optional object { format, output }` + + Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup. + + - `format: optional AudioFormat` + + Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately. + + - `AudioPCM object { rate, type }` + + Raw, mono 16-bit little-endian PCM audio for a Live WebSocket connection. + + - `rate: 16000 or 24000` + + Audio sample rate in hertz. Live WebSocket PCM audio supports 16000 or 24000 Hz. + + - `16000` + + - `24000` + + - `type: "audio/pcm"` + + The audio encoding. Always `audio/pcm`. + + - `"audio/pcm"` + + - `AudioPCMU object { rate, type }` + + Raw, mono G.711 μ-law audio for a Live WebSocket connection. + + - `rate: number` + + Audio sample rate in hertz. G.711 audio uses 8000 Hz. + + - `type: "audio/pcmu"` + + The audio encoding. Always `audio/pcmu`. + + - `"audio/pcmu"` + + - `AudioPCMA object { rate, type }` + + Raw, mono G.711 A-law audio for a Live WebSocket connection. + + - `rate: number` + + Audio sample rate in hertz. G.711 audio uses 8000 Hz. + + - `type: "audio/pcma"` + + The audio encoding. Always `audio/pcma`. + + - `"audio/pcma"` + + - `output: optional object { voice }` + + The voice used for speech generated by the Live model. + + - `voice: optional string or "alloy" or "ash" or "ballad" or 19 more or CustomVoice` + + The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup. + + - `string` + + - `"alloy" or "ash" or "ballad" or 19 more` + + The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to `marin` and cannot change after startup. + + - `"alloy"` + + - `"ash"` + + - `"ballad"` + + - `"beacon"` + + - `"bossa"` + + - `"cedar"` + + - `"cinder"` + + - `"coral"` + + - `"delta"` + + - `"echo"` + + - `"gleam"` + + - `"marin"` + + - `"meridian"` + + - `"quartz"` + + - `"ripple"` + + - `"sage"` + + - `"shimmer"` + + - `"stone"` + + - `"tempo"` + + - `"verse"` + + - `"vesper"` + + - `"willow"` + + - `CustomVoice object { id }` + + - `id: string` + + - `client: optional ClientConfig` + + Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected. + + - `data_channel: DataChannelConfig` + + Client and server event permissions for the WebRTC frontend data channel. + + - `allowed_client_events: optional "all" or array of string` + + Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior. + + - `"all"` + + - `"all"` + + - `array of string` + + - `allowed_server_events: optional "all" or array of ServerEventSelector` + + Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector. + + - `"all"` + + - `"all"` + + - `array of ServerEventSelector` + + - `type: string` + + The outer Live server event type. Use 'response.event' for Responses events. + + - `response_event: optional string` + + The nested Responses event type. Required when type is 'response.event'; forbidden for other event types. + + - `delegation: optional ClientDelegation or object { responses, type } or null` + + Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend. + + - `ClientDelegation object { type }` + + Delegate tasks to your application. The Live session emits delegation events that your backend handles. + + - `type: "client"` + + The delegation owner. Always `client` for tasks handled by your application. + + - `"client"` + + - `Responses object { responses, type }` + + Delegate tasks to a Responses model managed by the Live session. + + - `responses: ResponsesDelegationConfig` + + Backend model, prompt, and tools used when the Live session delegates a task to Responses. + + - `model: string` + + The model used for server-owned Responses delegations. + + - `instructions: optional string or null` + + Instructions for the delegated Responses model, separate from Live instructions. See [backend prompting](https://developers.openai.com/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). + + - `max_output_tokens: optional number or null` + + Maximum number of output tokens for each delegated response. + + - `parallel_tool_calls: optional boolean or null` + + Whether the delegated Responses model may request multiple tool calls in a single response. + + - `reasoning: optional object { effort, summary } or null` + + Reasoning settings passed to each delegated Responses request. + + - `effort: optional "none" or "minimal" or "low" or 3 more or null` + + How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model. + + - `"none"` + + - `"minimal"` + + - `"low"` + + - `"medium"` + + - `"high"` + + - `"xhigh"` + + - `summary: optional "concise" or "detailed" or "auto" or null` + + The reasoning summary to request from the delegated Responses model, when supported. + + - `"concise"` + + - `"detailed"` + + - `"auto"` + + - `service_tier: optional "auto" or "default" or "fast_tier_temp_pilot" or 3 more or null` + + Service tier for delegated Responses requests. + + - `"auto"` + + - `"default"` + + - `"fast_tier_temp_pilot"` + + - `"flex"` + + - `"priority"` + + - `"ultrafast"` + + - `text: optional object { verbosity } or null` + + Text generation settings passed to each delegated Responses request. + + - `verbosity: optional "low" or "medium" or "high" or null` + + The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery. + + - `"low"` + + - `"medium"` + + - `"high"` + + - `tool_choice: optional "auto" or "none" or "required" or object { name, type } or object { name, server_label, type }` + + Controls which tool the Responses backend uses when handling a task delegated by the Live model. + + - `LiveToolChoiceEnum = "auto" or "none" or "required"` + + - `"auto"` + + - `"none"` + + - `"required"` + + - `LiveFunctionToolChoiceParam object { name, type }` + + - `name: string` + + - `type: "function"` + + - `"function"` + + - `LiveMCPToolChoiceParam object { name, server_label, type }` + + - `name: string` + + - `server_label: string` + + - `type: "mcp"` + + - `"mcp"` + + - `tools: optional array of FunctionTool or object { type }` + + Tools available to the Responses backend while it handles tasks delegated by the Live model. + + - `FunctionTool object { name, type, description, 2 more }` + + A function tool available to the Responses backend when the Live model delegates a task. + + - `name: string` + + The name the delegated Responses model uses when calling this function. + + - `type: "function"` + + The tool type. Always `function`. + + - `"function"` + + - `description: optional string or null` + + What the function does and when the delegated Responses model should call it. + + - `parameters: optional map[unknown] or null` + + A JSON Schema object describing the arguments accepted by the function. + + - `strict: optional boolean or null` + + Whether the delegated Responses model must follow the function’s parameter schema exactly. + + - `WebSearch object { type }` + + A web search tool available to the Live session’s Responses backend. + + - `type: "web_search"` + + The tool type. Always `web_search`. + + - `"web_search"` + + - `type: "responses"` + + The delegation owner. Always `responses` for tasks handled by the Responses API. + + - `"responses"` + + - `input: optional array of InitialItem` + + Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total. + + - `Developer object { content, role, id, 2 more }` + + A developer message included in the initial text history of a Live session. + + - `content: array of object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "input_text"` + + The text content type. Always `input_text`. + + - `"input_text"` + + - `role: "developer"` + + The author of this history message. Always `developer`. + + - `"developer"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `User object { content, role, id, 2 more }` + + A user message included in the initial text history of a Live session. + + - `content: array of object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "input_text"` + + The text content type. Always `input_text`. + + - `"input_text"` + + - `role: "user"` + + The author of this history message. Always `user`. + + - `"user"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `Assistant object { content, role, id, 2 more }` + + An assistant message included in the initial text history of a Live session. + + - `content: array of object { text, type } or object { text, type }` + + The message content. Supply exactly one text part for the initial Live conversation history. + + - `Text object { text, type }` + + Assistant text supplied as conversation history when starting a Live session. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: optional "text"` + + The text content type. Always `text`. + + - `"text"` + + - `OutputText object { text, type }` + + Assistant output text supplied as conversation history when starting a Live session. + + - `text: string` + + The message text to include in the Live session’s initial conversation history. + + - `type: "output_text"` + + The text content type. Always `output_text`. + + - `"output_text"` + + - `role: "assistant"` + + The author of this history message. Always `assistant`. + + - `"assistant"` + + - `id: optional string or null` + + An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation. + + - `status: optional "incomplete" or "completed" or null` + + The supplied message’s status. Live uses its text as history and does not resume an incomplete message. + + - `"incomplete"` + + - `"completed"` + + - `type: optional "message"` + + The history item type. Always `message`. + + - `"message"` + + - `instructions: optional string or null` + + Frontend instructions for voice, conversation, interruptions, and when to delegate. Start with the [Live prompting guide](https://developers.openai.com/api/docs/guides/live-prompting); put business rules and tool workflows in a separate [backend prompt](https://developers.openai.com/api/docs/guides/live-delegation#start-with-your-existing-backend-prompt). Limited to 16,384 client-supplied tokens. Omitted or blank instructions use server defaults. Immutable after startup. + + - `store: optional boolean` + + Whether to store the session for later forking and recording download. Defaults to false for new sessions. + +- `type: "session.closed"` + + The event type, always `session.closed`. + + - `"session.closed"` + +- `usage: SessionUsage` + + The final cumulative Live audio usage after session finalization. + + - `seconds: number` + + The cumulative Live audio duration in seconds. Do not sum this value across usage events. + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + #### Example ```json @@ -43864,6 +7680,8 @@ Schema name: `LiveSessionClosed` } ``` + + ### error Reports an error in the Live session, such as an invalid client command. Use error.client_event_id, when present, to identify the command that caused the error. @@ -43872,381 +7690,92 @@ Reports an error in the Live session, such as an invalid client command. Use err Schema name: `LiveErrorEvent` -```json -{ - "(resource) live > (model) error_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveErrorEvent", - "docstring": "Reports an error in the Live session, such as an invalid client command. Use error.client_event_id, when present, to identify the command that caused the error.", - "ident": "ErrorEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "error" - }, - { - "ident": "event_id" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) error_event > (schema) > (property) error", - "(resource) live > (model) error_event > (schema) > (property) event_id", - "(resource) live > (model) error_event > (schema) > (property) type", - "(resource) live > (model) error_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) error_event > (schema) > (property) error": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveErrorEvent/properties/error", - "deprecated": false, - "key": "error", - "docstring": "Details of the Live error and the client command that caused it, when known.", - "type": { - "kind": "HttpTypeReference", - "ident": "Error", - "$ref": "(resource) live > (model) error > (schema)" - }, - "optional": false, - "nullable": false, - "modelImplicit": false, - "schemaType": "object", - "modelPath": "(resource) live > (model) error", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) error > (schema) > (property) code", - "(resource) live > (model) error > (schema) > (property) message", - "(resource) live > (model) error > (schema) > (property) type", - "(resource) live > (model) error > (schema) > (property) client_event_id", - "(resource) live > (model) error > (schema) > (property) param" - ] - }, - "(resource) live > (model) error_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveErrorEvent/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) error_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveErrorEvent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `error`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveErrorEvent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "error" - } - ] - }, - "default": "error", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) error_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) error_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveErrorEvent/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) error > (schema) > (property) code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveLiveError/properties/code", - "deprecated": false, - "key": "code", - "docstring": "A machine-readable code identifying the Live error, such as `unknown_parameter`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) error > (schema) > (property) message": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveLiveError/properties/message", - "deprecated": false, - "key": "message", - "docstring": "A human-readable explanation of the Live error.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) error > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveLiveError/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The category of error, such as `invalid_request_error` for an invalid Live client command.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) error > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveLiveError/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command that caused the error, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) error > (schema) > (property) param": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveLiveError/properties/param", - "deprecated": false, - "key": "param", - "docstring": "The parameter that caused the error, when applicable, such as `session.voice`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) error > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveLiveError", - "docstring": "Details of an error encountered by the Live session, including the affected parameter or client command when available.", - "ident": "Error", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "code" - }, - { - "ident": "message" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - }, - { - "ident": "param" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) error > (schema) > (property) code", - "(resource) live > (model) error > (schema) > (property) message", - "(resource) live > (model) error > (schema) > (property) type", - "(resource) live > (model) error > (schema) > (property) client_event_id", - "(resource) live > (model) error > (schema) > (property) param" - ] - }, - "(resource) live > (model) error_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "error" - } - } -} -``` +- `error: Error` -#### Example + Details of the Live error and the client command that caused it, when known. -```json -{ - "type": "error", - "event_id": "evt_error_001", - "error": { - "type": "invalid_request_error", - "code": "unknown_parameter", - "message": "Unknown parameter: 'session.voice'.", - "param": "session.voice", - "client_event_id": "evt_invalid_001" - } -} -``` + - `code: string` -### info + A machine-readable code identifying the Live error, such as `unknown_parameter`. -An informational notice about the Live session, such as the event permissions applied to a frontend data channel. + - `message: string` -#### Schema + A human-readable explanation of the Live error. -Schema name: `LiveInfoEvent` + - `type: string` -```json -{ - "(resource) live > (model) info_event > (schema)": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveInfoEvent", - "docstring": "An informational notice about the Live session, such as the event permissions applied to a frontend data channel.", - "ident": "InfoEvent", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "code" - }, - { - "ident": "event_id" - }, - { - "ident": "message" - }, - { - "ident": "type" - }, - { - "ident": "client_event_id" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) info_event > (schema) > (property) code", - "(resource) live > (model) info_event > (schema) > (property) event_id", - "(resource) live > (model) info_event > (schema) > (property) message", - "(resource) live > (model) info_event > (schema) > (property) type", - "(resource) live > (model) info_event > (schema) > (property) client_event_id" - ] - }, - "(resource) live > (model) info_event > (schema) > (property) code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInfoEvent/properties/code", - "deprecated": false, - "key": "code", - "docstring": "A machine-readable code for the notice, such as `data_channel_permissions`.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) info_event > (schema) > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInfoEvent/properties/event_id", - "deprecated": false, - "key": "event_id", - "docstring": "The unique ID of the Live server event.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) info_event > (schema) > (property) message": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInfoEvent/properties/message", - "deprecated": false, - "key": "message", - "docstring": "A human-readable explanation of the Live session notice.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) info_event > (schema) > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInfoEvent/properties/type", - "deprecated": false, - "key": "type", - "docstring": "The event type, always `info`.", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveInfoEvent/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "info" - } - ] - }, - "default": "info", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) info_event > (schema) > (property) type > (member) 0" - ] - }, - "(resource) live > (model) info_event > (schema) > (property) client_event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveInfoEvent/properties/client_event_id", - "deprecated": false, - "key": "client_event_id", - "docstring": "The event_id of the client command associated with this server event, when supplied.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) info_event > (schema) > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "info" - } + The category of error, such as `invalid_request_error` for an invalid Live client command. + + - `client_event_id: optional string` + + The event_id of the client command that caused the error, when supplied. + + - `param: optional string` + + The parameter that caused the error, when applicable, such as `session.voice`. + +- `event_id: string` + + The unique ID of the Live server event. + +- `type: "error"` + + The event type, always `error`. + + - `"error"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + +#### Example + +```json +{ + "type": "error", + "event_id": "evt_error_001", + "error": { + "type": "invalid_request_error", + "code": "unknown_parameter", + "message": "Unknown parameter: 'session.voice'.", + "param": "session.voice", + "client_event_id": "evt_invalid_001" } } ``` + + +### info + +An informational notice about the Live session, such as the event permissions applied to a frontend data channel. + +#### Schema + +Schema name: `LiveInfoEvent` + +- `code: string` + + A machine-readable code for the notice, such as `data_channel_permissions`. + +- `event_id: string` + + The unique ID of the Live server event. + +- `message: string` + + A human-readable explanation of the Live session notice. + +- `type: "info"` + + The event type, always `info`. + + - `"info"` + +- `client_event_id: optional string` + + The event_id of the client command associated with this server event, when supplied. + #### Example ```json @@ -44258,632 +7787,199 @@ Schema name: `LiveInfoEvent` } ``` -### transport.dtmf.received + -A SIP DTMF keypress received from the caller. Delivered only to sideband observers. +### session.input_audio.append + +Input audio received from the primary transport and reflected to a Live sideband connection before model-input muting. #### Schema -Schema name: `(resource) live > (model) server_event > (schema) > (variant) 17` +Schema name: `LiveInputAudioAppend` + +- `audio: string` + + Base64-encoded raw mono PCM16LE at 24 kHz received from the primary transport, reflected to the sideband before model-input muting. This server event uses the same audio key as the client command, but is not an acknowledgment of it. + +- `type: "session.input_audio.append"` + + The event type, always `session.input_audio.append`. + + - `"session.input_audio.append"` + +#### Example ```json { - "(resource) live > (model) server_event > (schema) > (variant) 17": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveServerEvent-2/oneOf/17", - "docstring": "A SIP DTMF keypress received from the caller. Delivered only to sideband observers.", - "ident": "TransportDtmfReceived", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event" - }, - { - "ident": "event_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 17 > (property) event", - "(resource) live > (model) server_event > (schema) > (variant) 17 > (property) event_id", - "(resource) live > (model) server_event > (schema) > (variant) 17 > (property) type" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 17 > (property) event": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportDTMFReceived/properties/event", - "deprecated": false, - "key": "event", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 17 > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportDTMFReceived/properties/event_id", - "deprecated": false, - "key": "event_id", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 17 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportDTMFReceived/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveTransportDTMFReceived/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "transport.dtmf.received" - } - ] - }, - "default": "transport.dtmf.received", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 17 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 17 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "transport.dtmf.received" - } - } + "type": "session.input_audio.append", + "audio": "AACAAIAAAIAAAP9/AIAAgA==" } ``` + + +### transport.dtmf.received + +A SIP DTMF keypress received from the caller. Delivered only to sideband observers. + +#### Schema + +Schema name: `LiveTransportDTMFReceived` + +- `event: string` + +- `event_id: string` + +- `type: "transport.dtmf.received"` + + - `"transport.dtmf.received"` + #### Example ```json -{} +{ + "type": "transport.dtmf.received", + "event_id": "event_dtmf_1", + "event": "5" +} ``` + + ### transport.dtmf.send A SIP DTMF keypress successfully sent by the hosted tool. Delivered only to sideband observers; this is not a client command. #### Schema -Schema name: `(resource) live > (model) server_event > (schema) > (variant) 18` +Schema name: `LiveTransportDTMFSend` -```json -{ - "(resource) live > (model) server_event > (schema) > (variant) 18": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveServerEvent-2/oneOf/18", - "docstring": "A SIP DTMF keypress successfully sent by the hosted tool. Delivered only to sideband observers; this is not a client command.", - "ident": "TransportDtmfSend", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event" - }, - { - "ident": "event_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 18 > (property) event", - "(resource) live > (model) server_event > (schema) > (variant) 18 > (property) event_id", - "(resource) live > (model) server_event > (schema) > (variant) 18 > (property) type" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 18 > (property) event": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportDTMFSend/properties/event", - "deprecated": false, - "key": "event", - "type": { - "kind": "HttpTypeString" - }, - "constraints": { - "minLength": 1, - "maxLength": 1 - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 18 > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportDTMFSend/properties/event_id", - "deprecated": false, - "key": "event_id", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 18 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportDTMFSend/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveTransportDTMFSend/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "transport.dtmf.send" - } - ] - }, - "default": "transport.dtmf.send", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 18 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 18 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "transport.dtmf.send" - } - } -} -``` +- `event: string` + +- `event_id: string` + +- `type: "transport.dtmf.send"` + + - `"transport.dtmf.send"` #### Example ```json -{} +{ + "type": "transport.dtmf.send", + "event_id": "event_dtmf_2", + "event": "#" +} ``` + + ### transport.ringing The outbound SIP provider leg is ringing or providing early media. Delivered only to sideband observers. #### Schema -Schema name: `(resource) live > (model) server_event > (schema) > (variant) 19` +Schema name: `LiveTransportRinging` -```json -{ - "(resource) live > (model) server_event > (schema) > (variant) 19": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveServerEvent-2/oneOf/19", - "docstring": "The outbound SIP provider leg is ringing or providing early media. Delivered only to sideband observers.", - "ident": "TransportRinging", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event_id" - }, - { - "ident": "session_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 19 > (property) event_id", - "(resource) live > (model) server_event > (schema) > (variant) 19 > (property) session_id", - "(resource) live > (model) server_event > (schema) > (variant) 19 > (property) type" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 19 > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportRinging/properties/event_id", - "deprecated": false, - "key": "event_id", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 19 > (property) session_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportRinging/properties/session_id", - "deprecated": false, - "key": "session_id", - "docstring": "The canonical Live session ID.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 19 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportRinging/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveTransportRinging/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "transport.ringing" - } - ] - }, - "default": "transport.ringing", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 19 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 19 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "transport.ringing" - } - } -} -``` +- `event_id: string` + +- `session_id: string` + + The canonical Live session ID. + +- `type: "transport.ringing"` + + - `"transport.ringing"` #### Example ```json -{} +{ + "type": "transport.ringing", + "event_id": "event_call_1", + "session_id": "live_u0_123" +} ``` + + ### transport.answered The outbound SIP provider leg answered and media is established. Delivered only to sideband observers. #### Schema -Schema name: `(resource) live > (model) server_event > (schema) > (variant) 20` +Schema name: `LiveTransportAnswered` -```json -{ - "(resource) live > (model) server_event > (schema) > (variant) 20": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveServerEvent-2/oneOf/20", - "docstring": "The outbound SIP provider leg answered and media is established. Delivered only to sideband observers.", - "ident": "TransportAnswered", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "event_id" - }, - { - "ident": "session_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 20 > (property) event_id", - "(resource) live > (model) server_event > (schema) > (variant) 20 > (property) session_id", - "(resource) live > (model) server_event > (schema) > (variant) 20 > (property) type" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 20 > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportAnswered/properties/event_id", - "deprecated": false, - "key": "event_id", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 20 > (property) session_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportAnswered/properties/session_id", - "deprecated": false, - "key": "session_id", - "docstring": "The canonical Live session ID.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 20 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportAnswered/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveTransportAnswered/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "transport.answered" - } - ] - }, - "default": "transport.answered", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 20 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 20 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "transport.answered" - } - } -} -``` +- `event_id: string` + +- `session_id: string` + + The canonical Live session ID. + +- `type: "transport.answered"` + + - `"transport.answered"` #### Example ```json -{} +{ + "type": "transport.answered", + "event_id": "event_call_2", + "session_id": "live_u0_123" +} ``` + + ### transport.failed An asynchronous outbound SIP setup failure. Delivered only to sideband observers. #### Schema -Schema name: `(resource) live > (model) server_event > (schema) > (variant) 21` +Schema name: `LiveTransportFailed` -```json -{ - "(resource) live > (model) server_event > (schema) > (variant) 21": { - "kind": "HttpDeclTypeAlias", - "oasRef": "#/components/schemas/LiveServerEvent-2/oneOf/21", - "docstring": "An asynchronous outbound SIP setup failure. Delivered only to sideband observers.", - "ident": "TransportFailed", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "error" - }, - { - "ident": "event_id" - }, - { - "ident": "session_id" - }, - { - "ident": "type" - } - ] - }, - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error", - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) event_id", - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) session_id", - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) type" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportFailed/properties/error", - "deprecated": false, - "key": "error", - "type": { - "kind": "HttpTypeObject", - "members": [ - { - "ident": "code" - }, - { - "ident": "message" - }, - { - "ident": "type" - }, - { - "ident": "param" - } - ] - }, - "optional": false, - "nullable": false, - "schemaType": "object", - "childrenParentSchema": "object", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) code", - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) message", - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) type", - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) param" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) event_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportFailed/properties/event_id", - "deprecated": false, - "key": "event_id", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) session_id": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportFailed/properties/session_id", - "deprecated": false, - "key": "session_id", - "docstring": "The canonical Live session ID.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportFailed/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveTransportFailed/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "transport.failed" - } - ] - }, - "default": "transport.failed", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) type > (member) 0" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) code": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportCallError/properties/code", - "deprecated": false, - "key": "code", - "docstring": "The call setup failure code.", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) message": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportCallError/properties/message", - "deprecated": false, - "key": "message", - "type": { - "kind": "HttpTypeString" - }, - "optional": false, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) type": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportCallError/properties/type", - "deprecated": false, - "key": "type", - "type": { - "kind": "HttpTypeUnion", - "oasRef": "#/components/schemas/LiveTransportCallError/properties/type", - "types": [ - { - "kind": "HttpTypeLiteral", - "literal": "call_error" - } - ] - }, - "default": "call_error", - "optional": false, - "nullable": false, - "schemaType": "enum", - "childrenParentSchema": "enum", - "children": [ - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) type > (member) 0" - ] - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) param": { - "kind": "HttpDeclProperty", - "oasRef": "#/components/schemas/LiveTransportCallError/properties/param", - "deprecated": false, - "key": "param", - "docstring": "The parameter related to the error, if any. Empty when no parameter applies.", - "type": { - "kind": "HttpTypeString" - }, - "optional": true, - "nullable": false, - "schemaType": "string", - "children": [] - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "transport.failed" - } - }, - "(resource) live > (model) server_event > (schema) > (variant) 21 > (property) error > (property) type > (member) 0": { - "kind": "HttpDeclReference", - "type": { - "kind": "HttpTypeLiteral", - "literal": "call_error" - } - } -} -``` +- `error: object { code, message, type, param }` + + - `code: string` + + The call setup failure code. + + - `message: string` + + - `type: "call_error"` + + - `"call_error"` + + - `param: optional string` + + The parameter related to the error, if any. Empty when no parameter applies. + +- `event_id: string` + +- `session_id: string` + + The canonical Live session ID. + +- `type: "transport.failed"` + + - `"transport.failed"` #### Example ```json -{} +{ + "type": "transport.failed", + "event_id": "event_call_4", + "session_id": "live_u0_123", + "error": { + "type": "call_error", + "code": "provider_invite_failed", + "message": "provider rejected the call", + "param": "" + } +} ```