find_issues_for_file
Scan issues to return findings that reference a given working-tree file, each with rule, severity, path, and remediation text. The scan is bounded; check scan.complete.
Instructions
Find issues whose findings reference a given working-tree file.
Convenience for the edit loop: scans up to max_issues issues and returns the
findings whose file path matches path (matched by shared path suffix, so an
absolute or repo-relative path both work), each with its rule, severity, path,
and inline remediation text. The backend cannot filter by file, so this is a
client-side scan and may be slow for large workspaces.
The scan is bounded: max_issues is capped at 500 and the whole call at 300
backend requests. Check the returned scan.complete — when it is false the
caps were hit and the file may have findings this result does not list, so
do not read it as "no issues here". Narrow the search with list_issues
filters and follow up on specific issues instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_issues | No |