get_docs
Retrieve official documentation for a library. Provide a topic to get best-matching sections, or omit it to see the document overview and section list.
Instructions
Get official documentation for a library. With a topic, returns the best-matching sections (following index links when the source is an llms.txt index); without one, returns the document head and section list.
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": "get_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | What you need docs about | |
| library | Yes | Library name from list_libraries | |
| maxTokens | No | Approximate response budget (default 4000) |