launch_ad_plan
Run one ad on one channel, under a spend cap the owner has named out loud. The cap is debited before anything is created and nothing is ever created above it. Creative is the owner's: this never writes an ad. Needs a connected ad account.
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": {
"agent_id": "<agent_id>",
"channel": "<channel>",
"cap_minor": "<cap_minor>",
"headline": "<headline>",
"body": "<body>",
"link_url": "<link_url>",
"image_url": "<image_url>"
},
"name": "launch_ad_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Up to 125 characters. | |
| channel | Yes | ||
| country | No | Two-letter code. | |
| agent_id | Yes | ||
| currency | No | Three letters, default NGN. | |
| headline | Yes | Up to 40 characters. | |
| link_url | Yes | Where the ad sends people. | |
| cap_minor | Yes | The total spend cap in MINOR units (kobo, cents). Required, never inferred: this is the number the owner approved. | |
| image_url | Yes | A public image the ad platform can fetch. | |
| call_to_action | No | Default LEARN_MORE. | |
| daily_budget_minor | No | Daily budget in minor units. Defaults to the cap. |