Skip to content

Class UTryllToolCallParams

ClassList > UTryllToolCallParams

More...

  • #include <TryllToolCallParams.h>

Inherits the following classes: UTryllNodeParamsBase

Public Attributes

Type Name
FString AcknowledgeText
int32 ContextSize = 0
ETryllToolCallDisposition Disposition = ETryllToolCallDisposition::Acknowledge
FTryllSlotInput Input
ETryllToolCallMode Mode = ETryllToolCallMode::CallOrAnswer
FTryllModelName ModelName
FString NoToolCalledExit
FTryllSamplingOverrides Sampling
FString SystemPrompt
FString ToolCallFormat
FString ToolCalledExit
TArray< FTryllToolDefinition > Tools
bool bOverrideAcknowledgeText = false
bool bOverrideInput = false
bool bOverrideModelName = false
bool bOverrideSystemPrompt = false
bool bOverrideToolCallFormat = false
bool bParallelToolCalls = false

Public Functions

Type Name
virtual ETryllNodeType GetNodeType () override const
virtual flatbuffers::Offset< void > Pack (flatbuffers::FlatBufferBuilder & Fbb, Tryll::NodeParams::NodeParams & OutType) override const

Public Functions inherited from UTryllNodeParamsBase

See UTryllNodeParamsBase

Type Name
virtual TArray< FString > GetExitTargetOptions () const
virtual ETryllNodeType GetNodeType () const
FString GetOwnerNodeName () const
virtual flatbuffers::Offset< void > Pack (flatbuffers::FlatBufferBuilder & Fbb, ::Tryll::NodeParams::NodeParams & OutType) const
ETryllNodeType return static_cast (0)

Public Static Functions inherited from UTryllNodeParamsBase

See UTryllNodeParamsBase

Type Name
const FTryllGraphDescription * FindEnclosingGraph (const UObject * Obj)

Detailed Description

LLM-driven tool-call node. Constructs a tool-call prompt, runs sampling, parses the result.

Public Attributes Documentation

variable AcknowledgeText

FString UTryllToolCallParams::AcknowledgeText;

variable ContextSize

int32 UTryllToolCallParams::ContextSize;

KV-cache / context window (n_ctx) for this node in tokens. 0 = fall back to the model variant's context_size, else the server default_n_ctx. Validated against the model's trained maximum at agent creation.


variable Disposition

ETryllToolCallDisposition UTryllToolCallParams::Disposition;

End-to-end notify / pause / history policy for this node. See Tryll.ToolCallDisposition. Mutable: stamped onto ToolCallRecord at write time, so a mid-session change only affects subsequent turns.


variable Input

FTryllSlotInput UTryllToolCallParams::Input;

Upstream inter-node slot this field consumes. Empty = context default.


variable Mode

ETryllToolCallMode UTryllToolCallParams::Mode;

Tool-choice policy — see Tryll.ToolCallMode. Mutable: the grammar is rebuilt every turn, so a client can flip a node between (for example) RequireCall for a known-command turn and DetectOnly for free chat.


variable ModelName

FTryllModelName UTryllToolCallParams::ModelName;

variable NoToolCalledExit

FString UTryllToolCallParams::NoToolCalledExit;

Exit taken when no tool call is parsed (or, under mode=call_or_answer, when the model's residual text was emitted as a plain-text reply instead). Empty string = END. Graph exit "no_tool_called" — target node name; empty = END.


variable Sampling

FTryllSamplingOverrides UTryllToolCallParams::Sampling;

Sparse sampling overrides.


variable SystemPrompt

FString UTryllToolCallParams::SystemPrompt;

variable ToolCallFormat

FString UTryllToolCallParams::ToolCallFormat;

variable ToolCalledExit

FString UTryllToolCallParams::ToolCalledExit;

Exit taken when one or more tool calls are parsed from the response. Empty string = END. Graph exit "tool_called" — target node name; empty = END.


variable Tools

TArray<FTryllToolDefinition> UTryllToolCallParams::Tools;

Callable tool definitions. Structural because the tool-call prompt schema and parser contract are materialised at construction.


variable bOverrideAcknowledgeText

bool UTryllToolCallParams::bOverrideAcknowledgeText;

Result text used when disposition synthesises an acknowledgement (Acknowledge / NotifyAndAcknowledge / PauseAndAcknowledge). Empty = "ok". Ignored for RouteOnly / Notify / Pause / AwaitResult. Set to true to override the inherited AcknowledgeText value.


variable bOverrideInput

bool UTryllToolCallParams::bOverrideInput;

Slot name this node consumes as its primary text. Empty = "user_message". Structural: immutable after creation — rebinding would re-wire the slot dataflow that is validated once at agent creation. Set to true to override the inherited Input value.


variable bOverrideModelName

bool UTryllToolCallParams::bOverrideModelName;

Model catalog name. Empty = use the agent's default_model_name. Set to true to override the inherited ModelName value.


variable bOverrideSystemPrompt

bool UTryllToolCallParams::bOverrideSystemPrompt;

Prepended before the user turn during projection. Set to true to override the inherited SystemPrompt value.


variable bOverrideToolCallFormat

bool UTryllToolCallParams::bOverrideToolCallFormat;

DEPRECATED (kept for wire/config compatibility; ignored by the server). Tool-call prompting and parsing are now driven by the model's own chat template via llama.cpp common/ (see LlamaCppChatTurn), so no per-dialect format is needed. Structural so mutation is still vetoed. Set to true to override the inherited ToolCallFormat value.


variable bParallelToolCalls

bool UTryllToolCallParams::bParallelToolCalls;

Allow more than one tool call per turn where the model's chat template supports it (most formats cap at one call when false). Mutable for the same reason as mode.


Public Functions Documentation

function GetNodeType

inline virtual ETryllNodeType UTryllToolCallParams::GetNodeType () override const

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