Unset OpenClaw Config Key
clawops_config_unsetRemove a configuration key from the remote OpenClaw gateway config to revert to default. Use to delete keys like channels or overrides.
Instructions
Remove a configuration key from the remote OpenClaw gateway config, reverting it to the OpenClaw default.
Use when: the user wants to delete a config key entirely (e.g., remove a channel, clear an override).
Do NOT use when: the user wants to set the key to a new value — use clawops_config_set instead.
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": {
"key": "<key>"
},
"name": "clawops_config_unset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Dot-path config key to remove | |
| restart | No | Restart the gateway so the removal takes effect. Without it the key is removed and the running gateway keeps the old value | |
| stackName | No | Which stack's gateway config to write. Omitted = the default stack in ~/.clawops/config.json |