Find the docs version for a project
resolve_versionSays which documented FrontMCP version a project should read, and the endpoint that pins it. Pass the project's package.json, its lockfile (package-lock.json, yarn.lock or pnpm-lock.yaml, including relevant importers and all SDK resolutions), or a version range. An unambiguous lockfile identifies an installation; package.json only the range it allows. If several installations exist, select an npm/pnpm workspace or pass an exact installedVersion read from the resolved SDK package. Call it first when you can read the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | A version or range, like "1.9.4" or "^1.9.0". | |
| lockfile | No | The project's lockfile, including the selected importer and all SDK resolutions. A truncated fragment must preserve that context. | |
| workspace | No | Workspace/importer path in an npm or pnpm lockfile, for example "." or "packages/api". Required when installations are ambiguous. | |
| packageJson | No | The project's package.json, as it is. | |
| installedVersion | No | Exact release read from this project's resolved @frontmcp/sdk/package.json. Takes precedence over a shared lockfile; never guess it from a range. |