list_doc_versions
List all published documentation versions for a package using the ReadTheDocs API. Use this to discover available versions before retrieving a specific one.
Instructions
List all available documentation versions for a package.
Queries the ReadTheDocs API to discover published versions. Always call this before get_doc_section or search_docs when the user asks about a specific version other than the latest.
Args: package: Package name as returned by list_packages().
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": {
"package": "<package>"
},
"name": "list_doc_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |