Tugas · 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 adalah pengelola tugas AI untuk pendiri tunggal dan tim kecil.

Referensi alat dipelihara dalam bahasa Inggris: nama alat, argumen, dan contoh sama persis di setiap bahasa.

Argumen

NamaTipeWajibDeskripsi
runIdstringyaThe runId returned by start_task
leaseTokenstringyaThe leaseToken returned by start_task
status'working' | 'blocked' | 'needs_input'tidak'working' (default) renews the claim; the other two park the task for the human
notestringtidakOne line on where you are (≤280 chars)
learnings(string | { trigger, content })[]tidakUp to 3 lessons worth remembering beyond this task — saved as memory notes, surfaced in future get_my_work calls.

Hasil

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.

Anotasi

  • idempoten. Memanggil alat dua kali dengan argumen yang sama berefek sama dengan memanggilnya sekali.

Contoh

Yang dikatakan pengguna:

"Keep going, this will take a while."

Yang dipanggil AI di balik layar:

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

Terkait