graph_health_check
Verify the health of the GraphRAG layer by checking required tables and indexes, and optionally return row counts.
Instructions
检查 GraphRAG 层健康状态
验证 M2 GraphRAG 所需的表和索引是否存在,并返回统计信息。
Args: include_counts: 是否包含各表的行数统计,默认 True
Returns: 健康状态信息,包含: - ok: 整体状态是否正常 - db_ok: 数据库连接状态 - tables_ok: 必要表是否存在 - indexes_ok: 必要索引是否存在 - counts: 各表行数(可选)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_counts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||