(Re)build KB index
gkb_indexExtracts metadata from knowledge .md files into a JSONL index. Cleans titles by skipping markdown noise and AI-conversation openers, preferring the first real heading.
Instructions
Extract metadata from knowledge .md files (GKB_KB_DIR) into gkb_index.jsonl (GKB_INDEX_PATH). v7: clean title extraction — skips markdown noise and AI-conversation openers, prefers the first real heading. The only tool that writes by default; degrades to in-memory with a warning if the index path is not writable.
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": "gkb_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||