pack
Build a deterministic context pack for a repository path using a token budget and AST awareness, returning a hash-chained provenance manifest of what was read.
Instructions
Build a deterministic, token-budgeted, AST-aware context pack for a repository path or query and return it with a hash-chained provenance manifest of exactly what was read.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | repository or file path | |
| query | No | optional BM25 relevance query | |
| budget | No | exact token budget | |
| format | No | output format (default text) | |
| redact | No | redact secrets (default true) | |
| tokenizer | No | tokenizer name (default heuristic) | |
| respect_gitignore | No |