get_project_files
Recursively scan a project directory to list all OpenSCAD files and map their dependencies via include/use statements.
Instructions
List all OpenSCAD files in a project directory and map their dependencies.
Recursively finds every .scad file under project_dir, parses
each file for include and use statements, and returns a
structured overview of the project's file tree and dependency graph.
Args:
project_dir: Root directory of the OpenSCAD project. Validated
against security.allowed_paths when configured.
ctx: MCP context for logging
Returns: Dict with success status, files list (each with name, path, size_bytes, modified), and dependencies mapping (relative path to list of dependency strings).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||