{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentage-io/json-schema/agentage-io-patch-v1-memories-memory-notes-path-request-schema.json",
  "title": "PatchV1MemoriesMemoryNotesPathRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/agentage-io-openapi-generated.yml#/components/schemas/PatchV1MemoriesMemoryNotesPathRequest",
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "description": "replace | append | str_replace. Default replace."
    },
    "body": {
      "type": "string",
      "description": "New or appended content."
    },
    "frontmatter": {
      "type": "object",
      "description": "Shallow-merged; cannot remove a key."
    },
    "old_str": {
      "type": "string",
      "description": "Required for str_replace; must match exactly one place."
    },
    "new_str": {
      "type": "string",
      "description": "Omit to delete old_str."
    }
  }
}