Get a scan job
get_scan_jobLook up a Hackbait Vulnerability Scan by the job identifier returned from vulnerability_scan. Use this when the person asks whether a scan is done, or when you have a job_id and need the report. If the job is still queued or running, return the current status and do not invent a grade or findings; say the account owner is emailed when it finishes, and check again later. If it is done, return the grade when one exists, a short list of top issues, how-to-fix steps for those issues, and the report link. If it is failed, say the credit was returned automatically when that happened, and do not retry unless the person asks. Do not use this for a new scan (call surface_scan or vulnerability_scan). Do not use this to change the site.
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_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job identifier returned when the Vulnerability Scan was started, for example `aps_` followed by 20 hex characters. |