analyze_class
Get a lightweight overview of any Java class from Maven dependencies. Returns signatures of fields, methods, constructors, superclass, and interfaces without method bodies.
Instructions
Analyze a Java class structure (signatures only, no method bodies) from Maven dependencies using javap. Returns fields, methods, constructors, superclass and interfaces. Use this for a lightweight overview when you do not need full source code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| className | Yes | Fully qualified name of the Java class to analyze, e.g., io.micrometer.observation.ObservationRegistry or com.example.QueryBizOrderDO | |
| projectPath | Yes | Maven project root directory path | |
| filter | No | Filter members by visibility or type | all |
| format | No | Output format. Default is text (human-readable). Use json for structured machine-readable data. Use toon for Token-Oriented Object Notation — a compact, LLM-friendly format that reduces tokens by ~40% compared to JSON while preserving structure (https://github.com/toon-format/toon). | text |