dependencies
List resolved direct or transitive dependency data for a package version across npm, PyPI, Cargo, Go, Maven, NuGet, or RubyGems, with counts and scope filtering.
Instructions
List the resolved dependencies of a version (npm, cargo, maven, pypi). Returns direct and indirect counts; scope 'direct' lists only direct dependencies, 'all' includes the transitive ones.
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": {
"system": "<system>",
"name": "<name>"
},
"name": "dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact package name as published in its registry. | |
| limit | No | Maximum dependencies to return. | |
| scope | No | Which dependencies to list. | direct |
| system | Yes | Package ecosystem. Maven names are 'group:artifact'; Go names are module paths such as github.com/gin-gonic/gin. | |
| version | No | Version string. Omit to use the package's default (latest stable) version. |