Skip to content

describeGrantedBuiltInTools

describeGrantedBuiltInTools(registeredToolNames, rung, gatedTools): GrantedToolSummary[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/tool-descriptions.ts:283

§4.3/§4.4 — the names and one-line descriptions of the built-in tools already granted at rung, for the rater prompt.

Filtered three ways, each of which matters:

  • to tools actually registered in this session (a suggestion naming a tool the model does not have is worse than no suggestion);
  • to tools in BUILT_IN_TOOL_SUMMARIES, so only locally-authored text ever reaches the rater prompt (never an MCP/custom tool’s own description);
  • to tools granted at the rung — suggesting a tool that would itself need approval defeats the point.

Order follows the registration order so the prompt is stable across runs.

readonly string[]

"read-only" | "write" | "auto-safe" | "full-auto" | "bypass"

readonly string[]

GrantedToolSummary[]