hop_list
List all Git worktrees (hops) in a repository to see each path, branch, commit, and dirty status instead of running git worktree list.
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": "hop_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Any path inside the git repository. If omitted, uses current working directory. |