openclaw config
Hilfsbefehle für die Konfiguration: Werte per Pfad lesen, setzen oder löschen. Ohne Unterbefehl öffnet sich der Konfigurationsassistent (wie bei openclaw configure).
Beispiele
openclaw config get browser.executablePath
openclaw config set browser.executablePath "/usr/bin/google-chrome"
openclaw config set agents.defaults.heartbeat.every "2h"
openclaw config set agents.list[0].tools.exec.node "node-id-or-name"
openclaw config unset tools.web.search.apiKey
Pfade
Pfade nutzen Punkt- oder Klammer-Notation:
openclaw config get agents.defaults.workspace
openclaw config get agents.list[0].id
Mit dem Index der Agent-Liste kannst du einen bestimmten Agent ansprechen:
openclaw config get agents.list
openclaw config set agents.list[1].tools.exec.node "node-id-or-name"
Werte
Werte werden wenn möglich als JSON5 geparst, sonst als String behandelt. Mit --json erzwingst du JSON5-Parsing.
openclaw config set agents.defaults.heartbeat.every "0m"
openclaw config set gateway.port 19001 --json
openclaw config set channels.whatsapp.groups '["*"]' --json
Nach Änderungen musst du das Gateway neu starten.