syncthing_config
Retrieve redacted Syncthing configuration, inspect restart requirements and options, and merge option patches when writes are confirmed.
Instructions
Read the full config (GUI secrets redacted), restart-required flag, and options. patch_options merges a JSON object into options. Writes run only when confirm is true and SYNCTHING_ALLOW_WRITES=true. Actions: get, restart_required, options, patch_options.
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_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Syncthing operation to call. | |
| 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. | |
| document | No | JSON object for add, patch, and patch_options. Official collection PUT routes that expect arrays are excluded; POST add takes one object. |