lib_docs
Fetch library documentation by name from npm, PyPI, crates.io, Go, and GitHub automatically. Accepts package names or GitHub repos, with optional saving.
Instructions
Fetch README/docs for a library by name. Tries npm → PyPI → crates.io → Go → GitHub automatically. Accepts react, numpy, serde, owner/repo, etc. Optionally saves to docs/libraries/.md.
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": {
"name": "<name>"
},
"name": "lib_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Library name. Examples: `react`, `express`, `numpy`, `serde`, `github.com/gin-gonic/gin`, `owner/repo`. | |
| save | No | ||
| refresh | No | ||
| version | No | ||
| ecosystem | No |