Pause, resume, or publish a listing
set_listing_statusUse this to pause one of the user's listings (hidden from the marketplace; pending proposals for it are closed), resume a paused one, or publish a draft. status is ACTIVE or PAUSED. Confirm with the user first, since pausing closes proposals.
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>",
"status": "<status>"
},
"name": "set_listing_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ACTIVE to publish or resume, PAUSED to hide | |
| listing_id | Yes | The user's listing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| success | No | ||
| closed_proposals | No |