search_library_docs
Find library documentation using PyPI and GitHub data to prevent outdated code generation and API hallucinations.
Instructions
Find docs for a library using PyPI metadata and GitHub repos combined. Returns data in JSON format with token statistics.
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>"
},
"name": "search_library_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library | Yes | ||
| limit | No |