zms_list_resources
List ZMS resources (workloads).
Instructions
List ZMS resources (workloads).
Read-only. Returns one row per workload (id, name, type, status, cloud provider/region, OS, IPs). Filter by name/status/type/provider/region/OS. Requires ZSCALER_CUSTOMER_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| 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. | |
| status | No | ||
| page_num | No | ||
| page_size | No | ||
| sort_order | No | ||
| platform_os | No | ||
| cloud_region | No | ||
| resource_type | No | ||
| cloud_provider | No | ||
| include_deleted | No |