Draft a trade post
draft_trade_postRead-only: writes the TEXT of a trade list for the user to copy and post themselves (WhatsApp, Discord, anywhere). It posts nothing, sends nothing and publishes nothing (style: whatsapp | discord | text; default whatsapp): list "deck" (the deck's missing cards, linked by its wantlist link), "wantlist" (the personal wantlist's missing cards) or "tradelist" (what the user's published tradelists offer, linked by their handle). One line a card: count, name, the printing when the list pins one, a flag for a language other than English (one with no flag is written as its name), and on a tradelist each copy a deck of the user claims or plays shared named with that deck (lines[].breaks_decks): relay it. cards keeps only those names. Relay text as it is, in a code block or ready to copy. This tool NEVER publishes: when url is null no link is live yet — the note says which create_share_link call would publish it; ask the user before calling it, then call this again.
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": {
"list": "<list>"
},
"name": "draft_trade_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No | Deck id or name, for list "deck" | |
| list | Yes | ||
| cards | No | Only these card names (English); omit for the whole list | |
| style | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The live link the message ends with; null: none is published, and the text has no link | |
| note | Yes | ||
| text | Yes | The message to post, ready to copy: relay it as it is | |
| cards | Yes | Copies the message lists | |
| lines | Yes | ||
| publish | Yes | With no live link: what create_share_link would publish to carry this post. Ask the user first |