Skip to content

PersistentAI API Documentation / @persistentai/fireflow-nodes / resolveTemplateValue

Function: resolveTemplateValue()

resolveTemplateValue(value, templateValues): string

Defined in: packages/fireflow-nodes/src/nodes/mcp/utils.ts:76

Resolve template variables in a string value

Parameters

value

string

String potentially containing

templateValues

Record<string, string>

Map of variable names to values

Returns

string

Resolved string with variables substituted

Licensed under BUSL-1.1