x ads list cards
x_ads_list_cardsList ad cards in an X Ads account. Filter by card type, ID, URI, or name, with pagination and options to include deleted or legacy cards.
Instructions
List the cards in an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search query matching against the card name. | |
| count | No | Number of records to return per page (default 100, max 200). | |
| cursor | No | Pagination cursor from a previous response. | |
| sort_by | No | Sort order as attribute-direction, e.g. created_at-asc or updated_at-desc. | |
| card_ids | No | Comma-separated card IDs to fetch specific cards (max 200). | |
| card_uris | No | Comma-separated card URIs to fetch specific cards (max 200). | |
| account_id | Yes | X Ads account ID from X_ADS_ACCOUNT_IDS. | |
| card_types | No | Comma-separated unified card types to filter by, e.g. IMAGE_WEBSITE, VIDEO_WEBSITE, IMAGE_APP, VI... | |
| with_deleted | No | Include soft-deleted cards (default false). | |
| with_total_count | No | Include the total_count response attribute (default false; exclusive with cursor). | |
| include_legacy_cards | No | Include legacy (non-unified) cards in the response (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |