sendToolResult

fun sendToolResult(toolResult: ReceivedToolResult, executorService: ExecutorService? = null): ERROR CLASS: Symbol not found for Message.Response(source)

Sends the provided tool result for processing.

Return

A response message object after processing the tool result.

Parameters

toolResult

The result from a tool that is to be sent for further processing.

executorService

An optional executor service to manage thread execution. If null, a default dispatcher will be used.