Run AST & Link-Aware Static Analysis
checkScans source files with AST and link-budget rules after code edits, returning SARIF-compatible findings for missing timeouts, swallowed errors, hardcoded secrets, and money floats without running code.
Instructions
Scan source code files (Python, Rust, TypeScript, JavaScript, C, and C++/Arduino) using single-pass deterministic AST guardrails, physical-layer link rules, and optional external compiler or linter gates, returning structured findings and SARIF-compatible diagnostics. Use this after creating or editing code to catch missing timeouts, swallowed errors, money floats, hardcoded secrets, and link-budget violations without executing the program.
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": "check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hz | No | Assumed transmit rate in Hertz used when evaluating physical-layer link rules (defaults to 10.0 Hz). | |
| path | No | Optional relative file path or subdirectory within the workspace to scan. Omit to scan the entire project. | |
| profile | No | Optional RF or serial link profile ID (for example: lora-sf12, ble-1m, wifi-24g-congested, leo-sat, or uart-9600) used to enforce loop-send batching, framing, and timeout rules. | |
| ast_only | No | When true, run only built-in deterministic AST rules and skip external compiler or linter subprocess gates (defaults to false). | |
| pedantic | No | When true, enable stricter pedantic static-analysis rules in addition to default quality gates (defaults to false). |