watch_history
List recent container restart incidents newest first, with optional before-and-after logs, to help diagnose recurring failures across local or remote servers.
Instructions
List recorded restart incidents, newest first. Captured logs are excluded unless include_logs is set, because every incident carries a hundred lines of output twice over
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": "watch_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most recent N incidents (default: 10, 0 for all) | |
| server | No | Remote server name from config (optional, runs locally if omitted) | |
| container | No | Only incidents for this target (optional) | |
| include_logs | No | Include the logs captured before and after each restart (default: false) |