run_doctor
Diagnose deployment health via self-checks covering Vault token expiry, secrets, model loading, disk/staging, version skew, and optional AI probes; failed checks include remediation steps.
Instructions
Run the platform's operational self-check and return a report: Vault token expiry, AI slot secrets complete, embedding model actually loaded, disk usage, the payload staging area (writable, room for one run, no orphaned run directories), component version skew, and (opt-in) whether each AI model answers. Each non-ok check carries a remediation command for the operator; nothing is changed. Do NOT call run_doctor as part of the normal workflow — it is slow. Only use it for diagnostics when something fails or the user asks about the deployment's health. Host-level checks (Docker volumes, container env drift) need datris doctor on the machine running Docker and are not included here.
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": "run_doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | `full` (default) or `quick` (only the cheap startup-safe subset). | |
| include_ai_probes | No | Also send a minimal request through each configured AI slot to confirm the key and model work (spends a few tokens). Default false. |