knowledge_search
Search verified knowledge with full-text and meaning-based queries. Returns token-efficient summaries, focusing on working material by default; include reference works when needed.
Instructions
Full-text search across knowledge. Returns summaries (not full content) for token efficiency. Searches Arbeitsbestand only by default; set nachschlagewerk=True to include reference material (germanquad/nasa-llis).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Caller's working directory, for zero-hit-log provenance only; else null | |
| actor | No | Calling agent identity; else BEGOD_KNOWLEDGE_ACTOR or unknown | |
| model | No | Calling model; else BEGOD_KNOWLEDGE_MODEL or unknown | |
| query | Yes | Search query (FTS5 syntax supported: AND, OR, NOT, phrases). Hybrid: fuses keyword matches with local-embedding meaning search when vectors exist. | |
| scope | No | Scope: 'all' or project name | all |
| session | No | Stable session ID; else BEGOD_KNOWLEDGE_SESSION or unknown | |
| stichtag | No | ISO-8601 date/timestamp to check norm validity (gilt_ab/gilt_bis) against; default now. Expired or not-yet-effective norms rank last and are marked, never hidden (unless nur_geltende=True). Facts (norm_rang unset) are unaffected. | |
| max_results | No | Max results (default 10) | |
| erstellt_bis | No | ISO-8601 date; only nodes created on or before this date are returned (inclusive, day granularity). See erstellt_von. | |
| erstellt_von | No | ISO-8601 date; only nodes CREATED (created_at) on or after this date are returned (inclusive, day granularity). Different question from stichtag/nur_geltende, which check legal validity, not creation time. Lessons have no decided 'created' field and are dropped entirely when this or erstellt_bis is set; the dropped count is reported as lehren_uebersprungen_zeitfilter. | |
| nur_geltende | No | Drop expired/not-yet-effective norms instead of ranking them last. Default False. | |
| nachschlagewerk | No | Default False: only Arbeitsbestand nodes (gattung != 'nachschlagewerk') are searched -- reference material like germanquad/nasa-llis (85% of all nodes) is excluded by default because it is never the target of a question, only looked up. Set True to explicitly search reference material too. |