run_doctor
Check whether the machine the server runs on can run agents.
read-onlyidempotentMCP toolDoctor
The checks cover tmux, the config, the CLIs, hooks, worktree directories and the database.
Calling it#
curl -X POST http://127.0.0.1:8787/komrad.doctor.v1.DoctorService/RunDoctor \
-H 'Content-Type: application/json' \
-d '{}'komrad rpc run-doctor{
"name": "run_doctor",
"arguments": {}
}Offered by the komrad MCP server to orchestrator agents.
Request#
Empty#
No fields.
Response#
RunDoctorResponse#
Types#
Finding#
Finding is the result of one doctor check.
| Field | Type | Description |
|---|---|---|
name | string | The check's name, such as |
description | string | What the check is for, in one sentence. |
status | Status | How the check came out. |
detail | string | What the check found, such as a version or a path. Empty when there is nothing to report. |
code | string | A stable code for the problem, such as |
error | string | The problem, as the check worded it. Empty when nothing went wrong. |
fix | string | What to do about the problem. Empty when there is nothing to do. |
Summary#
Summary counts the findings of a doctor run by status.
Status#
Status is how a doctor check came out.