get_architecture_digest
Generate a token-efficient AST skeleton of an entire codebase for AI agents, automatically filtering junk, dist, node_modules, and minified bundles to provide a compact architectural overview.
Instructions
Instant Context: Generates a high-density, token-efficient (~1,500 token) AST skeleton of the entire codebase. Automatically filters out junk, dist, node_modules, and minified bundles.
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": "get_architecture_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_dir | No | Path to the repository root directory (default: '.') | . |
| max_tokens | No | Maximum token budget for the skeleton digest (default: 4000) |