executeTool

abstract suspend fun executeTool(toolCall: Message.Tool.Call): ReceivedToolResult(source)

Executes a tool call and returns the result.

Return

The result of the tool execution.

Parameters

toolCall

The tool call to execute.