openclaw_config_set
Replace a config value at a given dotted path with a new JSON-serializable value. Destructive overwrites the previous value.
Instructions
Replace a config value at a given path. Wraps config.set. Destructive — overwrites the previous value. Prefer openclaw_config_patch for partial updates.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "openclaw_config_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Dotted path of the config key to set | |
| value | No | New value — any JSON-serializable value (string, number, boolean, object, array, null). Passthrough: no schema enforced because the gateway config tree is open-typed. | |
| instance | No | Optional OpenClaw instance to route this call to (e.g. 'default', 'work'). Falls back to the active default instance, or the OPENCLAW_GATEWAY_URL/TOKEN env vars when set. List configured instances with openclaw_setup_list. |