structure
Perform structural code analysis by invoking actions such as analyze, outline, class tree, signatures, and explore. Request help with a target action to get its exact schema.
Instructions
Code-intelligence (codegraph-compatible) structural analysis facade. Actions: analyze, ast_path, class_detail, class_tree, explore, outline, read, signatures, sitemap. 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: analyze, ast_path, class_detail, class_tree, explore, help, outline, read, signatures, sitemap | |
| symbol | No | Symbol/function name. | |
| language | No | Language hint (usually auto). | |
| file_path | No | Target file path. | |
| class_name | No | Class name for class_tree and class_detail actions. | |
| 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. |