List a project's git worktrees
list_worktreesLists git worktrees for a project, showing each worktree's path, branch, HEAD, main status, ticket ID, and resolved worktree directory. Read-only.
Instructions
List the git worktrees for a project's code repo (git worktree list). Each entry carries its path, branch, HEAD, whether it's the main repo working tree (isMain), and the derived ticket id. Also returns the resolved worktreeDir where per-ticket worktrees live (OUTSIDE the repo by default; see the sync caveat on create_worktree). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes |