execute

suspend fun execute(vararg args: Any?): SafeToolFromCallable.Result<TResult>(source)

Executes the tool call using the provided arguments and returns the result.

Return

A result object containing the outcome of the tool call, including success or failure information.

Parameters

args

The arguments to be passed to the tool during its execution.