Get Meta Ad Image by Hash
meta_ads_get_image_by_hashRetrieve image CDN URL, dimensions, name, and status from a Meta Ads account using the image hash, enabling URL access when only the hash is known.
Instructions
Look up a single image in an ad account's image library by hash. Returns the CDN url, dimensions, name, and status — useful when you only have the hash (e.g., from upload_ad_image or a creative's object_story_spec.link_data.image_hash) and need the URL.
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": {
"act_id": "<act_id>",
"image_hash": "<image_hash>"
},
"name": "meta_ads_get_image_by_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act_id | Yes | Ad account ID prefixed with 'act_' (bare numeric also accepted) | |
| image_hash | Yes |