Ground Finding
ground_findingVerify a code finding's validity by retrieving its enclosing function, cross-file symbol references, and file imports, enabling confirmation before taking action.
Instructions
Ground a specific finding in real code: returns the full enclosing function, every other file referencing the same symbol, and the file's imports. Use this BEFORE acting on any finding to confirm it is real.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"file": "<file>",
"line": "<line>"
},
"name": "ground_finding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Repo-relative file path from a finding | |
| line | Yes | Line number from a finding | |
| path | Yes | Absolute path to the repository root |