Class: Cadenya::Models::Objectives::ObjectiveToolCallInfo

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/objectives/objective_tool_call_info.rb,
sig/cadenya/models/objectives/objective_tool_call_info.rbs

Constant Summary collapse

Cadenya =

Returns:

  • (:OperationMetadata)

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



33
# File 'sig/cadenya/models/objectives/objective_tool_call_info.rbs', line 33

def initialize: (

Instance Attribute Details

#created_byCadenya::Models::Profile?

A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.

Parameters:

Returns:



13
# File 'lib/cadenya/models/objectives/objective_tool_call_info.rb', line 13

optional :created_by, -> { Cadenya::Profile }, api_name: :createdBy

#objectiveCadenya::Models::OperationMetadata?

Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)



20
# File 'lib/cadenya/models/objectives/objective_tool_call_info.rb', line 20

optional :objective, -> { Cadenya::OperationMetadata }

#toolCadenya::Models::BareMetadata?

BareMetadata contains the minimal metadata for a resource: the ID and an optional human-readable name. These are used for reference fields where the full metadata (account scoping, timestamps, labels, external IDs) is not needed — e.g., the tool references inside an agent variation spec or the tools assigned to an objective. Both fields are server-populated; clients provide IDs through sibling fields rather than by constructing a BareMetadata themselves.



31
# File 'lib/cadenya/models/objectives/objective_tool_call_info.rb', line 31

optional :tool, -> { Cadenya::BareMetadata }

#tool_setCadenya::Models::BareMetadata?

BareMetadata contains the minimal metadata for a resource: the ID and an optional human-readable name. These are used for reference fields where the full metadata (account scoping, timestamps, labels, external IDs) is not needed — e.g., the tool references inside an agent variation spec or the tools assigned to an objective. Both fields are server-populated; clients provide IDs through sibling fields rather than by constructing a BareMetadata themselves.



42
# File 'lib/cadenya/models/objectives/objective_tool_call_info.rb', line 42

optional :tool_set, -> { Cadenya::BareMetadata }, api_name: :toolSet

Instance Method Details

#to_hash{

Returns:

  • ({)


40
# File 'sig/cadenya/models/objectives/objective_tool_call_info.rbs', line 40

def to_hash: -> {