publish_item
Publish a secondhand listing to Xianyu with title, description, price, images and optional category, condition, location and delivery. Use dry_run to validate the form before submitting.
Instructions
发布闲鱼商品
Args: title: 标题(最多 20 字) description: 描述(最多 1000 字) price: 价格 images: 图片路径列表 category: 分类 location: 地区 condition: 新旧程度 delivery: 配送方式 dry_run: 是否仅预检查表单,不真正提交发布
Returns: 发布结果 {"success": bool, "item_id": str, "message": str}
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>",
"description": "<description>",
"price": "<price>",
"images": "<images>"
},
"name": "publish_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| title | Yes | ||
| images | Yes | ||
| dry_run | No | ||
| category | No | ||
| delivery | No | 包邮 | |
| location | No | ||
| condition | No | 全新 | |
| description | Yes |