Prepare a listing
prepare_listingPrepares a listing for sale of a card the user owns (dealId from record_purchase, or cardId) on their connected selling account with its business policies. Nothing is listed yet. Returns the price (default: the 3 most recent sales average for a slab, the market price for a raw card; pass price to change it), quantity, the photo count with a one-time photo upload link (30 minutes) and a publishToken (15 minutes). Read the summary question to the user ("List at $X with N photos?"). When photos.count is above 0 the photos are saved: do not ask the user for more. To add or change photos the user uses the photo panel where one is shown, otherwise the uploadUrl; after photos change, call prepare_listing again before publish_listing. If the selling account isn't connected, the message says how. Where the assistant shows panels, the result opens a photo panel where the user can take the card's photo for the listing. If the result has alerts, show them to the user before anything else.
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": "prepare_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | The listing price in USD (default: the suggested price). | |
| title | No | A listing title (default: built from the card). | |
| cardId | No | Or a card in the user's collection. | |
| dealId | No | A Deal Desk purchase (from record_purchase). | |
| quantity | No | Raw cards: how many to list (default 1). |