Class: DebugAgent::ToolParam

Inherits:
Struct
  • Object
show all
Defined in:
lib/debug_agent/tool_registry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description:, required: true) ⇒ ToolParam

Returns a new instance of ToolParam.



5
6
7
# File 'lib/debug_agent/tool_registry.rb', line 5

def initialize(description:, required: true)
  super
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



4
5
6
# File 'lib/debug_agent/tool_registry.rb', line 4

def description
  @description
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



4
5
6
# File 'lib/debug_agent/tool_registry.rb', line 4

def required
  @required
end