Toolset

Base interface for toolsets.

Inheritors

Functions

Link copied to clipboard
open override fun close()

Performs cleanup and releases resources held by the toolset.

Link copied to clipboard
abstract suspend fun getTools(readonlyContext: ReadonlyContext? = null): List<BaseTool>

Return all tools in the toolset based on the provided context.

Link copied to clipboard
open suspend fun processLlmRequest(toolContext: ToolContext, llmRequest: LlmRequest): LlmRequest

Allows the toolset to process the LLM request.