Check
lean_checkCheck a Lean project, file, or declaration against a pinned toolchain and return a proof receipt that flags sorry and lists reported axioms.
Instructions
GET /check: check a project, a file or one declaration and return the proof receipt.
file is relative to the project. declaration needs file. The receipt
fails on sorry and lists every axiom #print axioms reports.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_dir": "<project_dir>"
},
"name": "lean_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| build | No | ||
| declaration | No | ||
| project_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||