manage_item
Delist items to draft or delete them permanently on Xianyu. Use after obtaining item URL from get_selling_items.
Instructions
对指定商品执行下架或删除操作,内部自动跳转商品详情页并处理确认弹窗。 ⚠️ delete 操作永久删除商品,不可恢复。 请先调用 get_selling_items 获取商品链接,再传入此工具。
Args: item_url: 商品详情页 URL(从 get_selling_items 结果中获取)。 action: delist=下架(转为草稿,可重新上架);delete=永久删除。
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": {
"item_url": "<item_url>",
"action": "<action>"
},
"name": "manage_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_url | Yes | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |