condense_source
Extracts a structural skeleton of a source file, keeping imports, types, and signatures while removing function bodies to reduce token consumption.
Instructions
Extracts an AST-aware structural skeleton of a source file (preserves imports, interfaces, types, and function/method signatures while stripping implementation bodies) to slash token consumption by up to 85%.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to target source file | |
| preserveDocstrings | No | Whether to preserve docstring comments |