Get network VPN gateway
get_network_vpn_gatewayReads one owned VPN gateway's current generation, peers, grant candidates, attachment capability, and recent operation summary to inspect configuration and plan IPsec or WireGuard changes.
Instructions
Read one owned VPN gateway, current generation, peers, grant candidates and attachment capability. recent_operation is the latest gateway action summary, with durable progress and generation-matched observation timestamps; it is not a connectivity test. image.update.public_release is optional operator-reviewed channel and notes for a qualified selected target when update status is current or available; it does not describe the installed build or promise an automatic update. Read capabilities.site_ipsec and ipsec_profiles before requesting an IPsec site; availability depends on this gateway's advertised capabilities. capabilities.site_ipsec_bgp_lines reports available/reason_code when the current backend can support two-line BGP; it is absent on older backends. Peer grant_scope distinguishes individual servers from network-wide access to current and future eligible servers. WireGuard peers carry rx_bytes / tx_bytes, last_handshake_at and current_endpoint (the outer address:port last observed; live only, null until learned). IPsec sites report SA/liveness and crypto facts: an old CHILD-SA rekey time is not a failed WireGuard handshake, and requested pqc is not observed post_quantum. For two-line sites, site.lines[n].bgp and site.lines[n].active belong to that exact line; site.bgp is legacy line-1 data. A line's active is local route ownership, not a BGP bestpath. When present, route_visibility is VPSnet gateway FRR evidence scoped to that line: accepted and selected are bounded neighbor routes, advertised is after-policy output, and installed.observed proves only exact local kernel routes. Unknown or stale evidence is not an empty route assertion; no customer-router reachability is measured. site_options shows hub_and_spoke, hub_and_spoke_applied and route_mode while site-to-site is enabled. For traffic over time use get_network_vpn_peer_history. Requires explicit networking:read for reads or networking:manage for changes; full/read defaults do not grant networking. The backend enforces ownership, feature availability and service 2FA locks.
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": {
"gateway_id": "<gateway_id>"
},
"name": "get_network_vpn_gateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gateway_id | Yes | Exact lowercase UUID returned by an owned networking resource |