Emails sent
magpie_emailsThe marketing emails the tracked stores sent, newest first: subject, preview, the discount, codes and free-shipping offer read from each, and its kind (welcome, campaign, cart, order, winback, confirm). Use it to see how often a competitor emails and what it offers subscribers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "magpie_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD. | |
| from | No | First day, YYYY-MM-DD. | |
| kind | No | Only this kind of email. | |
| limit | No | Rows to return, at most 250. 100 when left out. | |
| offset | No | Rows to skip. Use next_offset from the previous answer. | |
| store_id | No | Only this store. |