list_source_versions
Check available source code versions (GitHub tags) for a given package to confirm version existence before retrieving function source.
Instructions
List all available source code versions (GitHub tags) for a package.
Use this when the user asks about a specific version of a function, to confirm the version exists before calling get_function_source.
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_source_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |