Back to Tool Reference
MCP

listing.get_generation

Return listing task status and result fields.

Effectread-onlyScopelisting:readPlanStarter+

Parameters

handlestringRequired

Task UUID returned from listing.create or listing.publish.

wait_secintegerDefault: 0

0 returns an instant snapshot. Positive values long-poll up to that many seconds and return when the task is complete/failed or the timeout expires.

Returns

handlestring

The handle the call was made with.

resource_idstring | null

Same as listing_id once known.

status"pending" | "running" | "complete" | "failed"
doneboolean

true once the work has finished, whether it completed or failed.

task_typestring
progressnumber

Fractional progress 0.0-1.0.

messagestring
listing_idstring | null

Set once the listing has been created or published.

errorstring

Failure message when the work failed.

Request
json
{
  "name": "listing.get_generation",
  "arguments": {
    "handle": "5e971421-4101-4af6-9335-9d56ecec6e5c",
    "wait_sec": 50
  }
}
Response
json
{
  "handle": "5e971421-4101-4af6-9335-9d56ecec6e5c",
  "resource_id": "3b7d1f95-a2c4-4e68-8b0d-4f6a8c2e0b71",
  "category": "listing",
  "task_type": "create_listing_draft",
  "status": "complete",
  "progress": 1.0,
  "done": true,
  "message": "Listing ready",
  "error": "",
  "listing_id": "3b7d1f95-a2c4-4e68-8b0d-4f6a8c2e0b71"
}