publish_listing
Make the advert public using the owner’s explicitly delegated listings:publish permission. Trial/payment and all publication checks apply. Requires connected account authorization with listings:publish.
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": {
"listingId": "<listingId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "publish_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listingId | Yes | ||
| idempotencyKey | Yes | Unique operation key. Reuse this value when retrying the identical request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| slug | Yes | ||
| listing | Yes |