jambavan_context
Retrieves relevant code symbols and snippets from a codebase index, returning a token-budgeted context block of matching functions, classes, and types for efficient model use.
Instructions
Search the Jambavan index for code symbols and snippets most relevant to a query. Returns a ranked, token-budgeted context block of matching functions, classes, and types. Inject this block into your prompt to give the model precise, token-efficient codebase knowledge. Much cheaper than reading whole files — only the relevant symbol bodies are returned. Automatically includes top project-memory matches and a bounded set of extracted callers/callees under the same token budget. Options: compress_prose shrinks comments for extra budget; include_diff adds recent git changes; include_tests shows test coverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max lexical symbols before token-budget truncation; up to 6 extracted structural neighbors may be added (default: 30) | |
| query | Yes | Natural-language or identifier query — e.g. "auth middleware", "UserService.login" | |
| include_diff | No | Include recent git changes for each symbol (default: false) | |
| include_tests | No | Include associated test file info for each symbol (default: false) | |
| compress_prose | No | Compress comments/docstrings in results for more symbol density (default: false) |