Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class ReceivedToolResult(val id: String?, val tool: String, val content: String, val result: ToolResult?)
Link copied to clipboard

A wrapper class designed to safely execute a tool within a given AI agent environment. It provides mechanisms for handling tool execution results and differentiating between success and failure cases.

Link copied to clipboard
data class SafeToolFromCallable<TResult>(val toolFunction: KFunction<TResult>, environment: AIAgentEnvironment)

A wrapper class that creates a safer abstraction for executing a tool function alongside an associated environment. The tool function is backed by a callable in the form of a KFunction and interacts with the AIAgentEnvironment to perform operations and exchange data.

Link copied to clipboard

Provides constants related to the termination tool functionality in an AI agent environment.