request_report
Request a CNH report for a Brazilian CPF; consumes one credit per new report. Returns immediately with a reportId — delivery is asynchronous (typically ~5 minutes): webhooks are the production pattern; use wait_for_report or poll get_report in interactive sessions. When retrying a logical request, reuse the SAME externalRef (idempotent per CPF+externalRef for 1 hour) — a fresh externalRef per retry attempt defeats idempotency and bills again. On a 402 error the credit line is exhausted: check get_credit_balance and contact your organization admin (not retryable); on a 429, wait the returned retryAfter seconds before retrying.
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": {
"cpf": "<cpf>"
},
"name": "request_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpf | Yes | Brazilian CPF, 11 digits (formatting is ignored). | |
| externalRef | No | Your stable reference for this logical request (e.g. your order or driver id); idempotency key per CPF for 1 hour. Reuse the SAME value when retrying — never generate a fresh one per attempt. Also lets you recover the report later via find_report_by_external_ref. |