check_python_syntax
Check Python code syntax with AST parsing to catch errors before execution. Provide code or script path for immediate validation.
Instructions
Check Python code syntax without executing. Uses Python's ast.parse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Python code to check (mutually exclusive with script_path) | |
| script_path | No | Path to Python script to check (mutually exclusive with code) |