Home / Servers / Linode API / get_vpc_subnets
List VPC subnets
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
List VPC subnets Get information about all VPC Subnets associated with a VPC. > --- - __CLI__. linode-cli vpcs subnets-list $vpcId Learn more... [GET /v4/vpcs/{vpcId}/subnets]
Name on the gateway: linode_api__get_vpc_subnets · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
vpcId required | integer | The id of the VPC. |
page | integer | The page of a collection to return. |
page_size | integer | The number of items to return per page. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "linode_api__get_vpc_subnets",
"arguments": {
"vpcId": 0
}
}Or connect the Linode API server directly, which lists 439 tools including this one:
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the list vpc subnets tool with vpcId set to ….