Search Rust crates on crates.io
search_cratesSearch crates.io by keyword with optional sort order ("relevance", "downloads", "recent-downloads", "recent-updates", or "new").
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": {
"query": "<query>"
},
"name": "search_crates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Optional sort order. Default is crates.io relevance. | |
| limit | No | Number of crates to return (1 to 50). Default 10. | |
| query | Yes | Search keyword (e.g. "serde", "http client", "async runtime"). |