get_customer
Fetch a WooCommerce customer by ID to get order count and lifetime spend.
Instructions
Fetch a single customer by id (orders count, lifetime spend).
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": {
"customer_id": "<customer_id>"
},
"name": "get_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes |