Sign and publish
publish_listingSigns the seller declaration and puts one of the person's draft listings up for sale on agentPickup's marketplace for 30 days, where buyers can find, ask about, offer on and buy it. Only the listing card calls this, when the person ticks the declaration and presses Sign and publish: it's hidden from assistants, so a person always signs for themselves (where the card can't be shown, email_publish_link emails them a page to sign instead). The person must be signed in, set up to be paid (start_selling), and the listing needs a photo. A listing that mentions something checked by hand (food, knives, batteries, recalls) is held for agentPickup's check, usually within a day, instead of going straight up. Returns the listing card.
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": {
"listing_id": "<listing_id>",
"declaration_version": "<declaration_version>",
"confirmed": "<confirmed>"
},
"name": "publish_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | Yes | Always true: the person ticked the declaration. | |
| listing_id | Yes | The draft listing's id (lst_...), from the card. | |
| declaration_version | Yes | The version of the seller declaration the person ticked, as the card shows it. An old version is refused, so they read the current one. |