trawl_docs_lookup
Retrieve version-specific library API docs, usage examples, and references via Context7, with fallback to local Trawl pools for missing or offline content.
Instructions
Look up documentation for a library using Context7 (version-aware) with fallback to local Trawl pools. Use this when you need API docs, usage examples, or version-specific information for any library.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What you want to know (e.g. 'hooks API', 'async middleware', 'array operations') | |
| library | Yes | Library name (e.g. 'react', 'fastapi', 'numpy') | |
| sources | No | Source preference order. Default: ['context7', 'trawl', 'web'] | |
| version | No | Library version (e.g. '18.0', 'latest'). Use 'latest' if unsure. |