executeUnsafe

suspend fun executeUnsafe(args: Any?): TResult(source)

Executes the tool with the provided arguments without type safety checks.

Throws

if the provided arguments cannot be cast to the expected type TArgs.


suspend fun executeUnsafe(args: Any?, metadata: ToolCallMetadata): TResult(source)

Executes the tool with the provided arguments and metadata without type safety checks.

Throws

if the provided arguments cannot be cast to the expected type TArgs.