SafeToolFromCallable
constructor(toolFunction: KFunction<TResult>, environment: AIAgentEnvironment, clock: Clock)(source)
Parameters
TResult
The type of the result produced by the tool function.
The type of the result produced by the tool function.