create_customer
Add a new customer to the CRM with deduping. 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>",
"name": "<name>"
},
"name": "create_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The full name of the customer | |
| tags | No | Optional search tags | |
| No | Optional email (checked for deduping) | ||
| notes | No | Optional customer notes (max 2000 characters) | |
| phone | No | Optional phone number (checked for deduping) | |
| farmId | Yes | The unique farm ID | |
| address | No | Optional street address | |
| confirm | No | Set to true to commit, false for dry-run preview | |
| birthday | No | Optional customer birthday (YYYY-MM-DD format) | |
| idempotencyKey | No | Unique request idempotency key | |
| marketingOptIn | No | Marketing and Plunk opt-in (defaults to false) | |
| shippingAddress | No | Optional structured shipping address object |