load_project
Loads a Java project from the file system to enable semantic analysis. Must be called first to initialize project structure and dependencies.
Instructions
Load a Java project for analysis. MUST be called before using other analysis tools.
USAGE: load_project(projectPath="/path/to/project") OUTPUT: Project structure summary including packages, source files, build system
Supports:
Maven projects (pom.xml)
Gradle projects (build.gradle or build.gradle.kts)
Plain Java projects with src/ directory
WORKFLOW:
Call load_project with absolute path to project root
Wait for project to load (may take a few seconds for large projects)
Use health_check to verify project is loaded
Begin using analysis tools (search_symbols, find_references, etc.)
SYNC (strict mode): answers are always verified against the files on disk - no reload is needed after editing, adding, or deleting source files. Call load_project only on first use, when a response reports RELOAD_REQUIRED (a build file changed), or to rebuild everything from scratch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project root directory containing pom.xml or build.gradle |