nodeLLMRequestForceOneTool
fun nodeLLMRequestForceOneTool(name: String? = null, tool: ToolDescriptor): AIAgentNodeDelegate<String, Message.Assistant>(source)
A node that appends a user text message to the prompt and requests a response from the LLM, forcing it to call exactly the specified tool.
Parameters
name
Optional node name, defaults to delegate's property name.
tool
The descriptor of the tool the LLM must call.