view_files_full_context
Analyze multiple Java/Spring files together to automatically expand imported DTOs/entities, reveal dependencies, and align files by architectural role for comprehensive code understanding.
Instructions
Code analysis tool with 'Panoramic Vision'. Optimized for Java/Spring to provide a bird's-eye view across multiple files. Key Effects:
[Dependency Transparency]: Automatically lists injected components (Service/Mapper/MQ) and resolves local imports to absolute paths.
[Model Auto-Expansion]: For any DTO/Entity/VO imported in the current file, it automatically extracts their fields and comments. You don't need to open those files separately to understand the data structure.
[Logic Flow Alignment]: Auto-sorts files by architectural role (Controller -> Service -> Mapper) to follow the business call chain.
[API Outline]: Provides method outlines for dependencies to understand their interface at a glance. Tips: (1) Batch related files (e.g. Controller+ServiceImpl) in one call. (2) NOT recommended to read DTO/VO/Entity/Query individually as they are auto-expanded when reading their consumers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"AbsolutePaths": "<AbsolutePaths>"
},
"name": "view_files_full_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| AbsolutePaths | Yes | Absolute paths of files to analyze. | |
| StartLine | No | ||
| EndLine | No |