Set ad spend caps
ads_caps_set[writes · ads:spend scope] Sets the brand's monthly and/or per-campaign activation caps, in cents (e.g. 50000 = $500). 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/caps.)
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>"
},
"name": "ads_caps_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. | |
| agentName | Yes | Which agent is acting. Shown to the owner in Ads > Agent activity. | |
| monthlyMaxMinor | No | Monthly activation cap, whole cents (100 to 10000000). | |
| perCampaignMaxMinor | No | Per-campaign activation cap, whole cents (100 to 10000000). |