upguard_get_ranges
Retrieve and filter your account's IP ranges by labels, and sort by IP count, owner, country, or ASN. Use pagination to navigate large result sets.
Instructions
Get a list of IP ranges for your account with filtering and sorting options
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upguard_get_ranges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | Filter results to only include IP ranges that have all the specified labels assigned | |
| sort_by | No | Sort IP ranges by: "start" (starting IP address), "end" (ending IP address), "num_ips" (number of IPs in range), "owner" (organization that owns the range), "country" (country code), "asn" (Autonomous System Number), "as_name" (Autonomous System name) | num_ips |
| page_size | No | Number of IP ranges to return per page (10-2000, defaults to 1000) | |
| sort_desc | No | Sort in descending order (true) or ascending order (false, default) | |
| page_token | No | Pagination token from a previous request to get the next page of results |