zdx_list_locations
List ZDX locations as curated id/name rows.
Instructions
List ZDX locations as curated id/name rows.
Read-only. Use a returned id as the location_id scope filter on other
ZDX tools. since is in HOURS (default 2h).
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": "zdx_list_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional JMESPath expression applied to the results after the API call, for client-side filtering and projection. Examples: "[?enabled==`true`]", "[*].{name: name, id: id}", "length(@)". Omit to get the full records. IMPORTANT: field names are the keys of the returned records, which are usually snake_case (`custom_category`) even where the Zscaler API documents camelCase (`customCategory`) — guessing the spelling yields an empty list that looks like a real answer. If you have not already seen a record from this tool, call it once without `query` and read the keys off the response. | |
| since | No | ||
| search | No |