API Reference

Meta Ads / API Reference

meta_ads_media_library

First-choice tool when the user asks for their Meta media library, ads library, assets library, or a combined view of photos/videos/creatives. Returns image, video, and creative sections together so clients can render one visual picker instead of separate lists.

This is a read-only tool: it returns media library for your Meta Ads account. It changes nothing.

Ask Claude

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

Media library in my Meta Ads account.

It takes 0 required and 3 optional parameters.

Parameters

ParameterTypeRequiredDescription
account_idstringNoAccount Id
limit_per_typeintegerNoLimit Per Type
ad_account_idstringNoAd Account 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