Publish a listing
publish_listingPublishes the listing prepared by prepare_listing, after the user said yes to its summary question for THIS card: pass the dealId, the publishToken and confirm true. Never call it without that yes. The result says whether the listing is confirmed live (with its link) or submitted and not confirmed yet; say exactly that. A retry returns the same listing. If the result has alerts, show them to the user before anything else.
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": {
"dealId": "<dealId>",
"publishToken": "<publishToken>",
"confirm": "<confirm>"
},
"name": "publish_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dealId | Yes | The dealId from prepare_listing. | |
| confirm | Yes | True once the user said yes to this listing; never set it before that. | |
| publishToken | Yes | The publishToken from prepare_listing. |