Skip to main content
Glama

list_subnets

Retrieve all subnets in an Oracle Cloud Infrastructure compartment, with optional filtering by Virtual Cloud Network to identify network configurations and routing details.

Instructions

List all subnets in a compartment, optionally filtered by VCN. Args: compartment_id: OCID of the compartment to list subnets from vcn_id: Optional OCID of the VCN to filter subnets Returns: List of subnets with CIDR blocks, security lists, and routing information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
compartment_idYes
vcn_idNo

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/jopsis/mcp-server-oci'

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