ToolConsumer

Allows consuming tools and exposing them to LLMs. Interface allowing abstraction between tool concept and specific tools.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val name: String
Link copied to clipboard

Tool groups exposed. This will include directly registered tool groups and tool groups resolved from ToolGroups.

Link copied to clipboard
open override val tools: List<Tool>

Tools to expose to LLMs.

Functions

Link copied to clipboard
open fun resolveTools(toolGroupResolver: ToolGroupResolver): List<Tool>

Resolve all tools from this consumer and its tool groups.