Set the ad account spending limit
ads_account_spend_limit_set[writes · ads:spend scope] Sets the Meta ad account spending limit, in the account currency (e.g. 800 = $800). Removing the limit (null) always needs the owner. Inside the owner's agent ceiling it is applied at once; above it the result is approval_requested: tell the user the owner has an approval request in Ads > Agent activity, and repeat the same call once they approve. Pass agentName and reason; both are shown to the owner.
(Wraps POST /api/v2/ads/accounts/spend-limit.)
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": {
"agentName": "<agentName>",
"reason": "<reason>",
"spendCap": "<spendCap>"
},
"name": "ads_account_spend_limit_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why the agent is doing this. Shown to the owner and kept in the audit trail. | |
| brandId | No | A brand id (GET /api/v2/brands) or "personal"; default: the key owner's active brand. | |
| spendCap | Yes | The new limit in the ad account currency, or null to remove it. | |
| agentName | Yes | Which agent is acting. Shown to the owner in Ads > Agent activity. |