任务 · MCP

Report Progress

report_progress is one of the 32 MCP tools in Weft, the AI task manager you run by talking to Claude, Cursor, Codex or ChatGPT through one MCP endpoint. Say you are still working. A claim on a task expires if the client goes quiet, and this renews it. Without a heartbeat a long-running task is treated as abandoned and offered to someone else — deliberately, because an agent that dies mid-run reports nothing, so silence is the only signal the board has.

Weft 是为独立创业者和小团队打造的 AI 任务管理工具。

工具参考文档只用英文维护:工具名称、参数和示例在每种语言下都完全相同。

参数

名称类型必填说明
runIdstring是The runId returned by start_task
leaseTokenstring是The leaseToken returned by start_task
status'working' | 'blocked' | 'needs_input'否'working' (default) renews the claim; the other two park the task for the human
notestring否One line on where you are (≤280 chars)
learnings(string | { trigger, content })[]否Up to 3 lessons worth remembering beyond this task — saved as memory notes, surfaced in future get_my_work calls.

返回

ok plus the new leaseExpiresAt and renewEverySeconds. When the claim has expired or moved to another client, ok:false with reason "lease_lost" — stop working and call start_task again.

标注

  • 幂等。用相同参数调用两次,效果与调用一次相同。

示例

用户会这样说:

"Keep going, this will take a while."

AI 在背后这样调用:

json
{
  "name": "report_progress",
  "arguments": {
    "runId": "…",
    "leaseToken": "…",
    "status": "working"
  }
}

相关