Skip to main content

Module tools

Module tools 

Source
Expand description

The engine tools the agent may call — pure read primitives over a loaded Corpus. The agent plans a question into IKL probes; retrieval is the reasoning (roaring set-algebra), so these three tools (discover schema, discover a facet’s vocabulary, run an IKL query) are enough to answer.

Constants§

SYSTEM_PROMPT

Functions§

engine_tools
Build the engine tool specs. facets = the corpus’s real facet names (empty = none known yet); when present they bound the run_workflow facet slots to real values.
exec_tool
Execute a tool call against the corpus. Returns (json_string, is_error).