Update Customer
ashar_update_customerUpdate a customer record by ID with specified fields and return the updated customer details.
Instructions
Update a customer by id.
Args:
customer_id (string): the customer id
body (object): the fields to update
Returns the updated customer.
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>",
"body": "<body>"
},
"name": "ashar_update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Fields to update | |
| customer_id | Yes | Customer id |