requestLLMMultipleOnlyCallingTools

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

Requests a response from the Language Model (LLM) enforcing tool usage (ToolChoice.Required), validates the session, and processes all returned messages (e.g. thinking + tool call).

Crucially, this method appends all received messages to the prompt history to preserve context.

Return

A list of responses received from the Language Model (LLM).