Pause or resume an account
set_channel_statusPauses an account (PAUSED: its connection is kept, nothing new can be scheduled to it, and a post due while it is paused fails for that account, with the reason in get_post) or turns it back on (ACTIVE). Resuming needs a working connection (a NEEDS_RECONNECT account is reconnected by the human, e.g. with create_connect_link) and room in the plan's account allowance. Disconnecting an account isn't offered to agents: it deletes Shager's keys for the account (and, on some networks, cancels access there; see get_network_features) and only the account's owner can connect it again, so the human does it on the Accounts page.
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": {
"workspace_id": "<workspace_id>",
"channel_id": "<channel_id>",
"status": "<status>"
},
"name": "set_channel_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| channel_id | Yes | ||
| workspace_id | Yes | Workspace id from list_workspaces |