Skip to content

trace

Trace where knowledge came from and how it evolved.

{
"tool": "trace",
"arguments": {
"node_id": "node_abc123"
}
}
ParameterTypeRequiredDescription
node_idstringYesNode to trace
depthintNoHow far to follow (default: 3)
directionstringNobackward (default), forward, or both

Trace origins:

{
"tool": "trace",
"arguments": {
"node_id": "node_belief_xyz",
"direction": "backward"
}
}

Trace impact:

{
"tool": "trace",
"arguments": {
"node_id": "node_old_fact",
"direction": "forward"
}
}

Returns provenance chain:

{
"node": { "id": "node_belief", "content": "..." },
"chain": [
{ "relationship": "DERIVED_FROM", "node": { "id": "node_fact_1", "content": "..." } },
{ "relationship": "DERIVED_FROM", "node": { "id": "node_evidence", "content": "..." } }
]
}
RelationshipMeaning
DERIVED_FROMThis came from that source
EXTRACTED_FROMExtracted from document
SUPERSEDESThis replaces that
PROMOTED_FROMClaim promoted to fact
SUPPORTSEvidence supports claim
  • Understanding why you believe something
  • Verifying the source of information
  • Finding what superseded old information
  • Auditing the evolution of knowledge