Skip to main content
POST
Test an automation rule; if triggered, stage its action as a pending action for a person to approve in the dashboard.
Never changes an ad account by itself. If it finds a change to make, it stages a pending action; a person must approve it on the dashboard Approvals page before anything runs.
Test an automation rule; if triggered, stage its action as a pending action for a person to approve in the dashboard. Platform: ADSMCP (registered under meta) · Type: Control

How to call it

  • MCP: on https://mcp.adsmcp.si/mcp, run it through the meta_ads_write tool with {"action": "execute", "tool_name": "test_automation_rule", "arguments": { ... }}, or call test_automation_rule by name. search_tools finds it and get_tool_schema returns its arguments; https://mcp.adsmcp.si/mcp/flat lists every tool by name.
  • REST: POST https://mcp.adsmcp.si/api/v1/tools/test_automation_rule/execute with Authorization: Bearer sk_live_... and a JSON body {"platform": "meta", "arguments": { ... }}. The arguments are listed below; they are exactly the tool’s input schema.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer token

Idempotency-Key
string

Body

application/json
platform
string
default:meta
arguments
object

Response

Tool execution result.

ok
boolean
required
platform
string
required
tool
string
required
error
null | object
required
mcp_response
any
required
data
any