Get cards
x_ads_get_cardsExpand card:// URIs into structured card details: type, components, buttons, and media_keys. Use returned media_keys to retrieve card images from the media endpoint.
Instructions
Expand card_uri values (card://…) into type, components, buttons, media_keys. Images inside a card are media_keys, not URLs — pass those to x_ads_get_media.
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>",
"card_uris": "<card_uris>"
},
"name": "x_ads_get_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_uris | Yes | ||
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 |