Class: OpenAI::Models::Realtime::ResponseMcpCallArgumentsDelta
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::ResponseMcpCallArgumentsDelta
- Defined in:
- lib/openai/models/realtime/response_mcp_call_arguments_delta.rb
Instance Attribute Summary collapse
-
#delta ⇒ String
The JSON-encoded arguments delta.
-
#event_id ⇒ String
The unique ID of the server event.
-
#item_id ⇒ String
The ID of the MCP tool call item.
-
#obfuscation ⇒ String?
If present, indicates the delta text was obfuscated.
-
#output_index ⇒ Integer
The index of the output item in the response.
-
#response_id ⇒ String
The ID of the response.
-
#type ⇒ Symbol, :"response.mcp_call_arguments.delta"
The event type, must be ‘response.mcp_call_arguments.delta`.
Instance Method Summary collapse
-
#initialize(delta:, event_id:, item_id:, output_index:, response_id:, obfuscation: nil, type: :"response.mcp_call_arguments.delta") ⇒ Object
constructor
Returned when MCP tool call arguments are updated during response generation.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(delta:, event_id:, item_id:, output_index:, response_id:, obfuscation: nil, type: :"response.mcp_call_arguments.delta") ⇒ Object
Returned when MCP tool call arguments are updated during response generation.
|
|
# File 'lib/openai/models/realtime/response_mcp_call_arguments_delta.rb', line 49
|
Instance Attribute Details
#delta ⇒ String
The JSON-encoded arguments delta.
11 |
# File 'lib/openai/models/realtime/response_mcp_call_arguments_delta.rb', line 11 required :delta, String |
#event_id ⇒ String
The unique ID of the server event.
17 |
# File 'lib/openai/models/realtime/response_mcp_call_arguments_delta.rb', line 17 required :event_id, String |
#item_id ⇒ String
The ID of the MCP tool call item.
23 |
# File 'lib/openai/models/realtime/response_mcp_call_arguments_delta.rb', line 23 required :item_id, String |
#obfuscation ⇒ String?
If present, indicates the delta text was obfuscated.
47 |
# File 'lib/openai/models/realtime/response_mcp_call_arguments_delta.rb', line 47 optional :obfuscation, String, nil?: true |
#output_index ⇒ Integer
The index of the output item in the response.
29 |
# File 'lib/openai/models/realtime/response_mcp_call_arguments_delta.rb', line 29 required :output_index, Integer |
#response_id ⇒ String
The ID of the response.
35 |
# File 'lib/openai/models/realtime/response_mcp_call_arguments_delta.rb', line 35 required :response_id, String |
#type ⇒ Symbol, :"response.mcp_call_arguments.delta"
The event type, must be ‘response.mcp_call_arguments.delta`.
41 |
# File 'lib/openai/models/realtime/response_mcp_call_arguments_delta.rb', line 41 required :type, const: :"response.mcp_call_arguments.delta" |