{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Retrieves the prefix-to-ASN mapping from global routing tables.","properties":{"query":{"type":"object","properties":{"prefix":{"anyOf":[{"type":"string"},{"type":"string"}],"examples":["1.1.1.0/24"]},"origin":{"description":"Lookup prefixes originated by the given ASN.","type":"integer"},"rpkiStatus":{"description":"Return only results with matching rpki status: valid, invalid or unknown.","type":"string","enum":["VALID","INVALID","UNKNOWN"],"examples":["INVALID"]},"longestPrefixMatch":{"description":"Return only results with the longest prefix match for the given prefix. For example, specify a /32 prefix to lookup the origin ASN for an IPv4 address.","type":"boolean","examples":["true"]},"format":{"description":"Format in which results will be returned.","type":"string","enum":["JSON","CSV"],"examples":["json"]}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"name":"Get prefix-to-ASN mapping","id":"cloudflare.radar-get-bgp-pfx2as","example":{},"maxRequests":1,"summary":false}}