Class: Cadenya::Models::Objectives::ToolCallSetContentParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Objectives::ToolCallSetContentParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/cadenya/models/objectives/tool_call_set_content_params.rb,
sig/cadenya/models/objectives/tool_call_set_content_params.rbs
Overview
Instance Attribute Summary collapse
-
#content ⇒ Array<Cadenya::Models::Objectives::SetToolCallContentRequestContentBlock>
The content to set on the tool call.
- #objective_id ⇒ String
- #tool_call_id ⇒ String
- #workspace_id ⇒ String
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(workspace_id:, objective_id:, tool_call_id:, content:, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ToolCallSetContentParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(workspace_id:, objective_id:, tool_call_id:, content:, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::Objectives::ToolCallSetContentParams for more details.
|
|
# File 'lib/cadenya/models/objectives/tool_call_set_content_params.rb', line 35
|
Instance Attribute Details
#content ⇒ Array<Cadenya::Models::Objectives::SetToolCallContentRequestContentBlock>
The content to set on the tool call. Mirrors ObjectiveToolCallResult.ContentBlock but writable: media blocks carry raw data on input where the result-side carries a signed url on output.
32 33 |
# File 'lib/cadenya/models/objectives/tool_call_set_content_params.rb', line 32 required :content, -> { Cadenya::Internal::Type::ArrayOf[Cadenya::Objectives::SetToolCallContentRequestContentBlock] } |
#objective_id ⇒ String
19 |
# File 'lib/cadenya/models/objectives/tool_call_set_content_params.rb', line 19 required :objective_id, String |
#tool_call_id ⇒ String
24 |
# File 'lib/cadenya/models/objectives/tool_call_set_content_params.rb', line 24 required :tool_call_id, String |
#workspace_id ⇒ String
14 |
# File 'lib/cadenya/models/objectives/tool_call_set_content_params.rb', line 14 required :workspace_id, String |
Instance Method Details
#to_hash ⇒ {
33 |
# File 'sig/cadenya/models/objectives/tool_call_set_content_params.rbs', line 33
def to_hash: -> {
|