Dropshipping Pricing & Content Rule Validator
dsers_rules_validateValidate and normalize product import rules against store capabilities, revealing effective rules, warnings, and blocking errors before import.
Instructions
Check and normalize a rules object against the provider's capabilities before importing. Use this to verify pricing, content, and image rules are valid and see exactly which ones will be applied. Returns: effective_rules_snapshot (what will actually be applied), warnings (adjustments made), errors (blocking issues that must be fixed before calling dsers_product_import).
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": {
"rules": "<rules>"
},
"name": "dsers_rules_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Rules as a JSON string. Top-level keys: pricing, content, images, variant_overrides, option_edits. Pricing modes: fixed_price (exact dollar amount for all), multiplier (cost × ratio), fixed_markup (cost + dollars). Example: {"pricing": {"mode": "fixed_price", "fixed_price": 9.99}, "content": {"title_prefix": "[US] "}, "images": {"keep_first_n": 5}} | |
| target_store | No | Store ID or display name from dsers_store_discover. Some rule capabilities vary by store. |