llmSendMessageForceOneTool

Deprecated

Use llmRequestForceOneTool instead

Creates an AI agent node that forces the use of a specified tool during the handling of a language model request.

Return

An instance of AIAgentNodeBase configured to process language model requests with input of type String and output of type Message.Response.

Parameters

name

An optional name for the node. If null, a name will be automatically generated.

tool

The descriptor of the tool that must be used during the node's execution.


Deprecated

Use llmRequestForceOneTool instead

Creates an AI agent node for handling a language model request that forcibly uses a single tool.

Return

An instance of AIAgentNodeBase configured to process language model requests with input of type String and output of type Message.Response.

Parameters

name

An optional name for the node. If null, the name will be automatically generated.

tool

The tool to be forcibly used during the request processing.

Throws

if the node could not be created due to invalid configurations.