Resolve Library
gt_resolve_libraryResolve ambiguous or unknown library names to GroundTruth IDs and retrieve documentation, llms.txt, and GitHub URLs from registries including npm, PyPI, crates.io, and Go.
Instructions
Find a library's GroundTruth ID ('vercel/next.js', 'npm:express') and its docs, llms.txt and GitHub URLs, from the registry, npm, PyPI, crates.io, Go and GitHub. Only for ambiguous or unknown names: other tools take plain names. 2-20 names: gt_batch_resolve. Registry is Elastic-2.0: look up named libraries only, never enumerate.
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": {
"libraryName": "<libraryName>"
},
"name": "gt_resolve_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Intended use; ranks results | |
| libraryName | Yes | e.g. 'nextjs' |