Add a tool card to a draft
add_tool_embedPlaces a card of a tool from Shipfolio's catalog (logo, name, category, a short description, how many products use it, and a link to its page) in one of the signed-in person's draft articles, after the heading given (or at the end). 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>",
"tool": "<tool>"
},
"name": "add_tool_embed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | The tool's slug, e.g. "supabase" (search_tools 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 | ||
| usedBy | Yes | ||
| editUrl | Yes | ||
| summary | Yes | ||
| category | Yes | ||
| shortcode | Yes |