get_project_files
Retrieves OpenSCAD project files with metadata and dependency references, or traces constant dependency graphs for upstream/downstream analysis.
Instructions
mode="files": every .scad under project_dir with size/mtime and the include/use/import/surface references of each. mode="trace": the constant dependency graph for symbol= (lexical, file-scope constants only): its definition, what depends on it (direction="downstream") or what it depends on ("upstream"), by depth, and the part files that use them. project_dir must be inside allowed_paths when configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | files | |
| symbol | No | ||
| direction | No | downstream | |
| project_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||