-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactions.yaml
More file actions
80 lines (76 loc) · 2.94 KB
/
Copy pathactions.yaml
File metadata and controls
80 lines (76 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
get-gateway-token:
description: Retrieve the OpenClaw Gateway authentication token
params:
format:
type: string
default: "text"
description: |
Output format: 'text' (token only), 'json' (structured), or 'url' (tokenized dashboard URL)
approve-nodes:
description: Approve all pending Node devices for connection to the Gateway
params:
auto-approve:
type: boolean
default: true
description: Automatically approve all pending nodes without confirmation
backup:
description: |
Backup OpenClaw data (conversations, memory, configurations) to a timestamped compressed archive.
The service will be gracefully stopped before backup and restarted after completion.
params:
output-path:
type: string
default: "/tmp"
description: |
Directory where the backup file will be created (default: /tmp)
wait-timeout:
type: integer
default: 30
description: |
Maximum seconds to wait for active processes to complete before backup (default: 30)
force:
type: boolean
default: false
description: |
Force backup even if active processes are detected (not recommended)
list-models:
description: List all configured AI models (primary and additional slots)
params:
format:
type: string
default: "json"
description: |
Output format: 'json' (structured details) or 'text' (simple list)
upgrade:
description: |
Perform a system upgrade (apt-get full-upgrade) and reboot the system.
When install-method=nvm and version="" or "latest", upgrade-node and
reinstall-openclaw both default to true automatically — Node.js is
upgraded to the latest patch of the configured major version and
OpenClaw is reinstalled in the new version. Pass upgrade-node=false
or reinstall-openclaw=false to suppress either step explicitly.
params:
reinstall-openclaw:
type: string
default: "auto"
description: |
Force a clean reinstall of OpenClaw by uninstalling and reinstalling
from scratch. Defaults to "auto": true when install-method=nvm and
version="" or "latest", false otherwise. Set to "true" or "false" to
override explicitly.
upgrade-node:
type: string
default: "auto"
description: |
Upgrade Node.js to the latest patch of the configured major version
(node-version config, default 24) via nvm. Defaults to "auto": true
when install-method=nvm and version="" or "latest", false otherwise.
Because nvm global packages are per-node-version, OpenClaw is
automatically reinstalled in the new version regardless of the
reinstall-openclaw flag. Set to "true" or "false" to override.
skip-reboot:
type: boolean
default: false
description: |
Skip the scheduled reboot after the upgrade. Useful when only
reinstalling OpenClaw without needing a full system reboot.