set_automations_status
Pause or resume many automations in ONE call (up to 100): pass automation_ids (from list_automations) and status "Paused" or "Running". Use this instead of calling edit_automation once per automation, e.g. "pause all my automations on posts older than 30 days". Resuming follows the same rules as one automation: the resumed set must fit the plan's running-automation limit on its own (otherwise code over_running_limit, nothing changes), and the oldest OTHER running automations are paused to make room (listed in paused_to_make_room). An automation whose text still contains {{link}} is not started (needs_link). Only Running and Paused automations are switched; drafts and ones waiting for the next post are skipped. Returns updated, unchanged (already in that status), not_found, skipped, needs_link and paused_to_make_room. Confirm with the user before resuming many automations: resuming starts DMs again.
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": {
"automation_ids": "<automation_ids>",
"status": "<status>"
},
"name": "set_automations_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act_as | No | APEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own. | |
| status | Yes | "Paused" stops them; "Running" resumes them. | |
| automation_ids | Yes | Automation ids (from list_automations), 1-100. |