resolve-library-id
Convert a general package name into a Context7-compatible library ID. Essential for retrieving accurate documentation and code examples via 'get-library-docs' in Context7 MCP.
Instructions
Required first step: Resolves a general package name into a Context7-compatible library ID. Must be called before using 'get-library-docs' to retrieve a valid Context7-compatible library ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
libraryName | Yes | Library name to search for and retrieve a Context7-compatible library ID. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"libraryName": {
"description": "Library name to search for and retrieve a Context7-compatible library ID.",
"type": "string"
}
},
"required": [
"libraryName"
],
"type": "object"
}