Set always on
set_always_onKeep a spawnpoint app awake around the clock, or let it sleep again. An app on a machine (node, python, docker) sleeps when nobody visits for an hour, and the next visitor waits about half a minute while it starts; an always-on app never sleeps, so nobody waits. Pass always_on: true to turn it on, false to turn it off. How many apps can stay always on depends on the plan: whoami shows always_on_used against always_on_limit, and a refusal says what the plan allows. At the limit, the refusal names the apps that are on: ask the user which to turn off. A static site never sleeps and needs none. Use it when the user wants an app to stay up, or says it is slow to open after a quiet spell.
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": {
"project_id": "<project_id>",
"always_on": "<always_on>"
},
"name": "set_always_on"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| always_on | Yes | true keeps the app awake around the clock; false lets it sleep again when nobody visits | |
| project_id | Yes | the id of the project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| always_on | Yes | ||
| project_id | Yes | ||
| always_on_used | Yes | ||
| always_on_limit | Yes |