skypilot_tail_autostop_logs
Retrieve autostop hook logs for a SkyPilot cluster to diagnose autostop events. View the last N lines (default 100) or all output.
Instructions
Get autostop hook logs (autostop_hook.log) for a cluster. Shows the log output from the autostop hook. Returns the last N lines (default 100, set to 0 for all).
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": {
"cluster_name": "<cluster_name>"
},
"name": "skypilot_tail_autostop_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | ||
| cluster_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |