get_customer
Retrieves a customer's profile, net spend, 20 newest orders, subscriptions, saved payment methods (brand and last 4), and live session count by numeric customer ID.
Instructions
One customer by id: profile, net spend, their 20 newest orders, subscriptions, saved payment methods (brand and last 4 only) and how many live sessions they have.
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 | The customer's numeric id (from find_customer). |