request_holder_consent
Get the link a licence holder opens to authorize the lookup of data their issuing state releases only with consent (today SP points and fines, on gov.br). Use it when a report's holderConsent.status is required, declined, denied, expired or revoked; holderConsent.stateCode and covers say which state and what the consent releases. Hand the url to the user so they send it to the holder. The link is valid 7 days; calling again issues a new one and the previous link stops working. After the holder authorizes, the same report is updated (holderConsent.status becomes active; check it with get_report). Never call it for a report whose holderConsent is null or active.
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": "request_holder_consent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reportId | Yes | The reportId of a report whose holderConsent is not null (from request_report or get_report). |