nodeLLMSendMessageForceOneTool
fun AIAgentSubgraphBuilderBase<*, *>.nodeLLMSendMessageForceOneTool(name: String? = null, tool: ToolDescriptor): AIAgentNodeDelegateBase<String, Message.Response>(source)
A node that that appends a user message to the LLM prompt and forces the LLM to use a specific tool.
Parameters
name
Optional node name.
tool
Tool descriptor the LLM is required to use.
fun AIAgentSubgraphBuilderBase<*, *>.nodeLLMSendMessageForceOneTool(name: String? = null, tool: Tool<*, *>): AIAgentNodeDelegateBase<String, Message.Response>(source)
A node that appends a user message to the LLM prompt and forces the LLM to use a specific tool.
Parameters
name
Optional node name.
tool
Tool the LLM is required to use.