subscribe
Subscribe a contact to one or more mailing lists by providing contact fields and list IDs. Supports double opt-in and overwrite options.
Instructions
Подписать контакт на список(и) рассылки.
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": {
"list_ids": "<list_ids>",
"fields": "<fields>"
},
"name": "subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_ids | Yes | ID списков через запятую, например 1,2,3 | |
| fields | Yes | Поля контакта: { email: '...', Name: '...' } | |
| double_optin | No | Тип подтверждения | |
| overwrite | No | Перезапись: 0=нет, 1=да, 2=добавить |