# SkillToolset

class SkillToolset(source: SkillSource) : Toolset

Toolset that manages and provides access to a collection of Skills.

## Constructors

SkillToolset
Link copied to clipboard
constructor(source: SkillSource)

## Types

Companion
Link copied to clipboard
object Companion

## Functions

close
Link copied to clipboard
open override fun close()

Performs cleanup and releases resources held by the toolset.

getSkillCatalogInstruction
Link copied to clipboard
suspend fun getSkillCatalogInstruction(): String?

Generates instructions detailing the available skills to append to LLM requests.

getTools
Link copied to clipboard
open suspend override fun getTools(readonlyContext: ReadonlyContext?): List<BaseTool>

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

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

Allows the toolset to process the LLM request.