Get Crate Dependencies
get_crate_dependenciesList the dependencies of a specific crate version, what itself depends on. Returns each dependency with its version requirement, kind (normal/build/dev), optional flag, enabled features, and target. Version is optional (defaults to the latest stable). Use for "what does depend on", dependency audits, or sizing a crate's footprint.
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": {
"name": "tokio"
},
"name": "get_crate_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Crate name (e.g. "tokio"). | |
| version | No | Exact version (e.g. "1.40.0"), or omit for the latest stable. |