Class: Zavudev::Models::Senders::Agent::AgentTool
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
39
|
# File 'sig/zavudev/models/senders/agent/agent_tool.rbs', line 39
def initialize: (
|
Instance Attribute Details
#agent_id ⇒ String
17
|
# File 'lib/zavudev/models/senders/agent/agent_tool.rb', line 17
required :agent_id, String, api_name: :agentId
|
#created_at ⇒ Time
22
|
# File 'lib/zavudev/models/senders/agent/agent_tool.rb', line 22
required :created_at, Time, api_name: :createdAt
|
#description ⇒ String
Description for the LLM to understand when to use this tool.
28
|
# File 'lib/zavudev/models/senders/agent/agent_tool.rb', line 28
required :description, String
|
#enabled ⇒ Boolean
33
|
# File 'lib/zavudev/models/senders/agent/agent_tool.rb', line 33
required :enabled, Zavudev::Internal::Type::Boolean
|
#id ⇒ String
12
|
# File 'lib/zavudev/models/senders/agent/agent_tool.rb', line 12
required :id, String
|
#name ⇒ String
38
|
# File 'lib/zavudev/models/senders/agent/agent_tool.rb', line 38
required :name, String
|
43
|
# File 'lib/zavudev/models/senders/agent/agent_tool.rb', line 43
required :parameters, -> { Zavudev::Senders::Agent::ToolParameters }
|
#updated_at ⇒ Time
48
|
# File 'lib/zavudev/models/senders/agent/agent_tool.rb', line 48
required :updated_at, Time, api_name: :updatedAt
|
#webhook_url ⇒ String
HTTPS URL to call when the tool is executed.
54
|
# File 'lib/zavudev/models/senders/agent/agent_tool.rb', line 54
required :webhook_url, String, api_name: :webhookUrl
|
Instance Method Details
#to_hash ⇒ {
51
|
# File 'sig/zavudev/models/senders/agent/agent_tool.rbs', line 51
def to_hash: -> {
|