Get Docs
get_docsFetch live documentation directly from official library sites to get current API signatures, parameters, and examples—eliminating stale training data.
Instructions
Fetch real-time, up-to-date documentation from the official docs site of a library.
Solves the core AI-engineer problem: LLMs have outdated training data. This tool fetches live content directly from official documentation websites, so you always get the latest API signatures, parameters, and examples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to search for. Be specific: "streaming chat completions", "tool calling with structured output", "RAG with metadata filters". | |
| library | Yes | Library key (e.g. "openai", "langchain", "qdrant"). Call list_libraries() to see all 45+ supported libraries. | |
| version | No | Optional version pin (e.g. "v0.2", "2.1.0") for version-specific docs. | |
| serper_api_key | No | Optional. Overrides server SERPER_API_KEY env var (BYOK). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |