neurocode_slice
Extract a token-budgeted AST slice of repository context via code property graph reachability, enabling bug repair queries to include only relevant code instead of entire files.
Instructions
Extract an AST-sliced repository context bounded strictly under token budget (<=1,200 tokens) using Host-side Code Property Graph reachability. Use this instead of reading entire files into LLM context.
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": "neurocode_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | No | Optional specific file path or symbol to anchor the AST slice around | |
| issue | No | Bug report, error traceback, feature request, or coding query | |
| budget | No | Strict token budget limit (default 1200) | |
| repo_path | No | Absolute or relative path to repository root (default '.') | . |