x ads list post previews
x_ads_list_post_previewsRetrieve rendered HTML previews for published, scheduled, or draft X Ads posts by account and post IDs while preserving native X fields and pagination.
Instructions
Get rendered HTML previews for published or scheduled posts Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>",
"tweet_ids": "<tweet_ids>",
"tweet_type": "<tweet_type>"
},
"name": "x_ads_list_post_previews"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Promotable user the posts belong to (defaults to the account's own user); needed when previewing ... | |
| tweet_ids | Yes | Comma-separated post IDs (or scheduled post IDs, per tweet_type) to preview (max 200). | |
| account_id | Yes | X Ads account ID from X_ADS_ACCOUNT_IDS. | |
| tweet_type | Yes | Type of the IDs in tweet_ids. |
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. |