get_available_updates
Check pending package updates on a Linux system without installing them or refreshing caches. Read-only; returns an empty list when none are available.
Instructions
Lists available package updates without applying them (pacman -Qu, apt list --upgradable, dnf check-update, apk version -l <). Read-only, no cache refresh, nothing is installed. A clean manager with nothing to report returns an empty list. Fatal only if no supported package manager is present. Use to see pending updates; get_installed_packages for current versions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_available_updates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| errors | No | ||
| updates | Yes |