get_diagnostics
Retrieve errors, warnings, and code hints for a file or workspace to check syntax and type issues after edits or during refactoring.
Instructions
Retrieve errors, warnings, and code hints for a file or the whole workspace. Use to check syntax/type errors after edits, before and after refactoring.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| line_end | No | ||
| severity | No | ||
| file_path | No | ||
| line_start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||