II.
ToolDescriptor overview
Reference · livetool-descriptor:claude-code-enter-worktree
EnterWorktree (Claude Code worktree-mode entry tool) overview
Built-in Claude Code tool that switches the agent's working directory to an isolated worktree (separate from the user's main checkout). Used for parallel-feature development, experimental changes, and coordinator-spawned subtasks.
Attributes
displayName
EnterWorktree (Claude Code worktree-mode entry tool)
description
Built-in Claude Code tool that switches the agent's working directory
to an isolated worktree (separate from the user's main checkout).
Used for parallel-feature development, experimental changes, and
coordinator-spawned subtasks.
schema
{
"type": "object",
"properties": {
"branch": { "type": "string" },
"path": { "type": "string" }
},
"required": ["branch"]
}
category
mode-control
requiresPermissionGate
true
supportsCancellation
true
abortPropagation
immediate
errorBehavior
user-handled
isSynthetic
false
Outgoing edges
None.
Incoming edges
mode_change_triggered_by_tool1
- output-mode-change:claude-code-enter-worktree-example·OutputModeChange