Create listing (draft)
create_listingCreate a listing draft with just a title. The listing is not visible until published. Resolve category and city IDs using dedicated tools first.
Instructions
Create a new listing in DRAFT status (POST /listings). Only title is required. The listing is NOT visible until you call publish_listing. Resolve category_id via the category tools and city_id via the location tools first.
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": {
"title": "<title>"
},
"name": "create_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| state | No | Item condition | |
| title | Yes | Listing title (required) | |
| city_id | No | ||
| brand_id | No | ||
| model_id | No | ||
| available | No | Available quantity | |
| attributes | No | ||
| country_id | No | ||
| sku_number | No | ||
| category_id | No | ||
| description | No | ||
| listing_type | No | ||
| short_description | No |