meta_ upload_ page_ photo
Upload an unpublished photo to a Page the selected ad account promotes, from an HTTPS image URL or base64 bytes (up to 5 MiB), with a Page token…
View as MarkdownUpload an unpublished photo to a Page the selected ad account promotes, from an HTTPS image URL or base64 bytes (up to 5 MiB), with a Page token from the connected user. Needs the Meta connection to include pages_manage_posts. Returns the photo_id used by canvas_photo in an Instant Experience; nothing is published on the Page. 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
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
adAccountId | string | Required | Selected owning ad account ID, with or without act_. Every referenced ad object must belong to it. |
pageId | string | Required | Numeric ID of the Facebook Page that owns this object. The selected ad account must be able to promote it. |
url | string | Optional | Publicly reachable HTTPS image file URL. |
bytesBase64 | string | Optional | Base64 JPEG or PNG 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 it
{
"name": "run_tool",
"arguments": {
"name": "meta_upload_page_photo",
"args": {
"adAccountId": "<string>",
"pageId": "<string>"
}
}
}Manage your ads from your AI assistant
Start for free
Free with 1 ad account, no card. Pro is free for 7 days.