config
openclaw config
Section titled “openclaw config”Config helpers: get/set/unset values by path. Run without a subcommand to open the configure wizard (same as openclaw configure).
Examples
Section titled “Examples”openclaw config get browser.executablePathopenclaw 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.apiKeyPaths use dot or bracket notation:
openclaw config get agents.defaults.workspaceopenclaw config get agents.list[0].idUse the agent list index to target a specific agent:
openclaw config get agents.listopenclaw config set agents.list[1].tools.exec.node "node-id-or-name"Values
Section titled “Values”Values are parsed as JSON5 when possible; otherwise they are treated as strings. Use --json to require JSON5 parsing.
openclaw config set agents.defaults.heartbeat.every "0m"openclaw config set gateway.port 19001 --jsonopenclaw config set channels.whatsapp.groups '["*"]' --jsonRestart the gateway after edits.