{"version":"2.1.334","anchor":"subagent-worktree-makeremove-handlers-added-to-the-tools-ho","canonical_anchor":"subagent-worktree-makeremove-handlers-added-to-the-tools-ho","heading":"Tools host can now be asked to make and remove subagent worktrees","tier":"internal","area":"Subagents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/subagent-worktree-makeremove-handlers-added-to-the-tools-ho","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Tools host can now be asked to make and remove subagent worktrees\n\nClaude Code's tools host gains commands to make and remove a subagent's worktree, with nothing in Claude Code itself calling them yet\n\n**Unclear.** What sends these requests, and whether any setting turns this path on, is not known.\n\n**What**\n\nA subagent is a separate helper agent Claude starts for part of a task. A worktree is an extra working copy of a git repository, so a subagent can change files without touching yours. The tools host is the part that runs tools on Claude's behalf.\n\nThe tools host can now be asked to make or remove a worktree for a subagent. When an agent's worktree is no longer held, Claude Code reports: \"this agent's worktree is no longer held by the tools host. Start a new agent if the work is still needed.\" Nothing inside Claude Code sends these two requests, so anything that uses them would come from outside, such as a remote host.\n\n**Why**\n\nKeeping subagent worktrees appears to be moving out of Claude Code's own process and into a separate tools host.\n\n- Area: Subagents\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}