Enable customers
customers_enableВключение раздела Покупатели. mode обязателен: segments — динамическая сегментация, periodicity — периодические покупки. Если раздел уже включён, вызов меняет режим. Выключить раздел этим инструментом нельзя. На тарифе без покупателей amo вернёт ошибку.
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": {
"mode": "<mode>"
},
"name": "customers_enable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | segments — динамическая сегментация, periodicity — периодические покупки. |