pack_repo
Packs a repository tree and prioritized files into one markdown document within a token budget, listing skipped files explicitly instead of truncating them silently.
Instructions
Pack the repo tree plus the most important files into one markdown document that fits a token budget. Skipped files are listed, never truncated silently.
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_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| exclude | No | Glob patterns to exclude | |
| include | No | Glob patterns to include, e.g. ['*.py', 'src/**'] | |
| budget_tokens | No | Max estimated tokens (default 8000) |