Search Crates
search_cratesSearch crates.io for Rust packages by keyword. Returns crate name, description, downloads, latest version, and repo URL.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "web framework"
},
"name": "search_crates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (default 10, max 100) | |
| query | Yes | Search query string |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total number of matching crates | |
| crates | Yes |