ast_show
Extract the full source body of symbols from a file, with support for suffix matching and optional header-only output.
Instructions
Extract the full source body of one or more symbols from a file. Supports suffix matching (e.g., 'Foo.Bar' matches '*.Foo.Bar'). Use --signature to get header only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path to extract symbols from | |
| json | No | Return machine-readable JSON output | |
| symbols | Yes | Symbol names to extract | |
| signature | No | Return header/signature only, no body |