MCP 2025-06-18

memory_correct

Correct durable memory while preserving and superseding its prior version.

Input schema

This schema is shared with tools/list. The server also verifies current scopes and resource-level access before returning data or changing a record.

Synthetic example · JSON
{
  "type": "object",
  "properties": {
    "memoryId": {
      "type": "string",
      "description": "Memory ID"
    },
    "expectedVersion": {
      "type": "integer",
      "minimum": 1,
      "description": "Expected current memory revision; stale corrections are rejected"
    },
    "title": {
      "type": "string",
      "description": "Corrected title"
    },
    "content": {
      "type": "string",
      "description": "Corrected durable content"
    },
    "reason": {
      "type": "string",
      "description": "Why the memory changed"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "idempotencyKey": {
      "type": "string",
      "description": "Unique retry key"
    }
  },
  "required": [
    "memoryId",
    "title",
    "content",
    "reason",
    "idempotencyKey"
  ],
  "additionalProperties": false
}

Call this tool

Use the tool name below in params.name. Supply the exact arguments described above; this envelope deliberately leaves required resource values for your authorized context.

Synthetic example · JSON
{
  "jsonrpc": "2.0",
  "id": "example_request",
  "method": "tools/call",
  "params": {
    "name": "memory_correct",
    "arguments": {}
  }
}

Read the result before continuing

Inspect protocol errors and the tool result’s isError flag. A request being accepted is not proof of an external action completing. Preserve correlation IDs and unchanged mutation idempotency keys across safe retries.