get_package_info
Retrieves metadata for a package including version, description, documentation URL, repository, and license. Supports PyPI, npm, and crates.io.
Instructions
Get metadata for a package: latest stable version, description, docs URL, repository, license. Supports Python (PyPI), JavaScript/TypeScript (npm), and Rust (crates.io).
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": {
"package": "<package>"
},
"name": "get_package_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Package name (e.g., 'requests', 'express', 'serde') | |
| ecosystem | No | Language/ecosystem: python, javascript, typescript, rust. Auto-detected if omitted. |