nodeLLMSendMessageForceOneTool
fun nodeLLMSendMessageForceOneTool(name: String? = null, tool: ToolDescriptor): AIAgentNodeDelegate<Message.User, Message.Assistant>(source)
A node that appends a Message.User 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.