ubuntu_update_packages
Update and upgrade system packages on Ubuntu via SSH, with options for security-only updates and autoremoving unused packages.
Instructions
Update system packages on Ubuntu
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": {
"connectionId": "<connectionId>"
},
"name": "ubuntu_update_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sudo | No | Whether to run the command with sudo (default: true) | |
| upgrade | No | Whether to upgrade packages after update (default: true) | |
| autoremove | No | Whether to remove unused packages after update (default: false) | |
| connectionId | Yes | ID of an active SSH connection | |
| securityOnly | No | Whether to update only security packages (default: false) |