search_rules
Search Amazon, Temu, or TikTok Shop rule packs by keyword to find matching banned-word, compliance, or claim rules with severity, rationale, and fix suggestions.
Instructions
Search inside a rule pack by keyword. Returns matching rules with id, severity, category, patterns, rationale and fix suggestion. Useful to answer "why was this flagged?" or "what words are banned for supplements on Temu?".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>"
},
"name": "search_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Keyword to match against rule id, patterns, message and suggestion. Empty returns all rules. | |
| platform | Yes | Rule pack to search. Available: amazon (amazon-us, market=US, 20 rules), temu (temu-global, market=GLOBAL, 15 rules), tiktok (tiktok-us, market=US, 15 rules) | |
| severity | No | Filter by severity. Defaults to ALL. |