A store's ads
magpie_adsOne store's ads on Facebook and Instagram, grouped by message: the text, headline, when it started, how many ads carry it, and any discount or code it names. Running ads come first.
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": {
"store_id": "<store_id>"
},
"name": "magpie_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return, at most 250. 100 when left out. | |
| active | No | true for ads running now, false for ads that have stopped. Both when left out. | |
| offset | No | Rows to skip. Use next_offset from the previous answer. | |
| store_id | Yes | A store's id, from magpie_stores. |