Get Commission
get_commissionCalculate commission for a product by providing EAN, condition, and unit price. Returns fixed amount, percentage, total cost, and active reductions.
Instructions
Get the commission for a product based on EAN, condition, and unit price. Returns the fixed amount, percentage, total cost, and any active reductions.
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": {
"ean": "<ean>",
"unitPrice": "<unitPrice>"
},
"name": "get_commission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ean | Yes | EAN (European Article Number) barcode of the product. | |
| condition | No | Product condition. Defaults to NEW. | |
| unitPrice | Yes | Unit price of the product with two decimals precision. |