Class UTryllToolCallParams¶
ClassList > UTryllToolCallParams
#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¶
| 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¶
| 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¶
variable 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¶
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¶
Upstream inter-node slot this field consumes. Empty = context default.
variable 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¶
variable 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¶
Sparse sampling overrides.
variable SystemPrompt¶
variable ToolCallFormat¶
variable 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¶
Callable tool definitions. Structural because the tool-call prompt schema and parser contract are materialised at construction.
variable 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¶
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¶
Model catalog name. Empty = use the agent's default_model_name. Set to true to override the inherited ModelName value.
variable bOverrideSystemPrompt¶
Prepended before the user turn during projection. Set to true to override the inherited SystemPrompt value.
variable 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¶
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¶
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