ToolSet

interface ToolSet(source)

A marker interface for a set of tools that can be converted to a list of ai.koog.agents.core.tools.Tools via reflection using asTools.

See also

Properties

Link copied to clipboard
open val name: String

Retrieves the description of the current class or object from the LLMDescription annotation. If the annotation is not present, defaults to the JVM name of the class.

Functions

Link copied to clipboard
fun ToolSet.asTools(json: Json = Json): List<ToolFromCallable>

Converts all instance methods of this class marked as Tool to a list of tools.