Tool: validate_file_syntax
Description: Validate a file for syntax issues. Supports Python (.py, .pyw), JSON (.json), and YAML (.yml, .yaml) files.
Argument | Type | Description |
---|---|---|
file_path | str | Path to the file to validate. |
Returns | str | Validation status message, or error message. |
Example usage: validate_file_syntax(file_path="main.py")
generated by janito.dev