sendMultipleToolResults

fun sendMultipleToolResults(results: List<ReceivedToolResult>, executorService: ExecutorService? = null): List<ERROR CLASS: Symbol not found for Message.Response>(source)

Sends multiple tool results for processing and returns the corresponding responses.

Return

A list of Message.Response objects representing the responses after processing the tool results.

Parameters

results

A list of ReceivedToolResult representing the tool results to be processed.

executorService

An optional ExecutorService to run the dispatch operation. If null, a default executor is used.