set_meta_ad_rule_status
Switch a Meta automated rule on or off destructive
Description
ENABLED hands the rule to Meta to run unattended. A rule that can only pause, lower or notify needs confirm:true. A rule that can switch something ON or RAISE a budget/bid needs confirm:true AND confirmScope (the scopeToken from list_meta_ad_rules, computed from the rule as Meta stores it), and is refused if its worst case breaks the ad account's caps (set_meta_ad_rule_limits). Calling without them changes nothing and returns exactly what the rule would do — show the user, get a yes, then confirm. DISABLED is the brake: never gated. The answer is the status read back from Meta. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountIdrequired | string | Meta ad account id (act_… or the bare number) from list_meta_ads; required — every rule lives on one ad account |
ruleIdrequired | string | rule id from list_meta_ad_rules |
statusrequired | "ENABLED" | "DISABLED" | ENABLED or DISABLED |
confirm | boolean | true once the user has said yes to exactly what the refusal described |
confirmScope | string | the scopeToken the list tool (or the refusal) prints; required with confirm when the rule can raise spend |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/set_meta_ad_rule_status.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_meta_ad_rule_status","arguments":{"adAccountId":"<string>","ruleId":"<string>","status":"<one of the listed values>"}}}
CLI
hermoso call set_meta_ad_rule_status --json '{"adAccountId":"<string>","ruleId":"<string>","status":"<one of the listed values>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_meta_ad_rulesList Meta automated rules, and which can raise spendset_meta_ad_rule_limitsCaps on what Meta rules may raiseupdate_meta_ad_ruleChange a Meta automated ruledelete_meta_ad_ruleDelete a Meta automated rulerun_meta_ad_ruleDry-run (or run now) a Meta automated rulecreate_meta_ad_ruleCreate a Meta automated rule (created switched OFF)meta_ad_rule_historyWhat Meta's automated rules didcreate_google_ads_ruleCreate a Google Ads automated rule (created switched OFF)list_google_ads_rulesList Google Ads automated rulesupdate_google_ads_ruleChange a Google Ads automated rule