{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Search rules using hybrid, vector, keyword, or exact retrieval, backed by AI Search with a SQL fallback.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","examples":["023e105f4ecef8ad9ca31a8372d0c353"],"description":"Cloudflare account ID."}},"required":["account_id"],"additionalProperties":false},"query":{"type":"object","properties":{"namespace":{"description":"Selects namespaces. Repeat the parameter to select multiple namespaces (for example, namespace=foo&namespace=bar).","anyOf":[{"type":"string"},{"items":{"type":"string"},"maxItems":50,"type":"array"}],"examples":[["yara/workers","yara/dns_record"]]},"path":{"description":"Selects paths with exact-match semantics. Omit the parameter to return rules from all paths. Pass an empty string (path=) to return only rules with an empty or uncategorized path. Pass a value (for example, path=yara) to match that exact path. Repeat the parameter (for example, path=yara&path=expr) to OR-match multiple paths with SQL `IN (...)` semantics. The `recursive` flag affects only customer-account namespace selection.","anyOf":[{"type":"string"},{"items":{"type":"string"},"maxItems":50,"type":"array"}],"examples":[["yara/workers"]]},"recursive":{"description":"For customer accounts, true enables descendant matching for namespaces. Paths always use exact matching.","type":"string","enum":["true","false"],"examples":["true"]},"search":{"type":"string","examples":["malicious"]},"is_public":{"description":"Limits rules to the specified public visibility.","type":"string","enum":["true","false"],"examples":["true"]},"limit":{"type":"number","default":50,"maximum":100,"minimum":1,"examples":[50]},"offset":{"type":["number","null"],"default":0,"minimum":0,"examples":[0]},"query":{"description":"Natural-language or keyword search query.","type":"string","maxLength":500,"minLength":1,"examples":["obfuscated proxy worker"]},"mode":{"description":"Retrieval strategy used for the query.","type":"string","default":"hybrid","enum":["exact","hybrid","vector","keyword"],"examples":["hybrid"]},"language":{"description":"Limits results to the specified rule language.","type":"string","enum":["yara","js"],"examples":["yara"]}},"required":["query"],"additionalProperties":false}},"required":["path","query"],"additionalProperties":false},"name":"Search rules","id":"cloudflare.cloudforce-one-search-rules","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"query":{"query":"obfuscated proxy worker"}},"maxRequests":1,"summary":false}}