resolve_library
Resolve npm or PyPI package names to documentation sources without configuration using registry metadata, llms.txt, and GitHub READMEs. Save the result for get_docs.
Instructions
Resolve any npm or PyPI package name to a docs source without configuration: registry metadata → llms-full.txt / llms.txt on its homepage or docs site → its GitHub README. Reports what was found (source, homepage, candidates tried, chosen URL, kind) and saves the result so get_docs works for that name. A name that does not exist in npm or PyPI is reported as such — distinct from a real package that just has no reachable documentation, which is reported separately. get_docs does this implicitly for unknown names; call this to see the details or to pick the ecosystem.
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": "resolve_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name, e.g. hono, httpx, @tanstack/react-query | |
| ecosystem | No | Only look in this registry (default: npm first, then PyPI) |