Get the knowledge base status
rhebok_get_statusCheck index status to distinguish an empty, stale, or building knowledge base from a real search miss. Reports counts, pending embeddings, unreadable files, last publish time, and config issues.
Instructions
Get the state of the user's rhebok knowledge base: document and section counts, sections waiting for an embedding, the embedding model, when the index was last published, whether an index run is in progress, the sources, the files the index could not read and why, saved memories by kind, and config problems.
Use it when a search finds nothing you expected, to tell an empty, stale or still-building index from a real no-match; before rhebok_update_index, to see whether a run is already going; or when the user asks what rhebok holds. It lists no documents or memories: use rhebok_search_knowledge and rhebok_list_memories for those.
Parameters: skipped_limit caps the list of unreadable files at 20 by default. Raise it, up to 200, when skipped_total is larger and you need every file, for example to explain why a folder is missing; set it to 0 when only the counts matter.
Behavior: it reads only local files and makes no network call, so it cannot tell whether the embedding server is up; a failing search reports that. During an index run it answers from the index that is live.
Returns: documents 0 with last_indexed null means nothing is indexed yet. vectors_pending above 0 means search by meaning misses those sections until a backfill embeds them. When the index cannot be read, error says why and the counts read 0.
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": "rhebok_get_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skipped_limit | No | How many skipped files to list: 0 to 200. The default is 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | Why the index could not be read, and what to do. The counts read 0 when this is set. Null on every normal answer, an empty index included. | |
| model | Yes | The embedding model the index was built with. Null when nothing is indexed. | |
| chunks | Yes | Sections in the index, across every document. | |
| skipped | Yes | Files the last index run could not read, with the reason: at most `skipped_limit` of them, 20 by default. Files the user chose to ignore are not listed. | |
| sources | Yes | The folders and files the user configured as sources, as absolute paths. | |
| version | Yes | The version of rhebok that answered. | |
| indexing | Yes | True while an index run or a backfill is in progress. Search answers from the previous index until it finishes. | |
| memories | Yes | Saved memories by kind ("lesson", "fact", "episode"). Empty when memory is disabled or nothing is saved. | |
| sessions | Yes | True when past agent sessions are indexed beside the sources. | |
| documents | Yes | Documents in the index. | |
| last_indexed | Yes | When the index in use was published, in Unix seconds. Null when nothing is indexed yet. | |
| skipped_total | Yes | How many files the last index run could not read, the ones not listed included. | |
| config_problems | Yes | Problems in the config file. The hook ignores a setting it cannot read, so each one is a setting that is not in effect. | |
| vectors_pending | Yes | Sections not embedded yet. Keyword search finds them; search by meaning does not until they are embedded. |