get-library-docs
Fetches targeted documentation for React Native and related libraries, auto-detecting versions from your project. Returns chunked, paginated content to optimize token efficiency.
Instructions
Get specific documentation with smart chunking and pagination for token efficiency
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"library": "<library>",
"topic": "<topic>"
},
"name": "get-library-docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Current working directory for auto-detection. | |
| page | No | Page number for paginated content (1-indexed) | |
| topic | Yes | The documentation topic (e.g., 'FlatList', 'navigation-basics') | |
| library | Yes | ||
| version | No | Version string or 'auto' to detect from project. | auto |