toParallelToolCalls

Converts each flow item into a parallel tool call using an already resolved SafeTool.


Converts each flow item into a parallel tool call using a tool instance.


inline fun <TArgs, TResult> Flow<TArgs>.toParallelToolCalls(toolClass: KClass<out Tool<TArgs, TResult>>, concurrency: Int = 16): Flow<SafeTool.Result<TResult>>(source)

Converts each flow item into a parallel tool call using a tool class.