download_ad_image
Downloads a Meta CDN ad image URL and returns the actual file as an embedded binary resource with a direct preview, avoiding external client fetching; supports JPEG, PNG, GIF, WebP up to 5 MiB.
Instructions
Download a Meta CDN image URL returned by list_ad_images, get_ad_image, or get_ad_creative. Returns the actual image file as an embedded binary resource and a direct image preview, without requiring the client to fetch the external URL. Supports JPEG, PNG, GIF, WebP up to 5 MiB. Use a fresh URL if expired.
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": {
"url": "<url>"
},
"name": "download_ad_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |