doctor
Diagnoses the AQUA config file for orphaned or unknown tool keys and unknown top-level keys, and optionally repairs them with fix=true to resolve startup warnings.
Instructions
Diagnose (and optionally repair) the AQUA config file (~/.aqua/config.json): reports orphaned/unknown tool keys (the source of the 'Unknown tool in enabled_tools' startup warnings), entries that match the shipped default (prunable to keep the config sparse), and unknown top-level keys (ignored at load until removed). Read-only by default; pass fix=true to apply repairs. Note: the running server reads its tool-gating config once at startup, so any gating change from a fix takes effect on the next server restart.
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": "doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | If true, apply repairs: remove orphan tool keys, prune entries matching the shipped default, and drop unknown top-level keys. Default false = diagnose only. |