Skip to content
Kward Search API index

Class: Kward::PluginRegistry::Tool

Inherits:
Struct
  • Object
show all
Defined in:
lib/kward/plugins/registry.rb

Overview

Registered model-callable tool exposed through each normal agent tool registry. The handler receives parsed arguments and a runtime context.

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ Object

Returns the value of attribute description

Returns:

  • (Object) —

    the current value of description



34
35
36
# File 'lib/kward/plugins/registry.rb', line 34

def description
  @description
end

#handler ⇒ Object

Returns the value of attribute handler

Returns:

  • (Object) —

    the current value of handler



34
35
36
# File 'lib/kward/plugins/registry.rb', line 34

def handler
  @handler
end

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



34
35
36
# File 'lib/kward/plugins/registry.rb', line 34

def name
  @name
end

#path ⇒ Object

Returns the value of attribute path

Returns:

  • (Object) —

    the current value of path



34
35
36
# File 'lib/kward/plugins/registry.rb', line 34

def path
  @path
end

#schema ⇒ Object

Returns the value of attribute schema

Returns:

  • (Object) —

    the current value of schema



34
35
36
# File 'lib/kward/plugins/registry.rb', line 34

def schema
  @schema
end