update_customer
Update an existing customer in the CRM. Supports confirm and idempotency validation.
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": {
"farmId": "<farmId>",
"fields": "<fields>"
},
"name": "update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The exact customer email (provide customerId OR email) | ||
| farmId | Yes | The unique farm ID | |
| fields | Yes | Fields object containing customer updates | |
| confirm | No | Set to true to commit, false for dry-run preview | |
| customerId | No | The customer document ID (provide customerId OR email) | |
| idempotencyKey | No | Unique request idempotency key |