Skip to content
Get MCP AdsGet MCP Ads, home

x_ads_list_media_library

List the media library objects in an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths…

List the media library objects in an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.

Source
X Ads
Kind
Read
Discovery
Reachable through search_tools and run_tool
Account parameter
account_id
Endpoint
https://mcp.getmcpads.com/x-ads/mcp

ParametersLink to this section

NameTypeRequiredNotes
account_idstringRequiredX Ads account ID selected in Sources.
countintegerOptionalNumber of records to return per page (default 20, max 50).
cursorstringOptionalPagination cursor from a previous response.
media_typestringOptionalRestrict to one media type: IMAGE, VIDEO or GIF.
qstringOptionalSearch query matching against name, title, file_name and description.

Calling itLink to this section

jsonThrough run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "x_ads_list_media_library",
    "args": {
      "account_id": "<string>"
    }
  }
}
Esc

Type to search