llmSendMessageForceOneTool
fun llmSendMessageForceOneTool(name: String? = null, tool: ERROR CLASS: Symbol not found for ToolDescriptor): AIAgentNodeBase<ERROR CLASS: Symbol not found for Message.User, ERROR CLASS: Symbol not found for 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 ToolDescriptor of the tool the LLM must call.
fun llmSendMessageForceOneTool(name: String? = null, tool: ERROR CLASS: Symbol not found for Tool<*, *>): AIAgentNodeBase<ERROR CLASS: Symbol not found for Message.User, ERROR CLASS: Symbol not found for 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 Tool the LLM must call.