get_price_rule
Retrieve a complete price rule by ID, including value type, value, entitled/prerequisite IDs, and usage stats. Ideal for accessing full rule details.
Instructions
Get a single price rule by ID. Returns full price rule including value_type, value (string), entitled/prerequisite IDs, and usage stats.
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": {
"price_rule_id": "<price_rule_id>"
},
"name": "get_price_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price_rule_id | Yes | Price rule ID (numeric). Required. |