describeGrantedBuiltInTools
describeGrantedBuiltInTools(
registeredToolNames,rung,gatedTools):GrantedToolSummary[]
Defined in: core/dist/config/tool-descriptions.d.ts:165
§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.
Parameters
Section titled “Parameters”registeredToolNames
Section titled “registeredToolNames”readonly string[]
"read-only" | "write" | "auto-safe" | "full-auto" | "bypass"
gatedTools
Section titled “gatedTools”readonly string[]