moltbot config
What it does: Read and write config keys. Your config lives in ~/.clawdbot/moltbot.json. Get/set/unset values by path. Run without a subcommand to open the configure wizard (same as moltbot configure).
Examples
Run this:
moltbot config get browser.executablePath
moltbot config set browser.executablePath "/usr/bin/google-chrome"
moltbot config set agents.defaults.heartbeat.every "2h"
moltbot config set agents.list[0].tools.exec.node "node-id-or-name"
moltbot config unset tools.web.search.apiKeyPaths
Paths use dot or bracket notation:
moltbot config get agents.defaults.workspace
moltbot config get agents.list[0].idUse the agent list index to target a specific agent:
moltbot config get agents.list
moltbot config set agents.list[1].tools.exec.node "node-id-or-name"Values
Values are parsed as JSON5 when possible; otherwise they are treated as strings.
Use --json to require JSON5 parsing.
moltbot config set agents.defaults.heartbeat.every "0m"
moltbot config set gateway.port 19001 --json
moltbot config set channels.whatsapp.groups '["*"]' --jsonRestart the gateway after edits.
Last updated on: