Skip to main content
Glama

list_networks

Retrieve all virtual networks configured in the VergeOS virtualization platform for network management and monitoring.

Instructions

List all virtual networks in VergeOS

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function in VergeOSAPI class that executes the API request to list networks from /api/v4/vnets
    async listNetworks() { return this.request("/api/v4/vnets?fields=most"); }
  • src/index.js:565-567 (registration)
    Tool dispatch/registration in the CallToolRequestSchema handler switch statement
    case "list_networks": result = await api.listNetworks(); break;
  • Tool schema and registration definition in the TOOLS array used for list_tools
    name: "list_networks", description: "List all virtual networks in VergeOS", inputSchema: { type: "object", properties: {}, }, },
  • src/index.js:365-372 (registration)
    Full tool object registration in TOOLS array
    { name: "list_networks", description: "List all virtual networks in VergeOS", inputSchema: { type: "object", properties: {}, }, },
  • Also used in resource handler for vergeos://networks/list
    async listNetworks() { return this.request("/api/v4/vnets?fields=most"); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dvvincent/vergeos-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server