# Toolset

interface Toolset : AutoCloseable

Base interface for toolsets.

#### Inheritors

SkillToolset
McpToolset

## Functions

close
Link copied to clipboard
open override fun close()

Performs cleanup and releases resources held by the toolset.

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

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

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

Allows the toolset to process the LLM request.