List or release isolated worktrees
isolated_dirsList or delete isolated Git worktrees (no paths accepted). Succeeded access=read tasks that changed nothing are auto-released and rebuilt on session_id resume; release permanently deletes any retained worktree, including all Git-ignored…
Instructions
List or delete isolated Git worktrees (no paths accepted). Succeeded access=read tasks that changed nothing are auto-released and rebuilt on session_id resume; release permanently deletes any retained worktree, including all Git-ignored files; with uncommitted source files or unmerged commits, or when the worktree belongs to another workspace, it first returns inspection results and a confirmation token without deleting; call again with the token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "isolated_dirs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | wt-... id to release; omit for list. | |
| cwd | No | list only: absolute path in a repo; lists its worktrees from every workspace, own_workspace marks yours. Omit for this workspace only. | |
| action | Yes | list worktrees or release one by id. | |
| confirmation | No | Snapshot token from confirmation_required; omit on first release or list. | |
| manager_session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| items | No | ||
| reason | No | ||
| status | No | ||
| head_oid | No | ||
| uncommitted | No | ||
| confirmation | No | ||
| nested_repos | No | ||
| unique_commits | No |