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
- 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
- Create an X Ads cardX Ads$0.05/change
- Create an X Ads media library itemX Ads$0.05/change
- Delete an X Ads cardX Ads$0.05/change
- Delete an X Ads media library itemX Ads$0.05/change
- Update an X Ads media library itemX Ads$0.05/change
- Upload X Ads mediaX Ads$0.05/change
- X Ads cardX Ads$0.005
- X Ads cardsX Ads$0.005
- Compare all 10
Connect your agent to 2,400+ tools for free
Sign in with Google or GitHub. No card required.