list_nat_gateway_rules
Lists all rules assigned to a specified NAT gateway. Provide the datacenter ID and NAT gateway ID to retrieve them, and apply optional filters to narrow results.
Instructions
List all rules of a specific NAT gateway
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"datacenter_id": "<datacenter_id>",
"nat_gateway_id": "<nat_gateway_id>"
},
"name": "list_nat_gateway_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | nesting depth of returned objects (0-5, default 1) | |
| filters | No | server-side filters as property→value pairs (contains match); e.g. {"name":"prod","type":"SNAT"} If the result is empty, retry without filters — a filter typo or mismatch silently returns nothing. | |
| datacenter_id | Yes | the ID of the data center | |
| nat_gateway_id | Yes | the ID of the NAT gateway |