Class: Prescient::Agent::ToolRegistry::Tool

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

Overview

Returns Internal immutable tool descriptor.

Returns:

  • (Class) —

    Internal immutable tool descriptor

Instance Attribute Summary collapse

Instance Attribute Details

#callable ⇒ Object

Returns the value of attribute callable

Returns:

  • (Object) —

    the current value of callable



8
9
10
# File 'lib/prescient/agent/tool_registry.rb', line 8

def callable
  @callable
end

#description ⇒ Object

Returns the value of attribute description

Returns:

  • (Object) —

    the current value of description



8
9
10
# File 'lib/prescient/agent/tool_registry.rb', line 8

def description
  @description
end

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



8
9
10
# File 'lib/prescient/agent/tool_registry.rb', line 8

def name
  @name
end

#schema ⇒ Object

Returns the value of attribute schema

Returns:

  • (Object) —

    the current value of schema



8
9
10
# File 'lib/prescient/agent/tool_registry.rb', line 8

def schema
  @schema
end