Package Info
package_infoFetch core metadata for npm, PyPI, or Cargo packages—version, license, repo, maintainers, deprecation—to verify a dependency before installing or recommending it.
Instructions
Get core metadata for a package: latest version, description, license, homepage, source repository, maintainers, and whether it is deprecated. Use before an agent installs or recommends a dependency. Ecosystems: npm, pypi, cargo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package/crate name | |
| ecosystem | Yes | Package registry to look in. One of: npm, pypi, cargo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| license | No | ||
| version | No | ||
| homepage | No | ||
| ecosystem | No | ||
| published | No | ||
| deprecated | 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. | |
| repository | No | ||
| description | No | ||
| maintainers | No | ||
| version_count | No | ||
| requires_python | No |