suggest_type_mappings
Auto-detect potential type mappings by scanning projects for type definitions, matching exact or similar names across codebases. Populate the type mapping registry quickly with confidence-ranked suggestions and optional auto-registration.
Instructions
Auto-detect potential type mappings by scanning all registered projects for type/interface/class/enum definitions. Finds exact name matches across projects (HIGH confidence) and name-similar matches (MEDIUM confidence) by stripping common prefixes/suffixes like Dto, Schema, Form, Payload, etc. Use this to quickly populate the type mapping registry without manual discovery. Set autoRegister=true to automatically register HIGH confidence matches (exact name matches with exactly 2 occurrences).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of suggestions to return (0 = no limit). Default: 10. | |
| verbose | No | If true, return full details with file paths and registration instructions. If false (default), return a compact summary. | |
| typeName | No | Optional — if provided, only show suggestions related to this type name (case-insensitive partial match). | |
| confidence | No | Minimum confidence level to include ('high' = exact matches only, 'medium' = exact + similar, 'all' = everything). Default: 'high'. | high |
| projectName | No | Optional — if provided, only scan this specific project for type definitions. | |
| autoRegister | No | If true, automatically register HIGH confidence matches (exact name matches with exactly 2 occurrences). Default: false. |