get-library-docs
resolve-library-id
first to obtain the exact Context7-compatible library ID required to use this tool, unless the user explicitly provides a library ID in the format /org/project
or /org/project/version
in their query.
Parameters:
Name | Type | Description |
---|---|---|
context7CompatibleLibraryID | string | Exact Context7-compatible library ID (e.g., /mongodb/docs , /vercel/next.js ) |
tokens | number (optional) | Max number of tokens to retrieve (default: 10,000) |
topic | string (optional) | Topic to narrow focus (e.g., ‘hooks’, ‘routing’) |
resolve-library-id
Name | Type | Description |
---|---|---|
libraryName | string | Name of the library/package to search for |