Read KB content
gkb_read_kb_contentRetrieve full content from knowledge base files by filename or record ID, with line offset and limit controls for targeted reading.
Instructions
Read full content from a KB file — v6 contract preserved: {filename, offset, limit} line-based → {content, total_lines, has_more}. v7: filename also accepts a record id (e.g. LEX-002); path resolves via GKB_SEO_ROOT/KB or GKB_KB_DIR (v6 hardcoded __dirname/KB and ignored the env root).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of lines to read (default 1000) | |
| offset | No | Start line (default 0) | |
| filename | Yes | KB filename (e.g. "forbidden_ai_words.md") or record id (e.g. "LEX-002") |