git_history_for_symbol
List git commits that touched a code symbol, eliminating the need to specify the file path.
Instructions
Resolve a symbol, then list commits touching its file — symbol-scoped history without needing the path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ref | No | ||
| lang | No | ||
| limit | No | ||
| symbol | No | ||
| worktree | No | Absolute path of the checkout to scope reads to — pass a linked worktree to read its branch overlay. Defaults to the server's working directory. A path that is not a linked worktree of this repo is silently ignored: results then come from the indexed checkout, with no error. | |
| allow_ambiguous | No |