Get WooCommerce Report Totals
woocommerce_get_report_totalsRetrieve total count of items grouped by status for orders, products, customers, coupons, or reviews. Get breakdowns like pending vs completed orders.
Instructions
Get a breakdown of total counts by status for a resource (e.g. how many orders are in each status, or total product/customer/coupon/review counts).
Args:
resource: 'orders'|'products'|'customers'|'coupons'|'reviews'
response_format ('markdown'|'json'): default 'markdown'
Returns: list of {slug, name, total} entries, e.g. for orders: pending/processing/completed/etc counts.
Examples:
Use when: "how many orders are currently pending vs completed" -> resource="orders"
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": {
"resource": "<resource>"
},
"name": "woocommerce_get_report_totals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | Which resource to get status/total breakdown for | |
| response_format | No | Output format: 'markdown' for human-readable text or 'json' for machine-readable structured data | markdown |