getNetwork
Retrieve detailed information about a specific Meraki network using its network ID.
Instructions
Get network details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| networkId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- meraki-mcp-dynamic.py:451-454 (handler)The MCP tool 'getNetwork' is defined in meraki-mcp-dynamic.py. It is a pre-registered convenience tool decorated with @mcp.tool() that takes a networkId parameter and delegates to call_meraki_method('networks', 'getNetwork', ...).
@mcp.tool() async def getNetwork(networkId: str) -> str: """Get network details""" return await call_meraki_method("networks", "getNetwork", networkId=networkId) - meraki-mcp.py:288-292 (handler)In the manual meraki-mcp.py, the equivalent tool is named 'get_network_details' instead of 'getNetwork'. It directly calls dashboard.networks.getNetwork() synchronously.
@mcp.tool() def get_network_details(network_id: str) -> str: """Get details for a specific network""" network = dashboard.networks.getNetwork(network_id) return json.dumps(network, indent=2) - meraki-mcp-dynamic.py:385-387 (helper)The helper function that getNetwork delegates to. It wraps the synchronous Meraki SDK call in an async thread.
async def call_meraki_method(section: str, method: str, **params) -> str: """Internal async wrapper for pre-registered tools""" return await to_async(_call_meraki_method_internal)(section, method, params) - meraki-mcp.py:73-73 (helper)Async wrapper creation for dashboard.networks.getNetwork used by get_network_details in meraki-mcp.py.
async_get_network = to_async(dashboard.networks.getNetwork) - meraki-mcp-dynamic.py:655-656 (registration)The getMCPConfig tool confirms 'getNetwork' is one of 12 pre-registered convenience tools.
"pre_registered_tools": ["getOrganizations", "getOrganizationAdmins", "getOrganizationNetworks", "getOrganizationDevices", "getNetwork", "getNetworkClients",