ToolCallDisplayInput
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:84
Everything a formatter may look at for one tool call. Both surfaces build this from their
own state (the TUI from ToolCallViewModel, the plain surface from the message stream).
Properties
Section titled “Properties”argsText?
Section titled “argsText?”
optionalargsText?:string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:88
The raw streamed args JSON (possibly partial mid-stream, possibly invalid).
isError?
Section titled “isError?”
optionalisError?:boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:94
The real ToolMessage.status === 'error' signal (TUI-C7) — never sniffed from text.
liveOutputAlreadyShown?
Section titled “liveOutputAlreadyShown?”
optionalliveOutputAlreadyShown?:boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:106
True when the live child output ALREADY streamed raw to the user’s terminal (the plain surface’s default sink). Formatters then suppress the duplicated output body and render only the closing status — the TUI-C17 “output AND result repeat each other” dedupe.
name:
string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:86
The gth tool name (read_file, run_shell_command, a custom tool’s name).
output?
Section titled “output?”
optionaloutput?:string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:92
Live streamed child output (TUI only — the tool_output channel’s accumulation).
raterClarification?
Section titled “raterClarification?”
optionalraterClarification?:boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:100
[[TUI-C69]] §5.4 — the gate refused this call BACK TO THE AGENT as a negotiation round, so the status row reads as a clarification request rather than as a failure. See toolStatusDisplay. Display-only, and additive to isError.
result?
Section titled “result?”
optionalresult?:string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:90
The final model-facing tool result, when it has arrived.