list_bgp_sessions
List BGP peering sessions of a BGP graph epoch.
Input fields: bgp_graph_time (str): The BGP graph epoch to query igp_relation (str, optional): Filter by relation to the IGP topology (intra-domain, inter-domain, external) bgp_session_type (str, optional): Filter by session type (ibgp, ebgp) page (int): Page number, 1-indexed (default: 1) per_page (int): Items per page (default: 50)
Output fields: dict with keys: items (list of BgpSession), pagination
Equivalent to GET /bgp-graph/{bgp_graph_time}/sessions.
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": {
"bgp_graph_time": "<bgp_graph_time>"
},
"name": "list_bgp_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| per_page | No | ||
| igp_relation | No | ||
| bgp_graph_time | Yes | ||
| bgp_session_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| pagination | Yes |