getGhReadFileMaxBytes
getGhReadFileMaxBytes(
config,command):number
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:264
CFG-52 — the decoded-text byte ceiling for GH_READ_FILE_TOOL_NAME, falling back to GH_READ_FILE_DEFAULT_MAX_BYTES. Only the object form can override it, and an out-of-range / non-numeric value falls back to the default — the same guard getShellMaxOutputBytes applies.
Parameters
Section titled “Parameters”config
Section titled “config”Pick<GthConfig, "commands" | "builtInTools"> | undefined
command
Section titled “command”Returns
Section titled “Returns”number