git_worktree_current
Identify the current Git worktree's branch, path, dirty status, and parsed ticket/slug to resume work after context switches or retries.
Instructions
Get the current hop (git worktree) context. Returns the worktree info for the current working directory, including branch, path, dirty status, and parsed ticket/slug. Use this to understand "where am I?" and to enable resumability after context switches or retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Any path inside the git repository. If omitted, uses current working directory. |