Set contact topic
set_contact_topicSubscribe a contact to a topic, or unsubscribe them (e.g. "promotions" vs "order updates").
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": {
"id": "<id>",
"topic": "<topic>",
"subscribed": "<subscribed>"
},
"name": "set_contact_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Contact id | |
| topic | Yes | Topic id (see list_topics) | |
| source | No | Where the change came from, e.g. "preference_page". Default "api". | |
| subscribed | Yes | true subscribes the contact to the topic, false unsubscribes them |