openclaw config

Config 헬퍼: 경로로 값을 가져오기/설정/해제합니다. 서브명령 없이 실행하면 구성 마법사를 엽니다 (openclaw configure와 동일).

예시

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 get agents.defaults.workspace
openclaw config get agents.list[0].id

에이전트 목록 인덱스를 사용하여 특정 에이전트를 대상으로 합니다:

openclaw config get agents.list
openclaw config set agents.list[1].tools.exec.node "node-id-or-name"

값은 가능한 경우 JSON5로 파싱되며, 그렇지 않으면 문자열로 처리됩니다. JSON5 파싱을 요구하려면 --json을 사용하세요.

openclaw config set agents.defaults.heartbeat.every "0m"
openclaw config set gateway.port 19001 --json
openclaw config set channels.whatsapp.groups '["*"]' --json

편집 후 gateway를 재시작하세요.