crates_metadata
Retrieve comprehensive metadata for Rust crates from crates.io, including version details, documentation links, repository URLs, and license information to support development decisions.
Instructions
Get detailed metadata for a specific Rust crate from crates.io.
USE THIS WHEN: You need comprehensive information about a specific Rust crate.
RETURNS: Detailed crate metadata including version, URLs, downloads, and license.
Does NOT include full documentation content.
The response includes:
- Crate name, version, description
- Documentation URL (docs.rs) - can be passed to WebFetch for full API docs
- Repository URL (usually GitHub) - can be used with GitHub provider
- Homepage, license, categories, keywords
- Download statistics, creation/update dates
- Minimum Rust version required
Args:
crate: Crate name (e.g., "serde", "tokio", "actix-web")
Returns:
JSON with comprehensive crate metadata
Example: crates_metadata("serde") → Returns metadata with docs.rs link and GitHub repo
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": {
"crate": "<crate>"
},
"name": "crates_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crate | Yes |