wait_for_report
Wait (bounded) for a report to finish and return it. Median delivery is around 190s, so the default 120s timeout returns {status:'PROCESSING', pollAfterSeconds} for most reports — pass timeoutSeconds: 240 for the best single-call odds, and prefer the webhook when you cannot afford to poll. Timing out is a normal outcome here, not an error: wait pollAfterSeconds, then call this tool again or use get_report. With a cnh_test_ key the wait is capped at 30s — sandbox reports are prompt or scheduled, so poll again as told. Does not consume credits. The returned report has the same shape and caveats as get_report (incl. fines_unverified).
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": {
"reportId": "<reportId>"
},
"name": "wait_for_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reportId | Yes | The reportId returned by request_report. | |
| timeoutSeconds | No | Max seconds to wait (default 120, hard cap 240). Roughly a third of reports finish inside 120s and about three fifths inside 240s, so even the cap times out sometimes. |