git_worktree_list
List all git worktrees in a repository, showing each worktree's path, branch, commit, and dirty status. Use instead of the standard git command to manage parallel work.
Instructions
List all hops (git worktrees) in a repository. Use this instead of "git worktree list". Shows each worktree path, branch, commit, and dirty status. IMPORTANT: After showing results, always display the hints from the response to help the user know their options (hop to, hop open, hop start).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git_worktree_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Any path inside the git repository. If omitted, uses current working directory. |