mp_list_drafts
Lists WeChat Official Account draft-box entries with draft IDs, titles, update footer, and a tab-state hint, so IDs can be chosen for publishing or deletion.
Instructions
List the drafts in 草稿箱. Returns draft ids (from each card's data-appid), titles, the 更新于 footer and a state hint. item_show_type=8 selects the 贴图 tab and is honoured while that tab holds drafts; when it is empty the console normalises the value to 0 (文章), so both the requested and the landed value are reported. The ids feed mp_publish_draft and mp_delete_draft. Limits: count is 1-20 (default 10) and only the first page is read, so a busy 草稿箱 needs further calls with a smaller count; ids are integers and must be passed as such, never as a title.
【中文】列出草稿箱里的草稿。返回草稿 id(取自每张卡片的 data-appid)、标题、「更新于」页脚和一个状态提示。item_show_type=8 选贴图标签页,只要该标签页有草稿就生效;该标签页为空时控制台会把值规范成 0(文章),所以请求值和实际落地的值都会报出来。这些 id 供 mp_publish_draft 和 mp_delete_draft 使用。限制:count 取值 1–20(默认 10),且只读第一页,草稿多时要再调一次并换小一点的 count;id 是整数,必须按整数传,不能传标题。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mp_list_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | tietu asks for item_show_type=8, article for 0; the console may normalise both to 0, and the reply reports both values / tietu 请求 item_show_type=8,article 请求 0;控制台可能把两者都规范成 0,回包里两个值都会报 | tietu |
| count | No | how many cards to request from the console, 1-20; the console renders one page, so this is not a cursor / 向控制台请求多少张卡片,取值 1–20;控制台只渲染一页,所以它不是翻页游标 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||