get_dependencies
Lists dependencies from Maven, Gradle, Go, and npm build files, grouped by scope so you can inspect project dependencies.
Instructions
List dependencies from a build file: pom.xml (Maven), build.gradle / build.gradle.kts (Gradle), go.mod (Go), package.json (npm). Results grouped by scope.
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": {
"path": "<path>"
},
"name": "get_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the build file: pom.xml (Maven), build.gradle or build.gradle.kts (Gradle), go.mod (Go), package.json (npm) |