Reference · Tools · tools.rs
resolve_placeholders Function
Stamp text as it is set: {date} / {Datum} become the day the tool runs ("23.10.2026", "23 October 2026"), so a saved workflow stamps today's date, not the day it was saved. The apps show previews with this too.
func resolvePlaceholders(text: String, lang: String) -> Stringpublic static string ResolvePlaceholders(string text, string lang)pub fn resolve_placeholders(text: String, lang: String) -> StringParameters
| Name | Type | Swift / C# |
|---|---|---|
text | String | text |
lang | String | lang |
Returns
String
Errors
Does not throw.
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.