get_preference_topic
Get one subscription topic within a section, including its default opt-in state. Returns 404 if the section or topic does not exist, or if the topic belongs to a different section — so a 404 here can mean the pairing is wrong rather than the topic missing.
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": {
"section_id": "<section_id>",
"topic_id": "<topic_id>"
},
"name": "get_preference_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | Yes | Id of the subscription preference topic | |
| section_id | Yes | Id of the preference section |