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 是为独立创业者和小团队打造的 AI 任务管理工具。
工具参考文档只用英文维护:工具名称、参数和示例在每种语言下都完全相同。
参数
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| project | string | 否 | Narrow to one project — name (case-insensitive) or id. |
| taskId | uuid | 否 | Narrow to decisions recorded about one task. |
| budgetTokens | integer | 否 | How much context the caller can afford. Default 800. |
返回
scope, budgetTokens, lines[] (one dated line per live decision), and omitted — how many did not fit.
标注
- 只读。该工具不会改变服务端状态,可以安全地自动调用。
示例
用户会这样说:
"Before you start: what has already been decided about this project?"相关
- 全部 32 个 MCP 工具 — 目录视图。
- 梭子 — AI 客户端如何使用这些工具。
- 用你自己的客户端调用这个工具:查看接入指南,或者直接访问
https://letsweft.com/api/mcp。