Rpki Validate
rpki_validateValidate BGP route origin against RPKI ROAs to determine if a prefix and origin ASN pair is VALID, INVALID, or NOT_FOUND, with fallback to Cloudflare Radar.
Instructions
Validate a BGP route origin against RPKI ROAs.
Checks whether a given prefix + origin ASN pair is VALID, INVALID, or NOT_FOUND in RPKI. Returns matching ROAs and details about any max-length issues.
Queries RIPEstat first for full ROA details. If RIPEstat returns NOT_FOUND, Cloudflare Radar is consulted to confirm the status. If RIPEstat is unavailable entirely, falls back to Cloudflare Radar (status only, no ROA details).
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": {
"prefix": "<prefix>",
"origin_asn": "<origin_asn>"
},
"name": "rpki_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | Yes | IP prefix in CIDR notation (e.g. '1.1.1.0/24') | |
| origin_asn | Yes | Origin AS number to validate (e.g. 13335) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | Yes | Human-readable explanation of the status | |
| prefix | Yes | Prefix that was validated | |
| status | Yes | VALID, INVALID, NOT_FOUND (no covering ROA), or ERROR (all sources failed) | |
| origin_asn | Yes | Origin AS that was validated | |
| matching_roas | Yes | ROAs covering the prefix (may be empty) |