sync
Flush cached filesystem writes to persistent storage to ensure data durability before critical operations like system shutdown.
Instructions
Flush cached filesystem writes to persistent storage where supported. Read-only in interface but causes I/O: forces dirty buffers to disk. Returns JSON with sync status. Use to ensure data durability before critical operations like system shutdown. Not for general use before every file operation — most commands flush on close. See also 'dd'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Report without syncing. |