get-library-docs
Fetch documentation for any library using its Context7 ID, with optional topic focus and token limit.
Instructions
Fetches documentation for a library using a Context7-compatible library ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Focus the docs on a specific topic (e.g., "routing", "hooks") | |
| tokens | No | Max number of tokens to return. Values less than 1000 are automatically increased to 1000. | |
| context7CompatibleLibraryID | Yes | Exact Context7-compatible library ID (e.g., /mongodb/docs, /vercel/next.js) |