Register customer
register_customerRegister as a GYOTAK customer. Collect name, phone, address, email, and customer type (Retail or Wholesale) via conversation BEFORE calling this tool. Returns a customerKey for future orders.
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": {
"name": "<name>",
"phone": "<phone>",
"address": "<address>",
"customerType": "<customerType>"
},
"name": "register_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name (English) | |
| No | Email address (optional) | ||
| phone | Yes | Contact phone number | |
| address | Yes | Shipping address | |
| customerType | Yes | Customer type: Retail (consumer) or Wholesale (business) |