Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::McpCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::McpCall
- Defined in:
- sig/openai/models/beta/beta_response_input_item.rbs
Defined Under Namespace
Modules: Status Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::McpCall::Agent?
Returns the value of attribute agent.
-
#approval_request_id ⇒ String?
Returns the value of attribute approval_request_id.
-
#arguments ⇒ String
Returns the value of attribute arguments.
-
#error ⇒ OpenAI::Models::Beta::beta_mcp_tool_call_error?
Returns the value of attribute error.
-
#id ⇒ String
Returns the value of attribute id.
-
#name ⇒ String
Returns the value of attribute name.
-
#output ⇒ String?
Returns the value of attribute output.
-
#server_label ⇒ String
Returns the value of attribute server_label.
-
#status ⇒ OpenAI::Models::Beta::BetaResponseInputItem::McpCall::status?
readonly
Returns the value of attribute status.
-
#type ⇒ :mcp_call
Returns the value of attribute type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #status ⇒ Object readonly
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, #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 ⇒ Object
1818 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1818
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::McpCall::Agent?
Returns the value of attribute agent.
1804 1805 1806 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1804 def agent @agent end |
#approval_request_id ⇒ String?
Returns the value of attribute approval_request_id.
1806 1807 1808 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1806 def approval_request_id @approval_request_id end |
#arguments ⇒ String
Returns the value of attribute arguments.
1796 1797 1798 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1796 def arguments @arguments end |
#error ⇒ OpenAI::Models::Beta::beta_mcp_tool_call_error?
Returns the value of attribute error.
1808 1809 1810 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1808 def error @error end |
#id ⇒ String
Returns the value of attribute id.
1794 1795 1796 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1794 def id @id end |
#name ⇒ String
Returns the value of attribute name.
1798 1799 1800 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1798 def name @name end |
#output ⇒ String?
Returns the value of attribute output.
1810 1811 1812 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1810 def output @output end |
#server_label ⇒ String
Returns the value of attribute server_label.
1800 1801 1802 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1800 def server_label @server_label end |
#status ⇒ OpenAI::Models::Beta::BetaResponseInputItem::McpCall::status? (readonly)
Returns the value of attribute status.
1812 1813 1814 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1812 def status @status end |
#type ⇒ :mcp_call
Returns the value of attribute type.
1802 1803 1804 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1802 def type @type end |
Instance Method Details
#status= ⇒ Object (readonly)
1814 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1814
def status=: (
|
#to_hash ⇒ {
1831 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1831
def to_hash: -> {
|