get_package_versions
Retrieve all available versions of a Dart or Flutter package from pub.dev by package name, so you can inspect release history and choose a compatible version.
Instructions
Get all available versions of a package
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": {
"name": "<name>"
},
"name": "get_package_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name |