update_user_preference_topic
Update a user's preference for a specific subscription topic (opt in, opt out, or set channel preferences).
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": {
"user_id": "<user_id>",
"topic_id": "<topic_id>",
"status": "<status>"
},
"name": "update_user_preference_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Preference status | |
| user_id | Yes | The user ID | |
| topic_id | Yes | The subscription topic ID | |
| tenant_id | No | Update the preference for this tenant context only | |
| custom_routing | No | Custom channel routing order | |
| digest_schedule_id | No | Put the user on one of the topic's digest schedules. Pass null to clear their choice and fall back to the default schedule. | |
| has_custom_routing | No | Whether custom channel routing is set |