Get network
get_networkRetrieve an OpenStack network by ID to inspect status, sharing and external flags, MTU, subnets, and provider data. Use list_networks to find the network ID first.
Instructions
Get one network by ID: status, sharing and external flags, MTU, subnets, provider data.
Use list_networks to find IDs, with shared=true for shared networks. Returns not_found if the network is not visible to the selected project.
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": {
"network_id": "<network_id>"
},
"name": "get_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_id | Yes | Network ID, as returned by list_networks. | |
| project_id | No | Project ID to work in; omit for the default project. Allowed values are listed by get_scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| mtu | No | ||
| name | No | ||
| status | No | ||
| is_shared | No | ||
| project_id | No | ||
| subnet_ids | No | ||
| description | No | ||
| is_admin_state_up | No | ||
| availability_zones | No | ||
| is_router_external | No | ||
| provider_network_type | No | ||
| provider_segmentation_id | No | ||
| provider_physical_network | No |