get-library-docsRetrieves up-to-date documentation and code examples for any library. This tool automatically searches for the library by name and fetches its documentation.
Usage:
1. Provide the library name (e.g., "react", "express", "mongodb")
2. Specify a topic to focus the documentation on (e.g., "hooks", "routing", "authentication")
The tool will:
1. Search for libraries matching the provided name
2. Select the most relevant library based on name similarity, trust score, and documentation coverage
3. Fetch the documentation for the selected library, and the relevant sections by topic
Response includes:
- Library selection explanation
- Comprehensive documentation with code examples
- Focused content if a topic was specified