hermosodocs

list_x_ads_media

List an X ad account’s Media Library read-only

Area: X ADS LEAD GEN, CARDS, MEDIA, PROMOTED-ONLY POSTS · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

List the X ad account's Media Library — media keys usable in cards and promoted-only posts. Read-only, free.

Parameters

ParameterTypeDescription
adAccountIdstringX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringolder name for adAccountId (MCP only)
mediaType"IMAGE" | "VIDEO" | "GIF"IMAGE, VIDEO or GIF; omit for all types
limitnumbermax items to return, 1-50; default 20

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/list_x_ads_media.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_x_ads_media","arguments":{}}}

CLI

hermoso call list_x_ads_media --json '{}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 759 Ad campaign management tools · tools.json