Skip to content

X Ads 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 of the account. Works on your own X Ads account, connected through Get MCP Ads. Needs account id.

Inputs

1 required
Account ID
X Ads account ID selected in SourcesRequired · account_id
Count
Number of records to return per page (default 20, max 50)Optional · count
Cursor
Pagination cursor from a previous responseOptional · cursor
Media type
Restrict to one media type: IMAGE, VIDEO or GIFOptional · media_type
Q
Search query matching against name, title, file_name and descriptionOptional · q
Workspace ID
Authorized workspace ID from list_accounts/list_workspacesOptional · workspace_id

Pricing

Price
$0.005 per call
Billing
The provider’s price, with no markup. Billed for measured usage.

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

X Ads creatives

Connect your agent to 2,400+ tools for free

Sign in with Google or GitHub. No card required.