get_config
Read a secret-free, allowlisted view of Backrest configuration—including repos, plans, and auth—so you can inspect settings without exposing passwords, env values, flags, or hook commands.
Instructions
Read a secret-free view of the Backrest configuration (repos, plans, auth).
Returns an allowlist projection, not the raw config:
top level: modno, version, instance
repos: id, guid, uri (user:password@ and query removed; fully redacted if ambiguous), autoUnlock, autoInitialize, shared, originInstanceId, prune/check/forget policies, commandPrefix, envKeys (variable names only), hasPassword (bool), flagCount (int), hooks
plans: id, repo, paths, excludes, iexcludes, schedule, retention, skipIfUnchanged, backupFlagCount (int), hooks
hooks: conditions, onError, and action (the action type name only)
auth: disabled, and user names
Never included: repo passwords, env values, restic flags, hook commands and targets (webhook URLs, tokens), user password hashes, the multihost sync block (identity, pairing secrets), or any field not listed above.
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": "get_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||