Skip to content
Docs menu

Tool reference · Edit, history & reports

memory_history

Shows the chain of versions for a record, newest first, created by updates and supersedes.

local stdio server read-only

When to use

  • You want to see what a fact or decision said before it was updated.
  • You need to know when a value changed and which record replaced it.

Parameters

NameTypeDefaultDescription
idrequired integer — Knowledge record ID to get history for

Example

Arguments

{
  "id": 1851
}

Result shape

{
  "record_id": 1851,
  "total_versions": 2,
  "versions": [
    {
      "id": 1851,
      "content": "Staging database runs on port 6432 behind PgBouncer…",
      "status": "active",
      "created_at": "2026-09-24T09:00:00Z",
      "superseded_by": null,
      "tags": [
        "database",
        "config"
      ],
      "version": 1
    },
    {
      "id": 1843,
      "content": "Staging database runs on port 5433…",
      "status": "superseded",
      "created_at": "2026-09-20T10:20:11Z",
      "superseded_by": 1851,
      "tags": [
        "database",
        "config"
      ],
      "version": 2
    }
  ]
}

Content is cut to 300 characters per version.

Values are illustrative; the keys follow the server's handler. MCP clients receive the result as JSON text content.

Server description

The description the server sends to your agent in tools/list, captured from the v14.7.0 source:

View version history for a knowledge record. Shows the chain of superseded versions (newest → oldest), enabling time-travel through knowledge evolution.

Found a mistake? Open an issue on GitHub.

Search