clones_for_symbol
Identify the clone class for a code symbol using an id, reference, or path and line. Returns the candidate class when clone siblings exist, or null if the symbol is unique or lacks fingerprint data.
Instructions
The clone class containing a symbol (by id / ref / path+line). Returns the candidate class if the symbol is fingerprinted and has clone siblings; null if it is unique or not fingerprinted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ref | No | ||
| line | No | ||
| path | 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. |