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 tokenGate expression in registry
ConfigToolprocess.env.USER_TYPE === 'ant'
TungstenToolprocess.env.USER_TYPE === 'ant'
SuggestBackgroundPRToolIncluded when lazy import is non-null (constructed from USER_TYPE === 'ant')
REPLToolprocess.env.USER_TYPE === 'ant' && REPLTool

Feature-flag or runtime-gated registrations

Registration tokenGate expression in registry
WebBrowserToolIncluded when lazy import is non-null (WEB_BROWSER_TOOL feature)
TaskCreateToolisTodoV2Enabled()
TaskGetToolisTodoV2Enabled()
TaskUpdateToolisTodoV2Enabled()
TaskListToolisTodoV2Enabled()
OverflowTestToolIncluded when lazy import is non-null (OVERFLOW_TEST_TOOL)
CtxInspectToolIncluded when lazy import is non-null (CONTEXT_COLLAPSE)
TerminalCaptureToolIncluded when lazy import is non-null (TERMINAL_PANEL)
LSPToolisEnvTruthy(process.env.ENABLE_LSP_TOOL)
EnterWorktreeToolisWorktreeModeEnabled()
ExitWorktreeToolisWorktreeModeEnabled()
ListPeersToolIncluded when lazy import is non-null (UDS_INBOX)
getTeamCreateTool() (TeamCreateTool)isAgentSwarmsEnabled()
getTeamDeleteTool() (TeamDeleteTool)isAgentSwarmsEnabled()
VerifyPlanExecutionToolIncluded when lazy import is non-null (CLAUDE_CODE_VERIFY_PLAN === 'true')
WorkflowToolIncluded when lazy import is non-null (WORKFLOW_SCRIPTS)
SleepToolIncluded when lazy import is non-null (PROACTIVE or KAIROS)
CronCreateToolIncluded via cronTools (AGENT_TRIGGERS)
CronDeleteToolIncluded via cronTools (AGENT_TRIGGERS)
CronListToolIncluded via cronTools (AGENT_TRIGGERS)
RemoteTriggerToolIncluded when lazy import is non-null (AGENT_TRIGGERS_REMOTE)
MonitorToolIncluded when lazy import is non-null (MONITOR_TOOL)
SendUserFileToolIncluded when lazy import is non-null (KAIROS)
PushNotificationToolIncluded when lazy import is non-null (KAIROS or KAIROS_PUSH_NOTIFICATION)
SubscribePRToolIncluded when lazy import is non-null (KAIROS_GITHUB_WEBHOOKS)
getPowerShellTool() (PowerShellTool)Included when isPowerShellToolEnabled() returns true
SnipToolIncluded when lazy import is non-null (HISTORY_SNIP)
TestingPermissionToolprocess.env.NODE_ENV === 'test'
ToolSearchToolisToolSearchEnabledOptimistic()

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.