Analyzed: March 31, 2026 leak snapshot
Each row documents what gate expression controls registration in getAllBaseTools() (src/tools.ts).
Anthropic-internal or user-type gated registrations
| Registration token | Gate expression in registry |
|---|
ConfigTool | process.env.USER_TYPE === 'ant' |
TungstenTool | process.env.USER_TYPE === 'ant' |
SuggestBackgroundPRTool | Included when lazy import is non-null (constructed from USER_TYPE === 'ant') |
REPLTool | process.env.USER_TYPE === 'ant' && REPLTool |
Feature-flag or runtime-gated registrations
| Registration token | Gate expression in registry |
|---|
WebBrowserTool | Included when lazy import is non-null (WEB_BROWSER_TOOL feature) |
TaskCreateTool | isTodoV2Enabled() |
TaskGetTool | isTodoV2Enabled() |
TaskUpdateTool | isTodoV2Enabled() |
TaskListTool | isTodoV2Enabled() |
OverflowTestTool | Included when lazy import is non-null (OVERFLOW_TEST_TOOL) |
CtxInspectTool | Included when lazy import is non-null (CONTEXT_COLLAPSE) |
TerminalCaptureTool | Included when lazy import is non-null (TERMINAL_PANEL) |
LSPTool | isEnvTruthy(process.env.ENABLE_LSP_TOOL) |
EnterWorktreeTool | isWorktreeModeEnabled() |
ExitWorktreeTool | isWorktreeModeEnabled() |
ListPeersTool | Included when lazy import is non-null (UDS_INBOX) |
getTeamCreateTool() (TeamCreateTool) | isAgentSwarmsEnabled() |
getTeamDeleteTool() (TeamDeleteTool) | isAgentSwarmsEnabled() |
VerifyPlanExecutionTool | Included when lazy import is non-null (CLAUDE_CODE_VERIFY_PLAN === 'true') |
WorkflowTool | Included when lazy import is non-null (WORKFLOW_SCRIPTS) |
SleepTool | Included when lazy import is non-null (PROACTIVE or KAIROS) |
CronCreateTool | Included via cronTools (AGENT_TRIGGERS) |
CronDeleteTool | Included via cronTools (AGENT_TRIGGERS) |
CronListTool | Included via cronTools (AGENT_TRIGGERS) |
RemoteTriggerTool | Included when lazy import is non-null (AGENT_TRIGGERS_REMOTE) |
MonitorTool | Included when lazy import is non-null (MONITOR_TOOL) |
SendUserFileTool | Included when lazy import is non-null (KAIROS) |
PushNotificationTool | Included when lazy import is non-null (KAIROS or KAIROS_PUSH_NOTIFICATION) |
SubscribePRTool | Included when lazy import is non-null (KAIROS_GITHUB_WEBHOOKS) |
getPowerShellTool() (PowerShellTool) | Included when isPowerShellToolEnabled() returns true |
SnipTool | Included when lazy import is non-null (HISTORY_SNIP) |
TestingPermissionTool | process.env.NODE_ENV === 'test' |
ToolSearchTool | isToolSearchEnabledOptimistic() |
Count and interpretation
In this snapshot, getAllBaseTools() includes:
- a stable core set
- a large conditional set that depends on feature flags, env, and runtime mode
So the effective runtime tool set is environment-specific by design.