Rpki Roa Lookup
rpki_roa_lookupLook up RPKI ROAs for a prefix or ASN to verify authorized route origins. Returns matching Route Origin Authorizations with max-length, trust anchor, and ASN from RIPEstat.
Instructions
Look up RPKI ROAs for a prefix or ASN.
Returns Route Origin Authorizations matching the query, including max-length, trust anchor, and ASN. Useful for understanding what routes an AS is authorized to originate or what ROAs cover a prefix.
For an ASN query only the first 50 announced prefixes are scanned
(large ASes announce thousands); note says when that cap applied.
Data source: RIPEstat. error is set if RIPEstat could not be reached.
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": {
"query": "<query>"
},
"name": "rpki_roa_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Prefix in CIDR notation (e.g. '1.1.1.0/24') or ASN as integer (e.g. '13335') to look up ROAs for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Set when results were truncated or partial | |
| roas | Yes | Matching ROAs | |
| error | No | Set when an upstream lookup failed; other fields may be empty or partial. | |
| query | Yes | The prefix or ASN that was queried | |
| total | Yes | Number of ROAs returned |