Prevent or allow sleep
hs_keep_awakeStop your Mac from sleeping for long builds or downloads. You can also let it sleep again or check whether it is currently awake.
Instructions
Stop the Mac from sleeping, or let it sleep again. Called with no arguments it reports the current state. Useful before a long build or download.
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": "hs_keep_awake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| awake | No | True to prevent sleep, false to allow it. Omit to only report the state. |