cfg_doctor
Performs a read-only preflight before import or commit, reporting secret-deny matches, oversized fields, and key issues with paste-ready secret_fields and ignore_fields snippets; writes nothing.
Instructions
Read-only preflight before import/commit: reports secret-deny matches, oversized fields, and key issues per collection, with paste-ready secret_fields / ignore_fields snippets. Writes nothing.
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": "cfg_doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment name from .cfg.toml (e.g. dev, prod). Selects the target database. | dev |
| author | No | Author attribution hint. Ignored/rejected in authenticated/enforced identity modes where a verified identity is required. | |
| record | No | Optional collection:id to scope to one record; omit for all tracked records. | |
| config_file | No | Omit: the server uses the .cfg.toml it started with. A different path is refused unless the server runs with CFGIT_MCP_ALLOW_CONFIG_OVERRIDE=1. | |
| large_field_bytes | No | Byte threshold above which a field is flagged as oversized. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||