Bgp State
bgp_state"BGP routes for [prefix]" / "what AS announces [IP]" / "BGP hijack check" / "current routing state for [resource]", origin ASNs and AS-path lengths currently announcing a resource on the global BGP table. Use to detect BGP hijacks, audit route propagation, find anycast announcers.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource": "8.8.8.0/24"
},
"name": "bgp_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | IP, prefix, or ASN |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Current BGP routing state with origin ASNs and path lengths | |
| status | No | API response status |