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

#callableObject

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

#descriptionObject

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

#nameObject

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

#schemaObject

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