删除文章
delete_articleRemove a published CSDN article by ID. By default it moves to the recycle bin for recovery; set permanent=true only to permanently erase it.
Instructions
删除一篇文章,默认进回收站(permanent=false,可在创作中心的回收站里恢复)。只有确认文章永远不该存在时才传 permanent=true——那是彻底删除,无法恢复。不要用它清理草稿以外的临时状态,也不要因为"想改标题"而删除重建:元数据直接改 update_article 就行,只有误发布的文章才必须走"删除后重建"这条路。
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": {
"article_id": "<article_id>"
},
"name": "delete_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permanent | No | ||
| article_id | Yes |