Show selected ads
show_ad_galleryDisplays up to 12 chosen ads as one visual gallery in clients that render MCP Apps widgets, and returns the same ads' data, image previews and links for text-only clients. For presenting the ads the user should see, once the relevant results are chosen. Each ad id is checked again for access; ads no longer available are left out with incomplete: true. A successful call does not prove that a gallery rendered.
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": {
"ad_ids": "<ad_ids>"
},
"name": "show_ad_gallery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional search phrase these ads came from. Context only; no search is run. | |
| ad_ids | Yes | 1 to 12 ad ids from search or list results; in text-only results, the final segment of each StealAds ad link. | |
| response_format | No | Output format: text (default) or json. table is not available for this tool. |