update_customer
Change a customer's email, name, notes, or Discord link; omitted fields stay unchanged and empty strings clear them.
Instructions
Change a customer's email, name, notes or Discord link. Fields left out stay as they are; an empty string clears one. When the new email belongs to another customer, merge the two with merge_customers instead.
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": "<customer>"
},
"name": "update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | a new name; empty string clears it | |
| No | a new email; empty string clears it | ||
| notes | No | new notes; empty string clears them | |
| customer | Yes | the customer's id or email | |
| discordUserId | No | the customer's Discord user id; empty string unlinks it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer | Yes | the customer after the change |