health_check
Return a structured JSON snapshot for monitoring server health and readiness, including database status, schema version, and lessons count.
Instructions
Return a structured JSON snapshot for monitoring.
Fields: ok boolean — always true if the store could be opened schema_version stored schema_version current_schema version this code expects wal_mode WAL / journal-mode status db_path absolute path to the SQLite file db_size_bytes file size on disk lessons_total row count in the lessons table conventions_path where AGENTS.md lives conventions_writable bool — whether AGENTS.md can be appended to
Use this for liveness/readiness checks, not for hot-path validation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||