delete_draft
Delete a WeChat draft by providing its media ID. The operation removes the draft without affecting associated permanent images, and returns the deleted media ID for confirmation.
Instructions
删除指定草稿,成功返回 {"media_id": ..., "deleted": true}。
注意:删除草稿不会连带删除其占用的永久素材图片(微信行为)。
参数:
media_id: 草稿 ID
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": {
"media_id": "<media_id>"
},
"name": "delete_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||