Skip to content

buildToolBodyLines

buildToolBodyLines(input, secrets?): ToolDisplayLine[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:594

The FULL (uncapped) body lines for a call: the registry formatter when one applies, else the shape-based shell formatter, else the generic fallback (live output lines, then the final result — both dim). Every line is secret-redacted and then neutralised. Used by the TUI’s EXPANDED panel; cap it with capToolDisplayLines for the collapsed preview.

ToolCallDisplayInput

readonly string[] = ...

ToolDisplayLine[]