pack_context
Creates a token-budgeted markdown bundle of the most relevant source files for an LLM, prioritizing entrypoints and paths matching focus keywords. Ideal for PR review or task kickoff.
Instructions
Pack a token-budgeted markdown bundle of the most relevant source files for an LLM. Prefer entrypoints and paths matching focus keywords. Use for PR review or task kickoff.
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 |
|---|---|---|---|
| root | No | Repository root. Defaults to REPO_CONTEXT_ROOT or cwd. | |
| focus | No | Keywords or path fragments to prioritize (e.g. ['auth', 'src/api']). | |
| max_files | No | Maximum files to include (default 40). | |
| max_tokens | No | Approximate token budget (default 12000). |