hermosodocs

list_meta_ad_rules

List Meta automated rules, and which can raise spend read-only

Area: AUTOMATED AD RULES · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

The automated rules on a Meta ad account — including ones made in Ads Manager — each with what it does in one sentence, whether it is ON, whether it CAN RAISE SPEND (canSpend, armingActions), whether its reach grows, and its scopeToken (what set_meta_ad_rule_status wants echoed back to switch on a rule that can raise spend). Also returns the ad account's caps on rules. Pass ruleId for one rule. Read-only. Free.

Parameters

ParameterTypeDescription
adAccountIdrequiredstringMeta ad account id (act_… or the bare number) from list_meta_ads; required — every rule lives on one ad account
ruleIdstringrule id from list_meta_ad_rules

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/list_meta_ad_rules.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_meta_ad_rules","arguments":{"adAccountId":"<string>"}}}

CLI

hermoso call list_meta_ad_rules --json '{"adAccountId":"<string>"}'

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.

All 759 Ad campaign management tools · tools.json