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 ツール一覧 — カタログ表示。
- Shuttle — AI クライアントがこれらのツールをどう使うか。
- 自分のクライアントからこのツールを呼び出す: セットアップガイドを見る、または
https://letsweft.com/api/mcpに直接アクセスしてください。