search_library_name
Identify the exact library name and official documentation source before writing third-party code. Ensures accurate, up-to-date API usage and prevents hallucinations.
Instructions
CRITICAL: Always use this tool FIRST before generating code for any third-party library.
This tool identifies the correct library version and official documentation source. Using this prevents hallucinations and ensures you use the most up-to-date APIs.
Usage Strategy:
Call this tool to find the exact library name (e.g., mapping "langchain" to the specific package).
Use the result from this tool to call 'search_latest_documentation'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Specific requirements or version constraints (e.g., "v2 with server actions", "latest stable"). | |
| library_name | Yes | The general name of the library (e.g., "langchain", "pydantic", "nextjs"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |