Skip to content

TextToolCallRepairOptions

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

Gates for textToNativeToolCalls / promoteTextEmittedToolCallMessage.

allowedToolNames: Iterable<string>

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

The names of the tools bound to this run (the allow-list). Only a text-emitted call whose name is one of these promotes; an unknown name is left as text. An EMPTY set promotes nothing — the prose-safe default (no toolset ⇒ nothing is a call).


optional maxPayloadBytes?: number

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

Payload-size cap; defaults to MAX_TEXT_EMITTED_TOOL_CALL_PAYLOAD_BYTES.