read_symbol
Extract symbol blocks by name from files, supporting formats like TS, JS, GraphQL, and CSS. Use wildcards for flexible searching, specify file paths, and control result limits for efficient analysis.
Instructions
Find and extract symbol block by name from files, supports a lot of file formats (like TS, JS, GraphQL, CSS and most that use braces for blocks). Uses streaming with concurrency control for better performance
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_paths | No | File paths to search (supports relative and glob). Defaults to "." (current directory). IMPORTANT: Be specific with paths when possible, minimize broad patterns like "node_modules/**" to avoid mismatches | |
limit | No | Maximum number of results to return. Defaults to 5 | |
symbol | Yes | Symbol name to find (functions, classes, types, etc.), case-sensitive, supports * for wildcard |