gc_add_to_mailing_category
Add a user to a mailing category by email and category ID. This subscribes them to the specified mailing list.
Instructions
Добавить пользователя в категорию рассылок (по categoryId из gc_list_mailing_categories).
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": {
"email": "<email>",
"categoryId": "<categoryId>"
},
"name": "gc_add_to_mailing_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email пользователя. | ||
| categoryId | Yes | ID категории рассылок (см. gc_list_mailing_categories). |