Home / Servers / Linode API / get_vpc_subnet
Get a VPC subnet
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
Get a VPC subnet Get information about a single VPC Subnet. > --- - __CLI__. linode-cli vpcs subnet-view $vpcId $vpcSubnetId Learn more... [GET /v4/vpcs/{vpcId}/subnets/{vpcSubnetId}]
Name on the gateway: linode_api__get_vpc_subnet · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
vpcId required | integer | The id of the VPC. |
vpcSubnetId required | integer | The id of the VPC Subnet. |
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_subnet",
"arguments": {
"vpcId": 0,
"vpcSubnetId": 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 get a vpc subnet tool with vpcId set to ….