meta_ upload_ ad_ image
Upload an image into the selected ad account using base64 bytes (up to 5 MiB decoded).
Upload an image into the selected ad account using base64 bytes (up to 5 MiB decoded). Preview reports size only, never the file body. Local preview by default. No automatic retry. Account ownership is checked before Meta validation or mutation.
- Source
- Meta Ads
- Kind
- Write
- Discovery
- Reachable through
search_toolsandrun_tool - Account parameter
adAccountId- Endpoint
- https:/
/ mcp. getmcpads. com/ meta-ads/ mcp
ParametersLink to this section
| Name | Type | Required | Notes |
|---|---|---|---|
adAccountId | string | Required | Selected owning ad account ID, with or without act_. Every referenced ad object must belong to it. |
bytesBase64 | string | Required | Base64 media bytes without a data-URL prefix. Maximum decoded size 5 MiB; omitted from preview output. |
confirm | boolean | Optional | Apply only when true. Default is a local preview with no API mutation. |
validateOnly | boolean | Optional | Ask Meta to validate, without creating or changing an object. Mutually exclusive with confirm. |
Calling itLink to this section
{
"name": "run_tool",
"arguments": {
"name": "meta_upload_ad_image",
"args": {
"adAccountId": "<string>",
"bytesBase64": "<string>"
}
}
}