lean_declaration_file
Find the file that declares a symbol in a Lean project. Requires the symbol name and the file path where it appears.
Instructions
Get file where a symbol is declared. Symbol must be present in file first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol (case sensitive, must be in file) | |
| file_path | Yes | Absolute or project-root-relative path to Lean file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | File content | |
| file_path | Yes | Path to declaration file |