Reference · Rules and helpers · rules.rs

tool_name Function

The tool's name for people, by id.

func toolName(id: String, lang: String) -> String

Parameters

NameTypeSwift / C#
idStringid
langStringlang

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.