API Reference

Meta Ads / API Reference

meta_ads_upload_image_to_meta

Meta Ads tool. Upload a JPG/PNG image from a public URL to Meta's ad image library. Downloads the asset locally first and uploads it via multipart so generated, signed, and redirected URLs work more reliably. Args: image_url: Public URL of the image (JPEG or PNG) to upload (required). account_id: Ad account ID. Leave blank to use META_AD_ACCOUNT_ID from .env.

This is a write tool: it uploads image to meta in your Meta Ads account. Claude asks you to confirm before it runs.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Upload image to meta in my Meta Ads account for [image url].

It takes 1 required and 1 optional parameter.

Parameters

ParameterTypeRequiredDescription
image_urlstringYesImage Url
account_idstringNoAccount Id

Related Meta Ads tools

Before you can call it

This tool needs a connected Meta Ads account. The Meta Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.

Workflows that use this

Rather than calling tools one at a time, these skills run a whole procedure against the same account:

Start using MCP Ads