Get Context Digest
get_context 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. The workspace's live decisions and lessons, packed to a token budget, newest first — what an agent should read before starting anything non-trivial. Derived from recorded decisions rather than authored as a document, so it cannot rot: a superseded decision drops out the moment its replacement is recorded, and every line carries its date. Scope it to a project or a task to narrow it; lines that do not fit the budget are counted, never silently hidden.
Weft là trình quản lý công việc bằng AI cho nhà sáng lập độc lập và nhóm nhỏ.
Tài liệu tham khảo công cụ được duy trì bằng tiếng Anh: tên công cụ, tham số và ví dụ là như nhau trong mọi ngôn ngữ.
Tham số
| Tên | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
| project | string | không | Narrow to one project — name (case-insensitive) or id. |
| taskId | uuid | không | Narrow to decisions recorded about one task. |
| budgetTokens | integer | không | How much context the caller can afford. Default 800. |
Trả về
scope, budgetTokens, lines[] (one dated line per live decision), and omitted — how many did not fit.
Chú thích
- read-only. Công cụ không thay đổi trạng thái trên máy chủ. Gọi tự động là an toàn.
Ví dụ
Người dùng nói:
"Before you start: what has already been decided about this project?"Liên quan
- Tất cả 32 công cụ MCP — xem dạng danh mục.
- Con thoi — cách client AI dùng những công cụ này.
- Gọi công cụ này qua client của riêng bạn: xem hướng dẫn thiết lập, hoặc gọi thẳng
https://letsweft.com/api/mcp.