Class IngestTools

java.lang.Object
ai.chatur.cortex.spring.ingest.IngestTools

public class IngestTools extends Object
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 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 assertions
      branches - the branch role used to approve a branch the human confirmed