sendToolResult
suspend fun AIAgentFunctionalContext.sendToolResult(toolResult: ReceivedToolResult): Message.Response(source)
Adds a tool result to the prompt and requests an LLM response.
Return
The LLM response.
Parameters
toolResult
The tool result to add to the prompt.