Class: Cerca::Models::ThreadStreamEvent::ThreadStreamContentMessage::Message::Content::ToolUse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cerca::Models::ThreadStreamEvent::ThreadStreamContentMessage::Message::Content::ToolUse
- Defined in:
- lib/cerca/models/thread_stream_event.rb
Instance Attribute Summary collapse
- #id ⇒ String
-
#input ⇒ String
JSON-serialized tool input payload.
- #name ⇒ Symbol, Cerca::Models::ToolName
- #provider_metadata ⇒ Hash{Symbol=>Hash{Symbol=>String}}?
- #type ⇒ Symbol, :tool_use
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, 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
This class inherits a constructor from Cerca::Internal::Type::BaseModel
Instance Attribute Details
#id ⇒ String
197 |
# File 'lib/cerca/models/thread_stream_event.rb', line 197 required :id, String |
#input ⇒ String
JSON-serialized tool input payload. Parse as JSON before reading tool-specific fields.
204 |
# File 'lib/cerca/models/thread_stream_event.rb', line 204 required :input, String |
#name ⇒ Symbol, Cerca::Models::ToolName
209 |
# File 'lib/cerca/models/thread_stream_event.rb', line 209 required :name, enum: -> { Cerca::ToolName } |
#provider_metadata ⇒ Hash{Symbol=>Hash{Symbol=>String}}?
219 220 221 |
# File 'lib/cerca/models/thread_stream_event.rb', line 219 optional :provider_metadata, Cerca::Internal::Type::HashOf[Cerca::Internal::Type::HashOf[String]], api_name: :providerMetadata |
#type ⇒ Symbol, :tool_use
214 |
# File 'lib/cerca/models/thread_stream_event.rb', line 214 required :type, const: :tool_use |