Add a product card to a draft
add_product_embedPlaces a card of a product (logo, name, tagline, its verified MRR badge when it has one, and a link to its Shipfolio page) in one of the signed-in person's draft articles, after the heading given (or at the end). Any product with a public Shipfolio page works, not only the person's own. Returns what the card shows. The card is read live from public pages for every reader, so it stays current; if the product later stops being public, readers see a placeholder instead. A draft shows up to 12 cards. The article is saved as a draft only: nothing is published. The author reviews it, adds a cover image or data embeds and publishes it in the Shipfolio editor at editUrl. Needs the write scope. Before calling, show the user exactly what will change and wait for them to confirm.
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": {
"articleId": "<articleId>",
"product": "<product>"
},
"name": "add_product_embed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | The product's slug, e.g. "trackwise" (search_products finds it) | |
| articleId | Yes | The draft article's id | |
| afterHeading | No | Place it after the heading with this text; at the end when left out or not found |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | ||
| editUrl | Yes | ||
| revenue | Yes | ||
| tagline | Yes | ||
| shortcode | Yes |