Keep the Mac awake
keep_awakeKeeps your Mac awake on demand, either until Claude Desktop quits or for a set number of hours, and lets you turn it off or check the current status.
Instructions
Keep the Mac awake (caffeinate -dims): mode on (until Claude desktop quits, or for hours), off, or status.
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": "keep_awake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | on (default) starts keeping it awake, off stops, status reports | |
| hours | No | with on: stop after this many hours (default 0: until Claude desktop quits) |