Update portal config
update_configSet a config value in Zuar Portal by path, supporting merge, dry-run preview, and revert.
Instructions
Set a value at a config path. path is the key path (array of strings); value is the new value; merge merges into an existing object instead of replacing. Portal-wide setting: requires admin writes enabled (PORTAL_ALLOW_ADMIN_WRITES=1) AND confirm=true; dry_run=true previews the current value without writing. The response returns previous_at_path — pass it back to revert. Pointing default_dashboard/theme_id at a missing record is refused.
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": "update_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Config key path, e.g. ["branding","title"]. | |
| merge | No | Merge into an existing object instead of replacing. | |
| value | No | New value (object, array, string, number, or boolean). | |
| confirm | No | Must be true to write — this changes the whole portal's config. | |
| dry_run | No | Report the current value at `path` and the would-be write, without writing. |