Browse documentation

load

[solution]

Load a Maven or Gradle project.

Unreleased read-only preview. Technical reference for agents and client integrators.

Before this call

Safe mode is the default. Trust and dependency network access require separate command-line root grants. Tool arguments cannot grant either permission.

Parameters

NameTypeRequiredDescription
pathstringYesProject directory, pom.xml, or build file path.

Examples

Technical examples for agents and client integrators. Replace paths and opaque keys with returned workspace values.

Illustrative arguments

Arguments
{
  "path": "/path/to/java-project"
}
Full MCP request
Full MCP request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "load",
    "arguments": {
      "path": "/path/to/java-project"
    }
  }
}

Response notes

Reports the build model and generation. Safe mode returns a static model; trusted imports can return complete or partial models. Complete model export does not prove all dependencies resolved.