python_code_validator
Validates Python code with syntax, lint, security, and credential checks, then returns a verdict score and optional deterministic repair.
Instructions
Validate Python: syntax and lint diagnostics, a security policy over the AST, a credential scan and deterministic repair. Returns a verdict with a score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The Python source to validate. | |
| mode | No | static analyses only; repair also returns fixed code; execute runs it in a sandbox. repair and execute need a paid key. | static |
| filename | No | Name to report diagnostics against. |