The full text
The whole documents, one page each, exactly as they were sent.
DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.
1 of 27 tool descriptions changed. Compared against v2.1.156.
This edit reached all 27 arms
## Requirements - Must be in a git repository, OR have WorktreeCreate/WorktreeRemove hooks configured in settings.json -- Must not already be in a worktree +- Must not already be in a worktree session when creating a new worktree (`name`); switching into another existing worktree via `path` is allowed ## Behavior
## Entering an existing worktree Pass `path` instead of `name` to switch the session into a worktree that already exists (e.g., one you just created with `git worktree add`). The path must appear in `git worktree list` for the current repository — paths that are not registered worktrees of this repo are rejected. ExitWorktree will not remove a worktree entered this way; use `action: "keep"` to return to the original directory. + +Switching with `path` also works when the session is already in a worktree (the previous worktree is left on disk, untouched, and only the new one is tracked for exit-time cleanup), and from agents whose working directory was pinned at launch (subagent isolation or explicit cwd). In both cases the target must be a worktree under `.claude/worktrees/` of the same repository, and from a pinned agent the switch only affects this agent, not the parent session. After a further switch, previously-visited worktrees are no longer writable — re-issue EnterWorktree with `path` to return to one. ## Parameters
The whole documents, one page each, exactly as they were sent.