get_customer_totals
Get customer totals grouped by WordPress role, showing registered customers and role distribution for WooCommerce stores.
Instructions
Get customer counts grouped by WordPress role. Shows total registered customers and their roles.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_customer_totals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated fields to return (default: slug,name,total) |