parseToolArgsSafe
parseToolArgsSafe(
argsText):Record<string,unknown> |null
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:199
Tolerant parse of a (possibly partial) streamed args JSON. Mirrors the view-model’s
defensive posture: a half-streamed or malformed buffer never throws — it returns null.
Parameters
Section titled “Parameters”argsText
Section titled “argsText”string | undefined
Returns
Section titled “Returns”Record<string, unknown> | null