callToolRaw

inline suspend fun <TArgs : Tool.Args> callToolRaw(toolName: String, args: TArgs): String(source)

Executes a tool identified by its name with the provided arguments and returns the raw string result.

Return

The raw result of the tool's execution as a String.

Parameters

toolName

The name of the tool to be executed.

args

The arguments to be passed to the tool, conforming to the Tool.Args type.