lookup
Answer specific natural language questions about a codebase to find definitions, callers, imports, and dependencies. Supports both text and structured JSON output.
Instructions
Answer a specific question about the codebase. Understands patterns like: - "where is X defined?" - "what calls X?" / "who uses X?" - "what does X call?" / "dependencies of X" - "what files import X?" - "what renders X?" (JSX/component tree) - "what implements X?" / "what extends X?"
Falls back to fuzzy symbol search if no pattern matches.
Typically ~100-500 tokens.
question: natural language question about the codebase
output_format: "text" (default) or "json" for structured responseInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | /demo | |
| question | No | ||
| exclude_dirs | No | ||
| output_format | No | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |