toggle_source
Pause or resume one of the account’s own custom RSS sources, identified by source_id from list_sources. It only works on feeds added with add_source. To mute or unmute one of NewsJack’s built-in publications, use disable_global_source and enable_global_source, which take the publication name instead. Reversible and idempotent: setting the same value twice changes nothing. Pausing keeps the source configured; remove_source deletes it.
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": {
"source_id": "<source_id>",
"active": "<active>"
},
"name": "toggle_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | true to resume polling, false to pause it. | |
| source_id | Yes | ID of a custom source, as returned by list_sources or add_source. |