lean_diagnostic_messages
Retrieve all diagnostic messages (errors, warnings, infos) from a Lean file to identify and resolve code issues.
Instructions
Get all diagnostic msgs (errors, warnings, infos) for a Lean file.
"no goals to be solved" means code may need removal.
Args:
file_path (str): Abs path to Lean file
Returns:
List[str] | str: Diagnostic msgs or error msg
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |