Pack project context
pack_contextGenerate a compact markdown project brief with directory tree, npm scripts, README excerpts, and optional git diff for quick project understanding.
Instructions
Generate a lightweight markdown project brief (~200-2000 tokens): tree, npm scripts, README/AGENTS excerpt, optional git diff. Use at session start instead of reading the whole repo or running Repomix.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pack_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | Shorter tree and truncated README (default true) | |
| diff | No | Include recent commits and uncommitted diff (default false) | |
| depth | No | Directory tree depth | |
| maxEntries | No | Max tree entries | |
| root | No | Project root path (default: server cwd) |