Package ai.chatur.cortex.spring.ingest
Class IngestTools
java.lang.Object
ai.chatur.cortex.spring.ingest.IngestTools
MCP tool that lets AI agents ingest assertions into the knowledge graph, staged on a branch for
human review.
Review is the default and the point: ingestion only ever stages. An agent may ask to skip it
with autoApprove, but that is not the agent's decision to make alone — the tool asks the
human through MCP elicitation and approves only on an explicit yes, so the parameter buys the
agent a prompt, never a merge.
-
Constructor Summary
ConstructorsConstructorDescriptionIngestTools(ai.chatur.cortex.CortexIngestor cortex, ai.chatur.cortex.CortexBranches branches) Creates the tool. -
Method Summary
-
Constructor Details
-
IngestTools
public IngestTools(ai.chatur.cortex.CortexIngestor cortex, ai.chatur.cortex.CortexBranches branches) Creates the tool.- Parameters:
cortex- the ingestor role used to ingest assertionsbranches- the branch role used to approve a branch the human confirmed
-