cluster_flag_set
Set or clear Ceph cluster flags such as noout or noscrub before maintenance, with undo recording to reverse the change.
Instructions
[WRITE][risk=medium] Set/unset a cluster flag (noout/nobackfill/norecover/noscrub…).
Heavily used before maintenance (e.g. set noout while rebooting a host). Reversible — records an undo that toggles the flag back.
Args: flag: Flag name, e.g. "noout", "noscrub", "nobackfill", "norecover". enable: True to set the flag, False to clear it. target: Ceph target name from config; omit for the default.
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": {
"flag": "<flag>"
},
"name": "cluster_flag_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | ||
| enable | No | ||
| target | No |