Create a listing draft
create_draftCreate a reviewable listing draft with condition-based price suggestions and duplicate-listing warnings; it never publishes and reuses idempotency keys to prevent duplicate drafts.
Instructions
Create a listing DRAFT for the seller to review. It never publishes anything. If pricePen is omitted, the suggested price is used. Reusing an idempotencyKey returns the existing draft instead of creating another. The result includes warnings, e.g. when the same card is already listed.
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": {
"productId": "<productId>",
"condition": "<condition>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subType | No | Price sub-type used for the suggestion | |
| language | No | English | |
| pricePen | No | Price set by the seller, in soles | |
| quantity | No | ||
| condition | Yes | Card condition: NM, LP, MP, HP or DMG | |
| productId | Yes | productId from search_cards | |
| idempotencyKey | Yes | Stable key for this draft, e.g. '<runId>-<productId>-<condition>-<language>' |