update_customer
Update an existing customer record by providing only the fields to change. Tags are replaced entirely with the new list.
Instructions
Update an existing customer's information.
Partially update a customer record — only provided fields are changed. Tags replace the existing tag list completely.
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": "update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | Customer ID to update | |
| name | No | Updated full name | |
| phone | No | Updated phone number | |
| No | Updated email address | ||
| address | No | Updated address | |
| tags | No | New tag list (replaces all existing tags) | |
| org_id | No | Organization ID (uses YAPARAI_ORG_ID env var if not provided) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||