Skip to content

isHarmonyToolNameChar

isHarmonyToolNameChar(char): boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolCallRepair/grammar.ts:38

Harmony tool names may be NAMESPACED with dots (real gpt-oss emits to=functions.get_weather), so the Harmony header scanner accepts . on top of the provider-safe id chars. This is a Harmony-only widening (EXT-43): the bracket/XML-ish dialects keep isPlainTextToolNameChar unchanged so their prose-safety is untouched. The final dot-segment is the tool name matched against the allow-list (see finalDotSegment).

string | undefined

boolean