{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"List Zero Trust Gateway rules for an account.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/zero-trust-gateway_identifier-2"}},"required":["account_id"],"additionalProperties":false},"query":{"type":"object","properties":{"filter":{"type":"array","items":{"anyOf":[{"pattern":"^name:.*$","type":"string"},{"pattern":"^id:.*$","type":"string"},{"pattern":"^action:(on|off|allow|block|scan|noscan|safesearch|ytrestricted|isolate|noisolate|override|l4_override|egress|resolve|quarantine|redirect|forward)$","type":"string"},{"pattern":"^enabled:(true|false)$","type":"string"},{"pattern":"^source_account:.*$","type":"string"},{"pattern":"^is_shared:(true|false)$","type":"string"},{"pattern":"^filters:(http|dns|dns_resolver|l4|egress)$","type":"string"},{"pattern":"^expression:.*$","type":"string"}],"type":"string"},"description":"Filter the returned rules by one or more `field:value` pairs. Repeat the\nparameter to combine filters with logical AND.\n\nSupported fields are `name`, `id`, `action`, `enabled`, `source_account`,\n`is_shared`, `filters`, and `expression` (max 1024 bytes). The `source_account`\nvalue is matched as a normalized UUID substring. The `filters` value must\nbe one of the rule filter names and matches a member of the rule's `filters`\narray. The `expression` filter performs a case-insensitive literal\nsubstring match across traffic, identity, and device posture expressions."},"search":{"type":"string","description":"Case-insensitive substring search across rule name and description."},"order_by":{"type":"string","enum":["name","created_at","updated_at","precedence"],"description":"Field to sort the returned rules by. Supported values are `name`,\n`created_at`, `updated_at`, and `precedence`."},"direction":{"type":"string","enum":["asc","desc"],"description":"Sort direction. When `order_by` is omitted, this controls the direction\nof the existing precedence ordering. Shared rules remain first in either\ndirection. Accepted values are `asc` and `desc`."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"zero-trust-gateway_identifier-2":{"description":"Specify the Cloudflare account identifier.","type":"string","examples":["699d98642c564d2e855e9661899b7252"]}}},"name":"List Zero Trust Gateway rules","id":"cloudflare.zero-trust-gateway-rules-list-zero-trust-gateway-rules","example":{"path":{"account_id":"699d98642c564d2e855e9661899b7252"}},"maxRequests":1,"summary":false}}