21 lines · 739 B · Markdown
RawDownload

Get errors and warnings for the project or a specific file.

This tool can be invoked after a series of edits to determine if further edits are necessary, or if the user asks to fix errors or warnings in their codebase.

When a path is provided, shows all diagnostics for that specific file. When no path is provided, shows a summary of error and warning counts for all files in the project.

To get diagnostics for a specific file: { "path": "src/main.rs" }

To get a project-wide diagnostic summary: {}

- If you think you can fix a diagnostic, make 1-2 attempts and then give up. - Don't remove code you've generated just because you can't fix an error. The user can help you fix it.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t