validate_module
Checks a FrameIO module for correct structure, code, and conventions. Supports local paths or remote file contents, with optional strict validation and registry checks.
Instructions
Validate module structure, code, and conventions. Use modulePath when the MCP runs with cwd at the FrameIO repo root. Use files (package.json + src/index.ts contents) when the MCP is remote or cannot read your disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Remote mode: map of relative file path to UTF-8 contents. Must include package.json and src/index.ts. | |
| strict | No | Enable strict validation (default: false) | |
| moduleId | No | Optional kebab-case id when using files; inferred from package.json name @frameio/<id> if omitted. | |
| modulePath | No | Path to module directory (relative to project root). Omit when using files. | |
| registryContent | No | Optional full text of modules/.registry.ts for registration check when the MCP host has no copy. |