draft_item
Fill a product draft on Xianyu with image, description, and price, then auto-screenshot for review before publishing.
Instructions
在闲鱼发布页面填写商品草稿(图片、描述、分类、价格),填写完成后自动截图。 返回文本中包含截图路径,确认无误后调用 publish_item 正式发布。
Args: image: 商品图片,支持本地绝对路径或网络 URL(http/https)。 description: 商品描述文字。 price: 商品售价(元),默认 100.0。
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": {
"image": "<image>",
"description": "<description>"
},
"name": "draft_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| description | Yes | ||
| price | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |