Package Dependencies
package_dependenciesList direct dependencies for a specified npm, PyPI, or cargo version before adding it, helping agents see what a library pulls in.
Instructions
List the direct dependencies of a specific package version (defaults to latest), via deps.dev. Lets an agent understand what a package pulls in before adding it. Ecosystems: npm, pypi, cargo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact package name as published in that registry, e.g. express for npm, requests for pypi, serde for cargo. | |
| version | No | Optional; defaults to the latest/default version | |
| ecosystem | Yes | Package registry to look in. One of: npm, pypi, cargo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| source | No | ||
| version | No | ||
| ecosystem | No | ||
| provenance | No | Where this answer came from. served_at is when Datakoot answered (UTC); upstream lists the official sources consulted. Datakoot may serve a briefly cached copy, so the source's own observation can be older than served_at. | |
| direct_dependencies | No | ||
| dev_dependency_count | No | ||
| build_dependency_count | No | ||
| direct_dependency_count | No | ||
| required_dependency_count | No |