viz
Visualize code structure as graphs and UML, explore related symbols, and detect similar functions to analyze codebases locally.
Instructions
Code-intelligence (codegraph-compatible) visualization and similarity facade. Actions: graph, knowledge, similarity, uml. Pass action=help with target_action for an exact action schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Action sub-mode (e.g. summary|cycles). | |
| limit | No | Max results. | |
| query | No | Search query/pattern. | |
| scope | No | Action discriminator (e.g. point|graph). | |
| action | Yes | Which business capability to invoke, or help for discovery. One of: graph, help, knowledge, similarity, uml | |
| symbol | No | Symbol/function name. | |
| language | No | Language hint (usually auto). | |
| file_path | No | Target file path. | |
| min_lines | No | action=similarity: min function body lines to consider (default: 5). | |
| max_groups | No | action=similarity: max clone groups to return (default: 20). | |
| path_filter | No | action=similarity: project-relative path glob filter. | |
| function_name | No | Function name (alias of symbol). | |
| output_format | No | Output format: JSON. | |
| target_action | No | Business action to describe when action is help. | |
| min_group_size | No | action=similarity: min clone group size to report (default: 2). |