| name | documentation-lookup |
| description | Use when the user needs current library, framework, or API documentation and version-specific code examples. |
Documentation Lookup
Use current official documentation instead of relying on memory when the answer depends on a library, framework, API, or version.
Workflow
- Identify the exact project, package, and version from the request or local dependency files.
- Prefer an installed documentation set, package source, or purpose-built connector, API, or CLI that reaches the official primary source.
- Read only the pages needed to answer the question.
- State the version or documentation date when it affects the answer.
- Cite the official page or local source path used.
If a current official source is unavailable, say what could not be verified and do not guess. Do not install or recommend an unrelated documentation service as a workaround.
Selection Rules
- Prefer the library owner's documentation over tutorials, aggregators, and community mirrors.
- Match version-specific questions to the same version of the documentation.
- Keep examples limited to the user's requested API and environment.
- Separate verified documentation facts from implementation advice.