List grammar node types
get_node_typesInspect a language grammar to list named node types, anonymous tokens, and field names, enabling accurate ast_search query patterns without trial and error.
Instructions
List named node types, anonymous tokens and field names for a language's grammar — use it to write correct ast_search query patterns without trial and error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | file path (alternative to language) | |
| language | No | language to inspect |