reboot_required
Report whether a Linux server needs a reboot by checking the Debian/Ubuntu marker or comparing the running kernel to an installed kernel.
Instructions
Report whether a Linux server is pending a reboot (Debian/Ubuntu reboot-required marker, or a running kernel older than the newest installed one).
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": {
"server": "<server>"
},
"name": "reboot_required"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | the inventory server name to check |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| server | Yes | ||
| status | Yes | ||
| required | Yes | ||
| timestamp | Yes | ||
| newest_kernel | No | ||
| recommendation | No | ||
| running_kernel | Yes |