astgrep_analyze
Analyze and debug code structure using AST patterns to identify issues, specify a programming language, and optionally enable detailed query or tree context analysis within a secure sandboxed environment.
Instructions
AST structure analysis and debugging using ast-grep
Input Schema
Name | Required | Description | Default |
---|---|---|---|
debugQuery | No | Enable debug mode for query analysis | |
language | No | Programming language | |
pattern | Yes | AST pattern to analyze | |
showFullTree | No | Show full AST tree context | |
workingDirectory | No | Optional working directory for the operation (defaults to server working directory) |