get_scan_report
Poll the status of a job_id returned by scan_contract. Call this every few minutes after submitting. Reports usually arrive within the hour; polling faster just re-checks a job that is still processing. Returns status (queued/processing/complete/failed), the repo under scan, and once complete the reportUrl (the report of hypotheses, with the share of code that was read), the outcome and the coverage. A failed job says why and where to write for a new attempt or a refund. A 404 means the job_id does not exist — double-check what scan_contract actually returned rather than retrying blindly. [free]
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": {
"job_id": "<job_id>"
},
"name": "get_scan_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by scan_contract |