Class UTryllToolCallParams¶
ClassList > UTryllToolCallParams
#include <TryllToolCallParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| FString | AcknowledgeText |
| FString | AcknowledgeTextTextId |
| FTryllModelAdaptation | Adaptation |
| FTryllContextOverrides | Context |
| int32 | ContextSize = 0 |
| ETryllToolCallDisposition | Disposition = ETryllToolCallDisposition::Acknowledge |
| FTryllSlotInput | Input |
| ETryllToolCallMode | Mode = ETryllToolCallMode::CallOrAnswer |
| FTryllModelName | ModelName |
| FString | NoToolCalledExit |
| int32 | PauseTimeoutMs = 0 |
| FTryllSamplingOverrides | Sampling |
| FString | SystemPrompt |
| FString | SystemPromptTextId |
| FString | ToolCallFormat |
| FString | ToolCalledExit |
| TArray< FTryllToolDefinition > | Tools |
| bool | bAcknowledgeTextLocalized = false |
| bool | bOverrideAcknowledgeText = false |
| bool | bOverrideInput = false |
| bool | bOverrideModelName = false |
| bool | bOverrideSystemPrompt = false |
| bool | bParallelToolCalls = false |
| bool | bSystemPromptLocalized = false |
Public Functions¶
| Type | Name |
|---|---|
| virtual FString | GetDocsUrl () override const |
| virtual ETryllNodeType | GetNodeType () override const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, Tryll::NodeParams::NodeParams & OutType) override const |
Public Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual FString | GetDocsUrl () const |
| virtual TArray< FString > | GetExitTargetOptions () const |
| virtual ETryllNodeType | GetNodeType () const |
| FString | GetOwnerNodeName () const |
| virtual bool | IsTtsConsumer () const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, ::Tryll::NodeParams::NodeParams & OutType) const |
| virtual void | PostLoad () override |
| virtual void | Serialize (FArchive & Ar) override |
| ETryllNodeType return | static_cast (0) |
Public Static Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| const FTryllGraphDescription * | FindEnclosingGraph (const UObject * Obj) |
Protected Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual void | ApplyOldDefaults (int32 SavedVersion) |
| virtual bool | UpgradeFrom (int32 SavedVersion) |
Detailed Description¶
LLM-driven tool-call node. Constructs a tool-call prompt, runs sampling, parses the result.
Public Attributes Documentation¶
variable AcknowledgeText¶
variable AcknowledgeTextTextId¶
Text ID in the workflow text table. The provider's text is what is sent.
variable Adaptation¶
LoRA adapters applied to this node's model. Empty = the base model.
variable Context¶
Advanced memory and batching settings for this node's model (KV cache type, GPU offload, batch sizes). Unset = inherit.
variable ContextSize¶
Context window for this node, in tokens; must fit the model's trained maximum. 0 = 2048.
variable Disposition¶
After a call: whether to tell the game (Notify), wait for it (Pause, AwaitResult), and record an acknowledgement in history (…Acknowledge).
variable Input¶
Upstream inter-node slot this field consumes. Empty = context default.
variable Mode¶
DetectOnly: call a tool or say nothing. CallOrAnswer: call a tool or answer in text. RequireCall: must call a tool.
variable ModelName¶
variable NoToolCalledExit¶
Node to run when no tool is called (under CallOrAnswer, after the text answer). Empty = end the turn. Graph exit "no_tool_called" — target node name; empty = END.
variable PauseTimeoutMs¶
How long a pausing Disposition waits for the game, in ms. 0 = the server default (wait forever in released builds). On timeout the turn ends.
variable Sampling¶
Overrides for the model's sampling settings (temperature, top-p, max tokens…). Unset values keep the model's own.
variable SystemPrompt¶
variable SystemPromptTextId¶
Text ID in the workflow text table. The provider's text is what is sent.
variable ToolCallFormat¶
Not used. Kept so older workflows still load.
variable ToolCalledExit¶
Node to run when the model calls a tool. Empty = end the turn. Graph exit "tool_called" — target node name; empty = END.
variable Tools¶
Tools the model may call, each with a name, description and parameters. The game carries out the call; the server only detects it.
variable bAcknowledgeTextLocalized¶
Ticked: AcknowledgeTextTextId is resolved by the text provider and that text is sent.
variable bOverrideAcknowledgeText¶
Tool result recorded in history by the …Acknowledge dispositions. Empty = "ok". Set to true to override the inherited AcknowledgeText value.
variable bOverrideInput¶
Text the model reads to decide on a tool call: the player's message or an earlier node's output. Empty = the player's message. Set to true to override the inherited Input value.
variable bOverrideModelName¶
Language model this node runs. Empty = the workflow's Default Model Name. Set to true to override the inherited ModelName value.
variable bOverrideSystemPrompt¶
System message the model reads before the dialog. Empty = none. Set to true to override the inherited SystemPrompt value.
variable bParallelToolCalls¶
Allow several tool calls in one turn, if the model's chat template supports it.
variable bSystemPromptLocalized¶
Ticked: SystemPromptTextId is resolved by the text provider and that text is sent.
Public Functions Documentation¶
function GetDocsUrl¶
Reference page of this node type on docs.tryllengine.com, opened by the editor's help button. Empty for test-only node types, which have no page.
Implements UTryllNodeParamsBase::GetDocsUrl
function GetNodeType¶
Implements UTryllNodeParamsBase::GetNodeType
function Pack¶
virtual flatbuffers::Offset< void > UTryllToolCallParams::Pack (
flatbuffers::FlatBufferBuilder & Fbb,
Tryll::NodeParams::NodeParams & OutType
) override const
Implements UTryllNodeParamsBase::Pack
The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/Generated/Nodes/TryllToolCallParams.h