upload_ad_image
Upload an image to a configured Meta ad account and get an image hash for use in ad creatives. Defaults to dry run; set dry_run=False and confirm=True to upload.
Instructions
Upload an image to the configured Meta ad account.
dry_run defaults to True. Set dry_run=False and confirm=True to upload. Returns an image hash that can be used in ad creatives.
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": {
"image_path": "<image_path>"
},
"name": "upload_ad_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| dry_run | No | ||
| image_path | Yes |