Check peer compatibility between two package versions
check_peer_compatibilityCheck compatibility of two package versions using curated peer dependency data from migration maps. Returns true, false, or unknown.
Instructions
Static SemVer check of two known package versions against curated compatible_with peer data from migration maps. Purely declarative — no filesystem access or project inspection (that is the scope of the separate, unimplemented check_compatibility). Returns compatible: true | false | "unknown". Treat "unknown" as absence of curated data, never as evidence of incompatibility.
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": {
"package_a": "<package_a>",
"version_a": "<version_a>",
"package_b": "<package_b>",
"version_b": "<version_b>"
},
"name": "check_peer_compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecosystem | No | Package ecosystem (default "npm") | npm |
| package_a | Yes | First package name, e.g. "next" | |
| package_b | Yes | Second package name, e.g. "react" | |
| version_a | Yes | Version (or SemVer range) of package_a, e.g. "15.0.0" | |
| version_b | Yes | Version (or SemVer range) of package_b, e.g. "18.2.0" |