Report task: keep a page updated on schedule
report_taskReport task: keep one page updated on a schedule (daily, weekdays or weekly) at the same link, with the new version pushed to WeChat. When the author says what to cover, what time, who can view and who to notify, call action=create (add trial=true to run one trial right away; without proposal_id a new page is created, so pass title). A trial usually takes 5–15 minutes; the author is notified in WeChat and only the author can see the result. When the author has looked and says to switch it on, call action=enable — a successful trial is required first, and by default that trial becomes the page’s first version. Afterwards use update for the time, the request, an extra line (request_append), who can view or who is notified — pass only what changes; pause (optionally until=a date, resuming that day), resume, delete, list, trial to run another trial, and runs when the author asks whether it went out on time or why one did not. Every action returns say: a sentence to relay to the author as-is; do not invent facts. Ask the author before switching to passcode or public. Speak times in the author’s local clock.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | create 且新建一页时:这一页的名字,例如「24好玩 · 行业日报」 | |
| trial | No | create:建好立刻试跑一次 | |
| until | No | pause:暂停到哪天(YYYY-MM-DD,作者当地日期),那天的钟点自动恢复;不给就一直暂停到说「恢复」 | |
| action | Yes | create 建 · trial 试跑 · enable 开启 · update 改设置 · pause 暂停 · resume 恢复 · delete 删除 · list 看有哪些 · runs 看每一次发了没有 | |
| notify | No | 新版本发出后提醒谁;缺省三项都提醒 | |
| request | No | 作者的要求,一段大白话:要看什么、多少条、什么不要。最多 800 字。update 时整段替换 | |
| task_id | No | 要操作的报告任务(create / list 不用;不知道就先 list) | |
| schedule | No | 时间表;update 时只传要改的那几项 | |
| template | No | 用法模板,缺省 daily-brief(行业日报) | |
| visibility | No | 谁能看:private 仅工作区成员(缺省)· passcode 凭口令 · public 所有人。改成后两种之前先问作者 | |
| proposal_id | No | create:更新哪一页;不给就新建一页 | |
| request_append | No | update:在原要求后面补一句,不替换原文 | |
| publish_trial_as_first_version | No | enable:把最近一次整理成了的试跑发成这一页的新版本(缺省 true) |