syncthing_db
Inspect Syncthing folder and device database status, pending needs, file metadata, errors, completion, and statistics; trigger a gated folder scan only with confirmation.
Instructions
Folder status, need, file metadata, errors, completion, scan, and folder/device statistics. scan is a write. Writes run only when confirm is true and SYNCTHING_ALLOW_WRITES=true. Actions: status, need, file, errors, completion, scan, folder_stats, device_stats.
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": {
"action": "<action>"
},
"name": "syncthing_db"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sub | No | Optional sub path for scan. Empty string is sent when set. | |
| file | No | Relative file path for db file metadata. | |
| page | No | ||
| delay | No | Scan delay in seconds. Zero is sent when set. | |
| action | Yes | Syncthing operation to call. | |
| device | No | Device id query for pause, resume, pending folders, and completion. | |
| folder | No | Folder id query for db status, need, file, errors, completion, and scan. | |
| confirm | No | Boolean true runs the write when SYNCTHING_ALLOW_WRITES is true. Omit it or pass false for a dry-run preview that sends nothing. The string true is rejected. | |
| perpage | No |