update_contact_topics
Update a contact's topic subscriptions by specifying the contact ID and a list of topics with opt-in or opt-out choices.
Instructions
Update a contact's topic subscriptions (PATCH /contacts/:id/topics). Provide topics as an array of { id, subscription: 'opt_in' | 'opt_out' }.
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": {
"contact_id": "<contact_id>",
"topics": "<topics>"
},
"name": "update_contact_topics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topics | Yes | Subscriptions to set. Each: { id, subscription: 'opt_in' | 'opt_out' }. | |
| contact_id | Yes | The contact id. |