Set when a briq sleeps
briq_set_sleepChange when a briq goes to sleep: a longer window before work briq cannot see (a worker; a command started with briq_exec async is seen), a shorter one, or "never" (always on). You do not need this for ordinary work: every call on it and every visit to its URL already pushes its sleep back. A running briq sleeps the new window from now; a sleeping one keeps sleeping until its next use. A window longer than your key or the environment allows is refused with the longest you may send.
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": {
"briq": "<briq>",
"sleep": "<sleep>"
},
"name": "briq_set_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| briq | Yes | ||
| sleep | Yes | When it goes to sleep: after this long without use, as a string: "30m", "3h", "7d", or "never" (always on, Pro plan and above). Never a number. Use means your calls on it (exec, files, logs, expose), on any briq of its stack, and visits to its stack's URLs. A sleeping briq keeps its disk, costs nothing, and the next call or visit wakes it. A command started with briq_exec async is use while it runs. Other work briq cannot see (a worker, a bot that only makes outgoing connections) needs a window longer than that work, or "never". | |
| stack | No | true: the same sleep for every briq of its stack (an app and its database sleep and wake together) |