get_version
Resolve the exact compatible documentation version for a library by inspecting workspace dependencies through the SemVer confidence ladder.
Instructions
Inspect workspace dependencies and resolve the exact compatible documentation version using the SemVer confidence ladder.
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": {
"library": "<library>"
},
"name": "get_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format: "markdown" (default, human/agent-readable documentation) or "json" (structured raw machine data). | |
| library | Yes | Package or library name to check (e.g. "next", "stripe", "fastapi"). | |
| projectPath | No | Workspace root directory containing package manifests (default: current directory). |