requestLLMOnlyCallingTools
Sends a request to the language model that enforces the usage of tools and retrieves the response.
This method:
Validates that the session is active.
Updates the prompt configuration to mark tool usage as required (
ToolChoice.Required).Retrieves all generated messages (including potential Chain of Thought/Reasoning blocks).
Filters the result to return the first Message.Tool.Call.
If no tool call is found (e.g., the model refused or asked a question), this method throws an exception.
Return
The tool call response from the language model.