Class: OpenAI::Models::Responses::ResponseOutputItem::McpCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseOutputItem::McpCall
- Defined in:
- lib/openai/models/responses/response_output_item.rb
Instance Attribute Summary collapse
-
#arguments ⇒ String
A JSON string of the arguments passed to the tool.
-
#error ⇒ String?
The error from the tool call, if any.
-
#id ⇒ String
The unique ID of the tool call.
-
#name ⇒ String
The name of the tool that was run.
-
#output ⇒ String?
The output from the tool call.
-
#server_label ⇒ String
The label of the MCP server running the tool.
-
#type ⇒ Symbol, :mcp_call
The type of the item.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from OpenAI::Internal::Type::BaseModel
Instance Attribute Details
#arguments ⇒ String
A JSON string of the arguments passed to the tool.
243 |
# File 'lib/openai/models/responses/response_output_item.rb', line 243 required :arguments, String |
#error ⇒ String?
The error from the tool call, if any.
267 |
# File 'lib/openai/models/responses/response_output_item.rb', line 267 optional :error, String, nil?: true |
#id ⇒ String
The unique ID of the tool call.
237 |
# File 'lib/openai/models/responses/response_output_item.rb', line 237 required :id, String |
#name ⇒ String
The name of the tool that was run.
249 |
# File 'lib/openai/models/responses/response_output_item.rb', line 249 required :name, String |
#output ⇒ String?
The output from the tool call.
273 |
# File 'lib/openai/models/responses/response_output_item.rb', line 273 optional :output, String, nil?: true |
#server_label ⇒ String
The label of the MCP server running the tool.
255 |
# File 'lib/openai/models/responses/response_output_item.rb', line 255 required :server_label, String |
#type ⇒ Symbol, :mcp_call
The type of the item. Always ‘mcp_call`.
261 |
# File 'lib/openai/models/responses/response_output_item.rb', line 261 required :type, const: :mcp_call |