Add a customer
add_customerAdd one of your customers to a multi-customer dashboard. The customerId must exactly match the value that identifies them in your own database, because it is what gets bound to :customer_id in every widget query. Adding a customer does not give anyone access; use add_customer_user for that. Subject to your plan's customer limit.
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": {
"dashboardId": "<dashboardId>",
"name": "<name>",
"customerId": "<customerId>"
},
"name": "add_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for this customer, for your own reference. | |
| customerId | Yes | The identifier for this customer in your own data, for example the value in your orders.customer_id column. Must match exactly. | |
| dashboardId | Yes | A dashboard of type 'customer'. |