description: Fetch up-to-date documentation and code examples for any library
Fetch current, version-specific documentation straight from source repositories.
$ARGUMENTS = <library> [topic]
Examples:
react hooks → library="react", topic="hooks"next.js routing → library="next.js", topic="routing"prisma → library="prisma", topic=noneresolve-library-id with the library nameget-library-docs with:
context7CompatibleLibraryID: the resolved IDtopic: the topic (if provided)/context7:docs /vercel/next.js routingpage parameter (1-10) if initial results aren't sufficient