Skip to content

learn

Store verifiable claims with their evidence. Facts in Knowledge persist until superseded.

{
"tool": "learn",
"arguments": {
"claim": "API rate limit is 100 requests/minute",
"evidence": "https://docs.example.com/limits"
}
}
ParameterTypeRequiredDescription
claimstringYesThe factual claim
evidencestringYesSource URL or reference
confidencefloatNoConfidence score 0-1 (default: 0.8)
tagsstring[]NoTags for organization
supersedesstringNoNode ID this claim replaces

Basic fact:

{
"tool": "learn",
"arguments": {
"claim": "OAuth tokens expire after 1 hour",
"evidence": "https://docs.example.com/auth#expiry",
"confidence": 0.95
}
}

Updating a fact:

{
"tool": "learn",
"arguments": {
"claim": "OAuth tokens now expire after 2 hours",
"evidence": "https://docs.example.com/changelog#v2",
"confidence": 0.95,
"supersedes": "node_old_expiry_fact"
}
}
  • Verifiable information from documentation
  • API behaviors confirmed by testing
  • Configuration values from official sources
  • Anything you’d need to cite
  • Observations without sources (use remember)
  • Opinions or preferences (use remember)
  • Conclusions from multiple facts (use believe)