openclaw config
Config-Helfer: Werte per Pfad abrufen/setzen/entfernen/validieren und die aktive
Config-Datei anzeigen. Ohne Unterbefehl ausgef\u00fchrt, \u00f6ffnet sich
der Konfigurationsassistent (identisch mit openclaw configure).
Beispiele
openclaw config file
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
openclaw config validate
openclaw config validate --json
Pfade
Pfade verwenden Punkt- oder Klammer-Notation:
openclaw config get agents.defaults.workspace
openclaw config get agents.list[0].id
Verwende den Agent-Listen-Index, um einen bestimmten Agent anzusteuern:
openclaw config get agents.list
openclaw config set agents.list[1].tools.exec.node "node-id-or-name"
Werte
Werte werden nach M\u00f6glichkeit als JSON5 geparst; andernfalls werden sie als Strings behandelt.
Verwende --strict-json, um JSON5-Parsing zu erzwingen. --json wird weiterhin als Legacy-Alias unterst\u00fctzt.
openclaw config set agents.defaults.heartbeat.every "0m"
openclaw config set gateway.port 19001 --strict-json
openclaw config set channels.whatsapp.groups '["*"]' --strict-json
Unterbefehle
config file: Den aktiven Config-Dateipfad ausgeben (aufgel\u00f6st ausOPENCLAW_CONFIG_PATHoder Standardort).
Starte das Gateway nach \u00c4nderungen neu.
Validieren
Die aktuelle Config gegen das aktive Schema validieren, ohne das Gateway zu starten.
openclaw config validate
openclaw config validate --json