{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.memrynote.com/agent-api/memry-agent-api.schema.json",
  "title": "Memry agent API",
  "description": "The arguments of every Memry MCP tool and every desktop API operation, for agents. Each $defs entry named vault_* is the `arguments` object of that tools/call. Each other entry is the `args` array that vault_desktop_read or vault_desktop_write (x-memry-tool) takes for that operation. Human-readable page: https://docs.memrynote.com/user-guide/ai/agent-api-reference",
  "x-memry-app-version": "2026.928.1+main",
  "x-memry-endpoint": "http://127.0.0.1:<port>/mcp",
  "$defs": {
    "vault_search_notes": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "minLength": 1
        },
        "limit": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 50
        },
        "folder_id": {
          "type": "string",
          "minLength": 1
        },
        "file_types": {
          "minItems": 1,
          "type": "array",
          "items": {
            "type": "string",
            "enum": ["markdown", "pdf", "image", "audio", "video"]
          }
        }
      },
      "required": ["query"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Full-text search across notes and filed files; returns id, title, snippet, folder_path, file_type. A file_type other than \"markdown\" (pdf/image/audio/video) is a filed file, not a note. PDFs and images match on the text read out of them on this device, and a note matches on the visible text of the HTML blocks it embeds. Pass file_types to restrict the search, e.g. [\"markdown\"] for notes only; omitted returns every file type.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "query": "relaunch",
          "limit": 5
        },
        "reply": [
          {
            "id": "<noteId>",
            "title": "Website relaunch plan",
            "snippet": "# Website <mark>relaunch</mark> plan\n\nSecond draft.\n\n## Goals\n\n- Faster pages\n- Clearer pricing\n\nSee [[Launch checklist]].\n",
            "folder_path": "Projects",
            "file_type": "markdown",
            "href": "memry://note/<noteId>",
            "source_ref": {
              "kind": "note",
              "id": "<noteId>",
              "title": "Website relaunch plan",
              "href": "memry://note/<noteId>"
            }
          }
        ]
      }
    },
    "vault_read_note": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "from_page": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Read a markdown note by id; returns full markdown content + metadata. For a filed pdf or image, returns extracted_text instead: the text read on this device (the PDF text layer, else OCR), one entry per page, with status \"extracting\" | \"done\" | \"failed\", page_count and pages_read. Pages come in chunks of about 100 KB; pass next_page as from_page to continue. A markdown note that embeds PDFs, images or HTML blocks adds attachment_text, the text read from each ({ file, text }; the visible text for an HTML block), about 100 KB at most. Errors with VALIDATION for a filed audio or video file. To look at an image or a PDF page, use vault_view_file.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "id": "<noteId>"
        },
        "reply": {
          "id": "<noteId>",
          "title": "Website relaunch plan",
          "content_markdown": "# Website relaunch plan\n\nSecond draft.\n\n## Goals\n\n- Faster pages\n- Clearer pricing\n\nSee [[Launch checklist]].\n",
          "tags": ["website", "planning"],
          "folder_path": "Projects",
          "frontmatter": {
            "tags": ["website", "planning"],
            "stage": "idea",
            "project": ["Website relaunch"]
          },
          "file_type": "markdown",
          "href": "memry://note/<noteId>",
          "source_ref": {
            "kind": "note",
            "id": "<noteId>",
            "title": "Website relaunch plan",
            "href": "memry://note/<noteId>"
          },
          "sources": [
            {
              "kind": "note",
              "id": "<noteId>",
              "title": "Website relaunch plan",
              "href": "memry://note/<noteId>"
            }
          ]
        }
      }
    },
    "vault_view_file": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "attachment": {
          "type": "string",
          "minLength": 1
        },
        "page": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Look at an image, or one page of a PDF, from the vault. Returns the picture as image content (PNG, or JPEG when large) with its long edge at most 1568 px, plus JSON that says what was sent: file, width and height, the source size for an image, and page and page_count for a PDF. Pass the id of a filed image or PDF (file_type \"image\" or \"pdf\"); page picks the PDF page, default 1, one page per call. For an image or PDF a markdown note embeds, pass the note id and the file name as attachment: the name after attachments/<note id>/ in the note, or attachment_text[].file from vault_read_note. A model that cannot take images gets a text notice instead of the picture.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "id": "<noteId>",
          "attachment": "<attachmentName>"
        },
        "reply": {
          "json": {
            "id": "<noteId>",
            "title": "Website relaunch plan",
            "attachment": "<attachmentName>",
            "file": "attachments/<noteId>/<attachmentName>",
            "file_type": "image",
            "mime_type": "image/png",
            "width": 48,
            "height": 48,
            "source_width": 48,
            "source_height": 48,
            "message": "The image follows as image content at 48 x 48 px.",
            "href": "memry://note/<noteId>",
            "source_ref": {
              "kind": "note",
              "id": "<noteId>",
              "title": "Website relaunch plan",
              "href": "memry://note/<noteId>"
            },
            "sources": [
              {
                "kind": "note",
                "id": "<noteId>",
                "title": "Website relaunch plan",
                "href": "memry://note/<noteId>"
              }
            ]
          },
          "image": {
            "type": "image",
            "mimeType": "image/png",
            "data": "<4620 bytes of base64>"
          }
        }
      }
    },
    "vault_list_folder": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string"
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "recursive": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "List the sub-folders and notes in a folder, addressed by path (as returned in folder_path/path fields); omit path for the vault root. Paths are vault-relative with no leading slash (\"projects/active\"); a leading slash is also accepted. A folder that does not exist fails with NOT_FOUND. recursive includes every nested level instead of direct children only. Returns at most 1000 notes. Each note entry carries file_type; a filed pdf/image/audio/video file lists as kind \"file\", not \"note\".",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "path": "Projects"
        },
        "reply": [
          {
            "kind": "note",
            "id": "<noteId>",
            "name": "Website relaunch plan",
            "path": "Projects/Website relaunch plan.md",
            "file_type": "markdown",
            "href": "memry://note/<noteId>",
            "source_ref": {
              "kind": "note",
              "id": "<noteId>",
              "title": "Website relaunch plan",
              "href": "memry://note/<noteId>"
            }
          },
          {
            "kind": "file",
            "id": "<fileId>",
            "name": "report",
            "path": "Projects/report.pdf",
            "file_type": "pdf",
            "href": "memry://note/<fileId>",
            "source_ref": {
              "kind": "note",
              "id": "<fileId>",
              "title": "report",
              "href": "memry://note/<fileId>"
            }
          },
          {
            "kind": "note",
            "id": "<deleteNote2Id>",
            "name": "Scratch 2",
            "path": "Projects/Scratch 2.md",
            "file_type": "markdown",
            "href": "memry://note/<deleteNote2Id>",
            "source_ref": {
              "kind": "note",
              "id": "<deleteNote2Id>",
              "title": "Scratch 2",
              "href": "memry://note/<deleteNote2Id>"
            }
          }
        ]
      }
    },
    "vault_get_current_note": {
      "type": "object",
      "properties": {},
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Return the note currently open in the originating renderer window, or null.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {},
        "reply": null
      }
    },
    "vault_list_tasks": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string"
        },
        "project_id": {
          "type": "string",
          "minLength": 1
        },
        "due_before": {
          "type": "string"
        },
        "tag": {
          "type": "string"
        },
        "limit": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 200
        }
      },
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "List tasks, optionally filtered. status is \"open\" (not completed), \"completed\", or a status id from vault_list_statuses; omitted, completed tasks are excluded. due_before is an ISO date; tag matches one tag name. Returns id, title, status label, due, project id, and tags.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "status": "open",
          "project_id": "<projectId>",
          "limit": 5
        },
        "reply": [
          {
            "id": "<taskId>",
            "title": "Write landing page copy",
            "status": "open",
            "due": "2026-10-09",
            "project": "<projectId>",
            "tags": ["website"],
            "href": "memry://task/<taskId>",
            "source_ref": {
              "kind": "task",
              "id": "<taskId>",
              "title": "Write landing page copy",
              "href": "memry://task/<taskId>"
            }
          },
          {
            "id": "ztuhBvw-P3_1skGUZE4Xv",
            "title": "Draft the hero headline",
            "status": "open",
            "due": null,
            "project": "<projectId>",
            "tags": [],
            "href": "memry://task/ztuhBvw-P3_1skGUZE4Xv",
            "source_ref": {
              "kind": "task",
              "id": "ztuhBvw-P3_1skGUZE4Xv",
              "title": "Draft the hero headline",
              "href": "memry://task/ztuhBvw-P3_1skGUZE4Xv"
            }
          },
          {
            "id": "<task2Id>",
            "title": "Review the new design",
            "status": "open",
            "due": "2026-10-07",
            "project": "<projectId>",
            "tags": [],
            "href": "memry://task/<task2Id>",
            "source_ref": {
              "kind": "task",
              "id": "<task2Id>",
              "title": "Review the new design",
              "href": "memry://task/<task2Id>"
            }
          }
        ]
      }
    },
    "vault_get_task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Read a task by id.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "id": "<taskId>"
        },
        "reply": {
          "id": "<taskId>",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Write landing page copy",
          "description": null,
          "priority": 2,
          "position": 0,
          "dueDate": "2026-10-09",
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 1
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {},
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {}
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.637Z",
          "modifiedAt": "2026-10-07T11:17:25.637Z",
          "isRepeating": false,
          "tags": ["website"],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": true,
          "subtaskCount": 1,
          "completedSubtaskCount": 0,
          "href": "memry://task/<taskId>",
          "source_ref": {
            "kind": "task",
            "id": "<taskId>",
            "title": "Write landing page copy",
            "href": "memry://task/<taskId>"
          },
          "sources": [
            {
              "kind": "task",
              "id": "<taskId>",
              "title": "Write landing page copy",
              "href": "memry://task/<taskId>"
            }
          ]
        }
      }
    },
    "vault_list_projects": {
      "type": "object",
      "properties": {},
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "List all projects with task counts and linked note/file/event counts.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {},
        "reply": [
          {
            "id": "inbox",
            "name": "Inbox",
            "status": "active",
            "task_count": 0,
            "icon": "📥",
            "home_note_id": null,
            "linked_counts": {
              "notes": 0,
              "files": 0,
              "events": 0
            },
            "href": "memry://project/inbox",
            "source_ref": {
              "kind": "project",
              "id": "inbox",
              "title": "Inbox",
              "href": "memry://project/inbox",
              "icon": "📥"
            }
          },
          {
            "id": "<projectId>",
            "name": "Website relaunch",
            "status": "active",
            "task_count": 9,
            "icon": null,
            "home_note_id": null,
            "linked_counts": {
              "notes": 1,
              "files": 0,
              "events": 0
            },
            "href": "memry://project/<projectId>",
            "source_ref": {
              "kind": "project",
              "id": "<projectId>",
              "title": "Website relaunch",
              "href": "memry://project/<projectId>"
            }
          },
          {
            "id": "<project2Id>",
            "name": "Autumn hiring",
            "status": "active",
            "task_count": 0,
            "icon": null,
            "home_note_id": null,
            "linked_counts": {
              "notes": 0,
              "files": 0,
              "events": 0
            },
            "href": "memry://project/<project2Id>",
            "source_ref": {
              "kind": "project",
              "id": "<project2Id>",
              "title": "Autumn hiring",
              "href": "memry://project/<project2Id>"
            }
          }
        ]
      }
    },
    "vault_get_project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Read a project by id.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "id": "<projectId>"
        },
        "reply": {
          "id": "<projectId>",
          "name": "Website relaunch",
          "description": null,
          "color": "#6366f1",
          "icon": null,
          "position": 1,
          "isInbox": false,
          "createdAt": "2026-10-07T11:17:25.610Z",
          "modifiedAt": "2026-10-07T11:17:25.610Z",
          "archivedAt": null,
          "homeNoteId": null,
          "clock": {
            "_offline": 4
          },
          "fieldClocks": {
            "name": {
              "_offline": 1
            },
            "description": {
              "_offline": 1
            },
            "color": {
              "_offline": 1
            },
            "icon": {
              "_offline": 1
            },
            "position": {
              "_offline": 1
            },
            "isInbox": {
              "_offline": 1
            },
            "archivedAt": {
              "_offline": 1
            },
            "modifiedAt": {
              "_offline": 1
            },
            "homeNoteId": {
              "_offline": 1
            }
          },
          "syncedAt": null,
          "statuses": [
            {
              "id": "<statusTodoId>",
              "projectId": "<projectId>",
              "name": "To Do",
              "color": "#6b7280",
              "position": 0,
              "isDefault": true,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.610Z"
            },
            {
              "id": "<statusDoingId>",
              "projectId": "<projectId>",
              "name": "In Progress",
              "color": "#F59E0B",
              "position": 1,
              "isDefault": false,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.610Z"
            },
            {
              "id": "<projectId>-done",
              "projectId": "<projectId>",
              "name": "Done",
              "color": "#22c55e",
              "position": 2,
              "isDefault": false,
              "isDone": true,
              "createdAt": "2026-10-07T11:17:25.610Z"
            }
          ],
          "href": "memry://project/<projectId>",
          "source_ref": {
            "kind": "project",
            "id": "<projectId>",
            "title": "Website relaunch",
            "href": "memry://project/<projectId>"
          },
          "sources": [
            {
              "kind": "project",
              "id": "<projectId>",
              "title": "Website relaunch",
              "href": "memry://project/<projectId>"
            }
          ]
        }
      }
    },
    "vault_list_statuses": {
      "type": "object",
      "properties": {
        "project_id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["project_id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "List statuses for a project.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "project_id": "<projectId>"
        },
        "reply": [
          {
            "id": "<statusTodoId>",
            "projectId": "<projectId>",
            "name": "To Do",
            "color": "#6b7280",
            "position": 0,
            "isDefault": true,
            "isDone": false,
            "createdAt": "2026-10-07T11:17:25.610Z"
          },
          {
            "id": "<statusDoingId>",
            "projectId": "<projectId>",
            "name": "In Progress",
            "color": "#F59E0B",
            "position": 1,
            "isDefault": false,
            "isDone": false,
            "createdAt": "2026-10-07T11:17:25.610Z"
          },
          {
            "id": "<projectId>-done",
            "projectId": "<projectId>",
            "name": "Done",
            "color": "#22c55e",
            "position": 2,
            "isDefault": false,
            "isDone": true,
            "createdAt": "2026-10-07T11:17:25.610Z"
          }
        ]
      }
    },
    "vault_get_journal_entry": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      },
      "required": ["date"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Return the journal entry for an ISO date or null.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "date": "2026-10-05"
        },
        "reply": {
          "id": "j2026-10-05",
          "date": "2026-10-05",
          "content_markdown": "Kicked off the relaunch.",
          "sources": [
            {
              "kind": "journal",
              "id": "2026-10-05",
              "title": "Journal 2026-10-05",
              "href": "memry://journal/2026-10-05"
            }
          ]
        }
      }
    },
    "vault_list_journal_entries": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "to": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      },
      "required": ["from", "to"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "List journal entry summaries within a date range (inclusive).",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "from": "2026-10-01",
          "to": "2026-10-31"
        },
        "reply": [
          {
            "id": "j2026-10-06",
            "date": "2026-10-06",
            "title": "2026-10-06"
          },
          {
            "id": "j2026-10-05",
            "date": "2026-10-05",
            "title": "2026-10-05"
          }
        ]
      }
    },
    "vault_list_inbox_items": {
      "type": "object",
      "properties": {
        "unread_only": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "List inbox items (unread first by default).",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "unread_only": false
        },
        "reply": [
          {
            "id": "<voiceInboxId>",
            "type": "voice",
            "source": "voice",
            "title": "Voice memo (0:01)",
            "snippet": "",
            "captured_at": 1791371845946,
            "href": "memry://inbox/<voiceInboxId>",
            "source_ref": {
              "kind": "inbox",
              "id": "<voiceInboxId>",
              "title": "Voice memo (0:01)",
              "href": "memry://inbox/<voiceInboxId>",
              "itemType": "voice"
            }
          },
          {
            "id": "<linkInboxId>",
            "type": "link",
            "source": "https://example.com/pricing",
            "title": "Pricing",
            "snippet": "",
            "captured_at": 1791371845922,
            "href": "memry://inbox/<linkInboxId>",
            "source_ref": {
              "kind": "inbox",
              "id": "<linkInboxId>",
              "title": "Pricing",
              "href": "memry://inbox/<linkInboxId>",
              "itemType": "link"
            }
          },
          {
            "id": "<inbox15Id>",
            "type": "note",
            "source": "note",
            "title": "Idea 15",
            "snippet": "Idea 15: follow up on the launch",
            "captured_at": 1791371845900,
            "href": "memry://inbox/<inbox15Id>",
            "source_ref": {
              "kind": "inbox",
              "id": "<inbox15Id>",
              "title": "Idea 15",
              "href": "memry://inbox/<inbox15Id>",
              "itemType": "note"
            }
          }
        ]
      }
    },
    "vault_get_inbox_item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Read an inbox item by id.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "id": "<inboxId>"
        },
        "reply": {
          "id": "<inboxId>",
          "type": "note",
          "title": "Printer",
          "content": "Call the printer about flyers",
          "createdAt": "2026-10-07T11:17:25.759Z",
          "modifiedAt": "2026-10-07T11:17:25.759Z",
          "filedAt": null,
          "filedTo": null,
          "filedAction": null,
          "snoozedUntil": null,
          "snoozeReason": null,
          "viewedAt": null,
          "archivedAt": null,
          "processingStatus": "complete",
          "processingError": null,
          "metadata": null,
          "attachmentPath": null,
          "attachmentUrl": null,
          "thumbnailPath": null,
          "thumbnailUrl": null,
          "transcription": null,
          "transcriptionStatus": null,
          "sourceUrl": null,
          "sourceTitle": null,
          "captureSource": null,
          "tags": [],
          "isStale": false,
          "href": "memry://inbox/<inboxId>",
          "source_ref": {
            "kind": "inbox",
            "id": "<inboxId>",
            "title": "Printer",
            "href": "memry://inbox/<inboxId>",
            "itemType": "note"
          },
          "sources": [
            {
              "kind": "inbox",
              "id": "<inboxId>",
              "title": "Printer",
              "href": "memry://inbox/<inboxId>",
              "itemType": "note"
            }
          ]
        }
      }
    },
    "vault_get_tags": {
      "type": "object",
      "properties": {},
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "List all tags with usage counts, color, icon, sort order, and the tag category they belong to (category_id and category_name, both null when uncategorized).",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {},
        "reply": [
          {
            "name": "website",
            "count": 3,
            "color": "violet",
            "icon": null,
            "category_id": null,
            "category_name": null,
            "sort_order": 0
          },
          {
            "name": "planning",
            "count": 2,
            "color": "indigo",
            "icon": null,
            "category_id": null,
            "category_name": null,
            "sort_order": 0
          },
          {
            "name": "active",
            "count": 1,
            "color": "pink",
            "icon": null,
            "category_id": null,
            "category_name": null,
            "sort_order": 0
          }
        ]
      }
    },
    "vault_list_canvases": {
      "type": "object",
      "properties": {},
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "List spatial canvases with how many notes/tasks/events sit on each. Canvases live in folders, so two can share a title — each entry carries its folder and the folder-qualified path (\"Work/Plan\") that names it unambiguously. Never returns scene geometry.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {},
        "reply": [
          {
            "id": "<deleteCanvasId>",
            "title": "Scratch board",
            "folder": null,
            "path": "Scratch board",
            "updated_at": 1791371846105,
            "item_count": 0
          },
          {
            "id": "<canvasId>",
            "title": "Launch board",
            "folder": null,
            "path": "Launch board",
            "updated_at": 1791371846095,
            "item_count": 0
          }
        ]
      }
    },
    "vault_read_canvas": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Read one canvas: title, the entities on it (with titles), and any text written on it. Takes the canvas id or its folder-qualified name (\"Work/Plan\") from vault_list_canvases; a bare title matching more than one canvas is refused with the candidates listed. Returns no scene geometry — use vault_add_canvas_item to change what is on it.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "id": "<canvasId>"
        },
        "reply": {
          "id": "<canvasId>",
          "title": "Launch board",
          "created_at": 1791371846095,
          "updated_at": 1791371846095,
          "items": [],
          "texts": [],
          "element_count": 0,
          "texts_truncated": false
        }
      }
    },
    "vault_read_canvas_elements": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Read the SHAPES on a canvas: every element with its id, type, position, size, text, colors, arrow bindings and frame. This is the read to use before drawing — an element id from here is what vault_draw_on_canvas binds an arrow to and what vault_edit_canvas_elements changes. Cards carry entity_type/entity_id. Takes the canvas id or its folder-qualified name (\"Work/Plan\") from vault_list_canvases; a bare title matching more than one canvas is refused with the candidates listed. Use vault_read_canvas instead when you only need to know WHICH notes/tasks/events are on it.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "id": "<canvasId>"
        },
        "reply": {
          "canvas_id": "<canvasId>",
          "elements": [],
          "element_count": 0,
          "truncated": false
        }
      }
    },
    "vault_desktop_read": {
      "type": "object",
      "properties": {
        "operation": {
          "type": "string",
          "enum": [
            "notes.get",
            "notes.getByPath",
            "notes.getFile",
            "notes.resolveByTitle",
            "notes.resolveWikiTarget",
            "notes.previewByTitle",
            "notes.list",
            "notes.getTags",
            "notes.getLinks",
            "notes.getFolders",
            "notes.exists",
            "notes.getPropertyDefinitions",
            "notes.listAttachments",
            "notes.getFolderConfig",
            "notes.getFolderTemplate",
            "notes.getVersions",
            "notes.getVersion",
            "notes.getPositions",
            "notes.getAllPositions",
            "notes.getLocalOnlyCount",
            "notes.getCalendarPropertyNames",
            "tasks.get",
            "tasks.list",
            "tasks.getSubtasks",
            "tasks.getProject",
            "tasks.listProjects",
            "tasks.listStatuses",
            "tasks.getTags",
            "tasks.getStats",
            "tasks.getToday",
            "tasks.getUpcoming",
            "tasks.getOverdue",
            "tasks.getLinkedTasks",
            "tasks.listProjectLinks",
            "tasks.listProjectContents",
            "tasks.listForItem",
            "inbox.get",
            "inbox.list",
            "inbox.previewLink",
            "inbox.getSuggestions",
            "inbox.getTags",
            "inbox.getSnoozed",
            "inbox.getStats",
            "inbox.getJobs",
            "inbox.getPatterns",
            "inbox.getStaleThreshold",
            "inbox.listArchived",
            "inbox.getFilingHistory",
            "journal.getEntry",
            "journal.getHeatmap",
            "journal.getMonthEntries",
            "journal.getYearStats",
            "journal.getDayContext",
            "journal.getAllTags",
            "journal.getStreak",
            "properties.get",
            "templates.list",
            "templates.get",
            "savedFilters.list",
            "bookmarks.get",
            "bookmarks.list",
            "bookmarks.isBookmarked",
            "bookmarks.listByType",
            "bookmarks.getByItem",
            "tags.getNotesByTag",
            "tags.getAllWithCounts",
            "tags.listCategories",
            "folderView.getConfig",
            "folderView.getViews",
            "folderView.listWithProperties",
            "folderView.getAvailableProperties",
            "folderView.getFolderSuggestions",
            "folderView.folderExists",
            "reminders.get",
            "reminders.list",
            "reminders.getUpcoming",
            "reminders.getDue",
            "reminders.getForTarget",
            "reminders.countPending",
            "calendar.getEvent",
            "calendar.listEvents",
            "calendar.getRange",
            "settings.get",
            "settings.getJournalSettings",
            "settings.getAISettings",
            "settings.getVoiceTranscriptionSettings",
            "settings.getVoiceModelStatus",
            "settings.getVoiceRecordingReadiness",
            "settings.getVoiceTranscriptionOpenAIKeyStatus",
            "settings.getAIModelStatus",
            "settings.getTabSettings",
            "settings.getNoteEditorSettings",
            "settings.getGeneralSettings",
            "settings.getEditorSettings",
            "settings.getTaskSettings",
            "settings.getKeyboardSettings",
            "settings.getSyncSettings",
            "settings.getBackupSettings",
            "settings.getGraphSettings",
            "settings.getCalendarSettings",
            "settings.getFeaturesSettings",
            "settings.getInboxSettings",
            "search.query",
            "search.quick",
            "search.getStats",
            "search.getReasons",
            "search.getAllTags",
            "graph.getData",
            "graph.getLocal",
            "homePages.list",
            "homePages.get",
            "vault.getAll",
            "vault.getStatus",
            "vault.getConfig",
            "vault.listAccount",
            "canvas.list",
            "canvas.getAsset",
            "canvas.listAssets",
            "canvas.libraryList"
          ]
        },
        "args": {
          "default": [],
          "type": "array",
          "items": {}
        }
      },
      "required": ["operation"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Run an allowlisted read-only desktop API operation through the memrynote window. A note in the reply that is a filed pdf/image/audio/video file comes back as its metadata with contentOmitted: true and contentAccess naming how to read it. A reply whose JSON is over 100 KB in UTF-8 bytes comes back as { truncated, totalBytes, message, partial }. `args` are the positional arguments; vault_desktop_describe returns each operation's argument schema, and a call that does not match it is refused with the field, the expected type and the allowed values. Calendar examples: calendar.listEvents with args [{}], calendar.getRange with args [{\"startAt\":\"2026-05-14T00:00:00.000Z\",\"endAt\":\"2026-06-15T00:00:00.000Z\"}].",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "operation": "notes.list",
          "args": [
            {
              "folder": "Projects",
              "limit": 2
            }
          ]
        },
        "reply": {
          "notes": [
            {
              "id": "<noteId>",
              "path": "Projects/Website relaunch plan.md",
              "title": "Website relaunch plan",
              "created": "2026-10-07T11:17:24.017Z",
              "modified": "2026-10-07T11:17:25.736Z",
              "tags": ["planning", "website"],
              "wordCount": 17,
              "snippet": "Website relaunch plan Second draft. Goals - Faster pages - Clearer pricing See Launch checklist.",
              "emoji": null,
              "localOnly": false,
              "fileType": "markdown",
              "mimeType": null,
              "fileSize": null
            },
            {
              "id": "<fileId>",
              "path": "Projects/report.pdf",
              "title": "report",
              "created": "2026-10-07T11:17:19.741Z",
              "modified": "2026-10-07T11:17:25.104Z",
              "tags": [],
              "wordCount": null,
              "emoji": null,
              "localOnly": false,
              "fileType": "pdf",
              "mimeType": "application/pdf",
              "fileSize": 590
            }
          ],
          "total": 7,
          "hasMore": true
        }
      }
    },
    "vault_desktop_describe": {
      "type": "object",
      "properties": {
        "operation": {
          "type": "string",
          "enum": [
            "notes.get",
            "notes.getByPath",
            "notes.getFile",
            "notes.resolveByTitle",
            "notes.resolveWikiTarget",
            "notes.previewByTitle",
            "notes.list",
            "notes.getTags",
            "notes.getLinks",
            "notes.getFolders",
            "notes.exists",
            "notes.getPropertyDefinitions",
            "notes.listAttachments",
            "notes.getFolderConfig",
            "notes.getFolderTemplate",
            "notes.getVersions",
            "notes.getVersion",
            "notes.getPositions",
            "notes.getAllPositions",
            "notes.getLocalOnlyCount",
            "notes.getCalendarPropertyNames",
            "tasks.get",
            "tasks.list",
            "tasks.getSubtasks",
            "tasks.getProject",
            "tasks.listProjects",
            "tasks.listStatuses",
            "tasks.getTags",
            "tasks.getStats",
            "tasks.getToday",
            "tasks.getUpcoming",
            "tasks.getOverdue",
            "tasks.getLinkedTasks",
            "tasks.listProjectLinks",
            "tasks.listProjectContents",
            "tasks.listForItem",
            "inbox.get",
            "inbox.list",
            "inbox.previewLink",
            "inbox.getSuggestions",
            "inbox.getTags",
            "inbox.getSnoozed",
            "inbox.getStats",
            "inbox.getJobs",
            "inbox.getPatterns",
            "inbox.getStaleThreshold",
            "inbox.listArchived",
            "inbox.getFilingHistory",
            "journal.getEntry",
            "journal.getHeatmap",
            "journal.getMonthEntries",
            "journal.getYearStats",
            "journal.getDayContext",
            "journal.getAllTags",
            "journal.getStreak",
            "properties.get",
            "templates.list",
            "templates.get",
            "savedFilters.list",
            "bookmarks.get",
            "bookmarks.list",
            "bookmarks.isBookmarked",
            "bookmarks.listByType",
            "bookmarks.getByItem",
            "tags.getNotesByTag",
            "tags.getAllWithCounts",
            "tags.listCategories",
            "folderView.getConfig",
            "folderView.getViews",
            "folderView.listWithProperties",
            "folderView.getAvailableProperties",
            "folderView.getFolderSuggestions",
            "folderView.folderExists",
            "reminders.get",
            "reminders.list",
            "reminders.getUpcoming",
            "reminders.getDue",
            "reminders.getForTarget",
            "reminders.countPending",
            "calendar.getEvent",
            "calendar.listEvents",
            "calendar.getRange",
            "settings.get",
            "settings.getJournalSettings",
            "settings.getAISettings",
            "settings.getVoiceTranscriptionSettings",
            "settings.getVoiceModelStatus",
            "settings.getVoiceRecordingReadiness",
            "settings.getVoiceTranscriptionOpenAIKeyStatus",
            "settings.getAIModelStatus",
            "settings.getTabSettings",
            "settings.getNoteEditorSettings",
            "settings.getGeneralSettings",
            "settings.getEditorSettings",
            "settings.getTaskSettings",
            "settings.getKeyboardSettings",
            "settings.getSyncSettings",
            "settings.getBackupSettings",
            "settings.getGraphSettings",
            "settings.getCalendarSettings",
            "settings.getFeaturesSettings",
            "settings.getInboxSettings",
            "search.query",
            "search.quick",
            "search.getStats",
            "search.getReasons",
            "search.getAllTags",
            "graph.getData",
            "graph.getLocal",
            "homePages.list",
            "homePages.get",
            "vault.getAll",
            "vault.getStatus",
            "vault.getConfig",
            "vault.listAccount",
            "canvas.list",
            "canvas.getAsset",
            "canvas.listAssets",
            "canvas.libraryList",
            "notes.create",
            "notes.update",
            "notes.rename",
            "notes.move",
            "notes.delete",
            "notes.createFolder",
            "notes.renameFolder",
            "notes.deleteFolder",
            "notes.createPropertyDefinition",
            "notes.updatePropertyDefinition",
            "notes.ensurePropertyDefinition",
            "notes.addPropertyOption",
            "notes.addStatusOption",
            "notes.removePropertyOption",
            "notes.renamePropertyOption",
            "notes.updateOptionColor",
            "notes.deletePropertyDefinition",
            "notes.uploadAttachment",
            "notes.deleteAttachment",
            "notes.setFolderConfig",
            "notes.restoreVersion",
            "notes.deleteVersion",
            "notes.reorder",
            "notes.importFiles",
            "notes.setLocalOnly",
            "notes.setCalendarPropertyVisibility",
            "notes.applyTemplate",
            "notes.exportPdf",
            "notes.exportHtml",
            "tasks.create",
            "tasks.update",
            "tasks.delete",
            "tasks.complete",
            "tasks.uncomplete",
            "tasks.archive",
            "tasks.unarchive",
            "tasks.move",
            "tasks.reorder",
            "tasks.duplicate",
            "tasks.convertToSubtask",
            "tasks.convertToTask",
            "tasks.createProject",
            "tasks.updateProject",
            "tasks.deleteProject",
            "tasks.archiveProject",
            "tasks.reorderProjects",
            "tasks.linkProjectItem",
            "tasks.unlinkProjectItem",
            "tasks.setProjectLinkPinned",
            "tasks.setProjectHomeNote",
            "tasks.captureUrlToProject",
            "tasks.importFilesToProject",
            "tasks.createStatus",
            "tasks.updateStatus",
            "tasks.deleteStatus",
            "tasks.reorderStatuses",
            "tasks.bulkComplete",
            "tasks.bulkDelete",
            "tasks.bulkMove",
            "tasks.bulkArchive",
            "inbox.captureText",
            "inbox.captureLink",
            "inbox.captureImage",
            "inbox.captureVoice",
            "inbox.captureClip",
            "inbox.capturePdf",
            "inbox.update",
            "inbox.archive",
            "inbox.file",
            "inbox.trackSuggestion",
            "inbox.convertToNote",
            "inbox.convertToTask",
            "inbox.convertToEvent",
            "inbox.convertToReminder",
            "inbox.linkToNote",
            "inbox.addTag",
            "inbox.removeTag",
            "inbox.snooze",
            "inbox.unsnooze",
            "inbox.markViewed",
            "inbox.bulkFile",
            "inbox.bulkArchive",
            "inbox.bulkTag",
            "inbox.bulkSnooze",
            "inbox.fileAllStale",
            "inbox.retryTranscription",
            "inbox.retryMetadata",
            "inbox.setStaleThreshold",
            "inbox.unarchive",
            "inbox.deletePermanent",
            "inbox.undoFile",
            "inbox.undoArchive",
            "journal.createEntry",
            "journal.updateEntry",
            "journal.deleteEntry",
            "properties.set",
            "properties.rename",
            "templates.create",
            "templates.update",
            "templates.delete",
            "templates.duplicate",
            "savedFilters.create",
            "savedFilters.update",
            "savedFilters.delete",
            "savedFilters.reorder",
            "bookmarks.create",
            "bookmarks.delete",
            "bookmarks.toggle",
            "bookmarks.reorder",
            "bookmarks.bulkDelete",
            "bookmarks.bulkCreate",
            "tags.pinNoteToTag",
            "tags.unpinNoteFromTag",
            "tags.renameTag",
            "tags.updateTagColor",
            "tags.deleteTag",
            "tags.removeTagFromNote",
            "tags.mergeTag",
            "tags.updateTagIcon",
            "tags.createCategory",
            "tags.renameCategory",
            "tags.deleteCategory",
            "tags.reorder",
            "folderView.setConfig",
            "folderView.setView",
            "folderView.deleteView",
            "reminders.create",
            "reminders.update",
            "reminders.delete",
            "reminders.dismiss",
            "reminders.snooze",
            "reminders.bulkDismiss",
            "calendar.createEvent",
            "calendar.updateEvent",
            "calendar.deleteEvent",
            "settings.set",
            "settings.setJournalSettings",
            "settings.setAISettings",
            "settings.setVoiceTranscriptionSettings",
            "settings.setTabSettings",
            "settings.setNoteEditorSettings",
            "settings.setGeneralSettings",
            "settings.setEditorSettings",
            "settings.setTaskSettings",
            "settings.setKeyboardSettings",
            "settings.resetKeyboardSettings",
            "settings.setSyncSettings",
            "settings.setBackupSettings",
            "settings.setGraphSettings",
            "settings.setCalendarSettings",
            "settings.setFeaturesSettings",
            "settings.setInboxSettings",
            "search.rebuildIndex",
            "search.addReason",
            "search.clearReasons",
            "homePages.create",
            "homePages.update",
            "homePages.delete",
            "homePages.reorder",
            "vault.switch",
            "vault.reindex",
            "vault.updateConfig",
            "vault.downloadRemote",
            "canvas.create",
            "canvas.delete"
          ]
        }
      },
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Look up how to call a desktop API operation before calling it through vault_desktop_read or vault_desktop_write. With operation, returns a summary of what it does, its tool, whether it needs approval, its parameters in call order and args_schema: the JSON Schema (draft 2020-12) of the args array, with every type, required key, allowed value and default. Without operation, lists every operation with its tool and call shape; a trailing ? marks an optional argument.",
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "arguments": {
          "operation": "notes.ensurePropertyDefinition"
        },
        "reply": {
          "operation": "notes.ensurePropertyDefinition",
          "summary": "Define a status, select or multiselect property if it does not exist yet.",
          "tool": "vault_desktop_write",
          "call": "notes.ensurePropertyDefinition(name, type)",
          "requires_approval": true,
          "params": [
            {
              "name": "name",
              "required": true
            },
            {
              "name": "type",
              "required": true
            }
          ],
          "args_schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "array",
            "prefixItems": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "string",
                "enum": ["status", "select", "multiselect"]
              }
            ],
            "minItems": 2,
            "maxItems": 2
          }
        }
      }
    },
    "vault_create_note": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1
        },
        "content_markdown": {
          "type": "string"
        },
        "folder_path": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": ["title", "content_markdown"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Create a new note. Checkbox lines you add are stored as plain checkboxes, marked {check}, unless the owner turned on task conversion for agents; then they become tasks and the reply lists them in created_tasks. Create tasks with vault_create_task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "title": "Release notes draft",
          "content_markdown": "# Release notes\n\n- New onboarding\n",
          "folder_path": "Projects",
          "tags": ["website"]
        },
        "reply": {
          "id": "efoqaligj1ut",
          "title": "Release notes draft",
          "folder_path": "Projects",
          "tags": ["website"],
          "properties": {},
          "body_bytes": 34,
          "body_sha256": "54c77e654f16fdeb7d264c2ee27825368140cb51fdd6f4a2badbcdf3e4e61e8c",
          "href": "memry://note/efoqaligj1ut",
          "source_ref": {
            "kind": "note",
            "id": "efoqaligj1ut",
            "title": "Release notes draft",
            "href": "memry://note/efoqaligj1ut"
          },
          "sources": [
            {
              "kind": "note",
              "id": "efoqaligj1ut",
              "title": "Release notes draft",
              "href": "memry://note/efoqaligj1ut"
            }
          ]
        }
      }
    },
    "vault_rename_note": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        }
      },
      "required": ["id", "title"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Rename a note. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<renameNoteId>",
          "title": "Q4 roadmap"
        },
        "reply": {
          "id": "<renameNoteId>",
          "title": "Q4 roadmap",
          "folder_path": "Projects",
          "tags": ["draft"],
          "properties": {},
          "body_bytes": 11,
          "body_sha256": "c754f685059af7118ad4203b1296b15c16e82185c4b90e0da05c80f4805c6212",
          "href": "memry://note/<renameNoteId>",
          "source_ref": {
            "kind": "note",
            "id": "<renameNoteId>",
            "title": "Q4 roadmap",
            "href": "memry://note/<renameNoteId>"
          },
          "sources": [
            {
              "kind": "note",
              "id": "<renameNoteId>",
              "title": "Q4 roadmap",
              "href": "memry://note/<renameNoteId>"
            }
          ]
        }
      }
    },
    "vault_delete_note": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Delete a note. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<deleteNote2Id>"
        },
        "reply": {
          "id": "<deleteNote2Id>"
        }
      }
    },
    "vault_create_folder": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["path"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Create a note folder. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "path": "Projects/Research"
        },
        "reply": {
          "path": "Projects/Research",
          "href": "memry://folder/Projects%2FResearch",
          "source_ref": {
            "kind": "folder",
            "id": "Projects/Research",
            "title": "Projects/Research",
            "href": "memry://folder/Projects%2FResearch"
          },
          "sources": [
            {
              "kind": "folder",
              "id": "Projects/Research",
              "title": "Projects/Research",
              "href": "memry://folder/Projects%2FResearch"
            }
          ]
        }
      }
    },
    "vault_rename_folder": {
      "type": "object",
      "properties": {
        "old_path": {
          "type": "string",
          "minLength": 1
        },
        "new_path": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["old_path", "new_path"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Rename a note folder. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "old_path": "Projects/Research",
          "new_path": "Projects/User research"
        },
        "reply": {
          "path": "Projects/User research",
          "href": "memry://folder/Projects%2FUser%20research",
          "source_ref": {
            "kind": "folder",
            "id": "Projects/User research",
            "title": "Projects/User research",
            "href": "memry://folder/Projects%2FUser%20research"
          },
          "sources": [
            {
              "kind": "folder",
              "id": "Projects/User research",
              "title": "Projects/User research",
              "href": "memry://folder/Projects%2FUser%20research"
            }
          ]
        }
      }
    },
    "vault_delete_folder": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["path"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Delete a note folder and its contents. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "path": "Projects/User research"
        },
        "reply": {
          "path": "Projects/User research"
        }
      }
    },
    "vault_create_task": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        },
        "status_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "project_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "due": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "due_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "due_time": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\d{2}:\\d{2}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "start_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "priority": {
          "type": "integer",
          "minimum": 0,
          "maximum": 4
        },
        "notes": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 10000
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 10000
            },
            {
              "type": "null"
            }
          ]
        },
        "is_repeating": {
          "type": "boolean"
        },
        "repeat_config": {
          "anyOf": [
            {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            {
              "type": "null"
            }
          ]
        },
        "repeat_from": {
          "anyOf": [
            {
              "type": "string",
              "enum": ["due", "completion"]
            },
            {
              "type": "null"
            }
          ]
        },
        "tags": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 50
          }
        },
        "linked_note_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "source_note_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "position": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": ["title"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Create a new task. Without project_id it goes to the Inbox project. status_id takes an id from vault_list_statuses. due_date and due are aliases (due_date wins), as are description and notes. source_note_id links the task back to the note it came from. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "title": "Book the launch venue",
          "project_id": "<projectId>",
          "due_date": "2026-10-20",
          "priority": 2,
          "tags": ["launch"]
        },
        "reply": {
          "id": "3qwZ40o0wAIvXbsKo6dWU",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Book the launch venue",
          "description": null,
          "priority": 2,
          "position": 8,
          "dueDate": "2026-10-20",
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 1
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {},
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {}
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:30.877Z",
          "modifiedAt": "2026-10-07T11:17:30.877Z",
          "isRepeating": false,
          "tags": ["launch"],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": false,
          "subtaskCount": 0,
          "completedSubtaskCount": 0,
          "href": "memry://task/3qwZ40o0wAIvXbsKo6dWU",
          "source_ref": {
            "kind": "task",
            "id": "3qwZ40o0wAIvXbsKo6dWU",
            "title": "Book the launch venue",
            "href": "memry://task/3qwZ40o0wAIvXbsKo6dWU"
          },
          "sources": [
            {
              "kind": "task",
              "id": "3qwZ40o0wAIvXbsKo6dWU",
              "title": "Book the launch venue",
              "href": "memry://task/3qwZ40o0wAIvXbsKo6dWU"
            }
          ]
        }
      }
    },
    "vault_delete_task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Delete a task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<deleteTask2Id>"
        },
        "reply": {
          "id": "<deleteTask2Id>"
        }
      }
    },
    "vault_complete_task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "completed_at": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Complete a task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<task2Id>"
        },
        "reply": {
          "id": "<task2Id>",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Review the new design",
          "description": null,
          "priority": 0,
          "position": 1,
          "dueDate": "2026-10-07",
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": "2026-10-07T11:17:30.918Z",
          "archivedAt": null,
          "clock": {
            "_offline": 2
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {},
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {
              "_offline": 1
            },
            "archivedAt": {}
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.642Z",
          "modifiedAt": "2026-10-07T11:17:30.918Z",
          "isRepeating": false,
          "tags": [],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": false,
          "subtaskCount": 0,
          "completedSubtaskCount": 0,
          "href": "memry://task/<task2Id>",
          "source_ref": {
            "kind": "task",
            "id": "<task2Id>",
            "title": "Review the new design",
            "href": "memry://task/<task2Id>"
          },
          "sources": [
            {
              "kind": "task",
              "id": "<task2Id>",
              "title": "Review the new design",
              "href": "memry://task/<task2Id>"
            }
          ]
        }
      }
    },
    "vault_uncomplete_task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Reopen a completed task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<task2Id>"
        },
        "reply": {
          "id": "<task2Id>",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Review the new design",
          "description": null,
          "priority": 0,
          "position": 1,
          "dueDate": "2026-10-07",
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 3
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {},
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {
              "_offline": 2
            },
            "archivedAt": {}
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.642Z",
          "modifiedAt": "2026-10-07T11:17:30.954Z",
          "isRepeating": false,
          "tags": [],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": false,
          "subtaskCount": 0,
          "completedSubtaskCount": 0,
          "href": "memry://task/<task2Id>",
          "source_ref": {
            "kind": "task",
            "id": "<task2Id>",
            "title": "Review the new design",
            "href": "memry://task/<task2Id>"
          },
          "sources": [
            {
              "kind": "task",
              "id": "<task2Id>",
              "title": "Review the new design",
              "href": "memry://task/<task2Id>"
            }
          ]
        }
      }
    },
    "vault_archive_task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Archive a task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<task3Id>"
        },
        "reply": {
          "id": "<task3Id>",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Update the footer links",
          "description": null,
          "priority": 0,
          "position": 2,
          "dueDate": null,
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": "2026-10-07T11:17:30.968Z",
          "clock": {
            "_offline": 2
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {},
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {
              "_offline": 1
            }
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.648Z",
          "modifiedAt": "2026-10-07T11:17:30.968Z",
          "isRepeating": false,
          "tags": [],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": false,
          "subtaskCount": 0,
          "completedSubtaskCount": 0,
          "href": "memry://task/<task3Id>",
          "source_ref": {
            "kind": "task",
            "id": "<task3Id>",
            "title": "Update the footer links",
            "href": "memry://task/<task3Id>"
          },
          "sources": [
            {
              "kind": "task",
              "id": "<task3Id>",
              "title": "Update the footer links",
              "href": "memry://task/<task3Id>"
            }
          ]
        }
      }
    },
    "vault_unarchive_task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Unarchive a task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<task3Id>"
        },
        "reply": {
          "id": "<task3Id>",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Update the footer links",
          "description": null,
          "priority": 0,
          "position": 2,
          "dueDate": null,
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 3
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {},
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {
              "_offline": 2
            }
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.648Z",
          "modifiedAt": "2026-10-07T11:17:30.981Z",
          "isRepeating": false,
          "tags": [],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": false,
          "subtaskCount": 0,
          "completedSubtaskCount": 0,
          "href": "memry://task/<task3Id>",
          "source_ref": {
            "kind": "task",
            "id": "<task3Id>",
            "title": "Update the footer links",
            "href": "memry://task/<task3Id>"
          },
          "sources": [
            {
              "kind": "task",
              "id": "<task3Id>",
              "title": "Update the footer links",
              "href": "memry://task/<task3Id>"
            }
          ]
        }
      }
    },
    "vault_move_task": {
      "type": "object",
      "properties": {
        "task_id": {
          "type": "string",
          "minLength": 1
        },
        "target_project_id": {
          "type": "string",
          "minLength": 1
        },
        "target_status_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "target_parent_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "position": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": ["task_id", "position"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Move a task between projects/statuses/parents. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "task_id": "<task3Id>",
          "target_status_id": "<statusDoingId>",
          "position": 0
        },
        "reply": {
          "id": "<task3Id>",
          "projectId": "<projectId>",
          "statusId": "<statusDoingId>",
          "parentId": null,
          "title": "Update the footer links",
          "description": null,
          "priority": 0,
          "position": 0,
          "dueDate": null,
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 4
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {
              "_offline": 1
            },
            "parentId": {},
            "priority": {},
            "position": {
              "_offline": 1
            },
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {
              "_offline": 2
            }
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.648Z",
          "modifiedAt": "2026-10-07T11:17:30.995Z",
          "isRepeating": false,
          "tags": [],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": false,
          "subtaskCount": 0,
          "completedSubtaskCount": 0,
          "href": "memry://task/<task3Id>",
          "source_ref": {
            "kind": "task",
            "id": "<task3Id>",
            "title": "Update the footer links",
            "href": "memry://task/<task3Id>"
          },
          "sources": [
            {
              "kind": "task",
              "id": "<task3Id>",
              "title": "Update the footer links",
              "href": "memry://task/<task3Id>"
            }
          ]
        }
      }
    },
    "vault_reorder_tasks": {
      "type": "object",
      "properties": {
        "task_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "positions": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        }
      },
      "required": ["task_ids", "positions"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Reorder tasks. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "task_ids": ["<taskId>", "<task2Id>"],
          "positions": [1, 0]
        },
        "reply": {
          "ids": ["<taskId>", "<task2Id>"],
          "tasks": [
            {
              "id": "<taskId>",
              "projectId": "<projectId>",
              "statusId": null,
              "parentId": null,
              "title": "Write landing page copy",
              "description": null,
              "priority": 3,
              "position": 1,
              "dueDate": "2026-10-15",
              "dueTime": null,
              "startDate": null,
              "repeatConfig": null,
              "repeatFrom": null,
              "sourceNoteId": null,
              "completedAt": null,
              "archivedAt": null,
              "clock": {
                "_offline": 3
              },
              "fieldClocks": {
                "title": {},
                "description": {},
                "projectId": {},
                "statusId": {},
                "parentId": {},
                "priority": {
                  "_offline": 1
                },
                "position": {
                  "_offline": 1
                },
                "dueDate": {
                  "_offline": 1
                },
                "dueTime": {},
                "startDate": {},
                "repeatConfig": {},
                "repeatFrom": {},
                "sourceNoteId": {},
                "completedAt": {},
                "archivedAt": {}
              },
              "syncedAt": null,
              "createdAt": "2026-10-07T11:17:25.637Z",
              "modifiedAt": "2026-10-07T11:17:31.007Z",
              "isRepeating": false,
              "tags": ["website"],
              "linkedNoteIds": [],
              "linkedCanvasIds": [],
              "hasSubtasks": true,
              "subtaskCount": 1,
              "completedSubtaskCount": 0
            },
            {
              "id": "<task2Id>",
              "projectId": "<projectId>",
              "statusId": null,
              "parentId": null,
              "title": "Review the new design",
              "description": null,
              "priority": 0,
              "position": 0,
              "dueDate": "2026-10-07",
              "dueTime": null,
              "startDate": null,
              "repeatConfig": null,
              "repeatFrom": null,
              "sourceNoteId": null,
              "completedAt": null,
              "archivedAt": null,
              "clock": {
                "_offline": 4
              },
              "fieldClocks": {
                "title": {},
                "description": {},
                "projectId": {},
                "statusId": {},
                "parentId": {},
                "priority": {},
                "position": {
                  "_offline": 1
                },
                "dueDate": {},
                "dueTime": {},
                "startDate": {},
                "repeatConfig": {},
                "repeatFrom": {},
                "sourceNoteId": {},
                "completedAt": {
                  "_offline": 2
                },
                "archivedAt": {}
              },
              "syncedAt": null,
              "createdAt": "2026-10-07T11:17:25.642Z",
              "modifiedAt": "2026-10-07T11:17:31.007Z",
              "isRepeating": false,
              "tags": [],
              "linkedNoteIds": [],
              "linkedCanvasIds": [],
              "hasSubtasks": false,
              "subtaskCount": 0,
              "completedSubtaskCount": 0
            }
          ]
        }
      }
    },
    "vault_duplicate_task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Duplicate a task with subtasks. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<taskId>"
        },
        "reply": {
          "id": "dv1kWDmXWaN5NgDIkxyf2",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Copy of Write landing page copy",
          "description": null,
          "priority": 3,
          "position": 2,
          "dueDate": "2026-10-15",
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 1
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {},
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {}
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:31.021Z",
          "modifiedAt": "2026-10-07T11:17:31.021Z",
          "isRepeating": false,
          "tags": ["website"],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": true,
          "subtaskCount": 1,
          "completedSubtaskCount": 0,
          "href": "memry://task/dv1kWDmXWaN5NgDIkxyf2",
          "source_ref": {
            "kind": "task",
            "id": "dv1kWDmXWaN5NgDIkxyf2",
            "title": "Copy of Write landing page copy",
            "href": "memry://task/dv1kWDmXWaN5NgDIkxyf2"
          },
          "sources": [
            {
              "kind": "task",
              "id": "dv1kWDmXWaN5NgDIkxyf2",
              "title": "Copy of Write landing page copy",
              "href": "memry://task/dv1kWDmXWaN5NgDIkxyf2"
            }
          ]
        }
      }
    },
    "vault_convert_task_to_subtask": {
      "type": "object",
      "properties": {
        "task_id": {
          "type": "string",
          "minLength": 1
        },
        "parent_id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["task_id", "parent_id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Convert a task into a subtask. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "task_id": "<task4Id>",
          "parent_id": "<taskId>"
        },
        "reply": {
          "id": "<task4Id>",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": "<taskId>",
          "title": "Check the meta descriptions",
          "description": null,
          "priority": 0,
          "position": 3,
          "dueDate": null,
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 2
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {
              "_offline": 1
            },
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {}
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.657Z",
          "modifiedAt": "2026-10-07T11:17:31.047Z",
          "isRepeating": false,
          "tags": [],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": false,
          "subtaskCount": 0,
          "completedSubtaskCount": 0,
          "href": "memry://task/<task4Id>",
          "source_ref": {
            "kind": "task",
            "id": "<task4Id>",
            "title": "Check the meta descriptions",
            "href": "memry://task/<task4Id>"
          },
          "sources": [
            {
              "kind": "task",
              "id": "<task4Id>",
              "title": "Check the meta descriptions",
              "href": "memry://task/<task4Id>"
            }
          ]
        }
      }
    },
    "vault_convert_subtask_to_task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Convert a subtask back to a top-level task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<task4Id>"
        },
        "reply": {
          "id": "<task4Id>",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Check the meta descriptions",
          "description": null,
          "priority": 0,
          "position": 3,
          "dueDate": null,
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 3
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {
              "_offline": 2
            },
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {}
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.657Z",
          "modifiedAt": "2026-10-07T11:17:31.067Z",
          "isRepeating": false,
          "tags": [],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": false,
          "subtaskCount": 0,
          "completedSubtaskCount": 0,
          "href": "memry://task/<task4Id>",
          "source_ref": {
            "kind": "task",
            "id": "<task4Id>",
            "title": "Check the meta descriptions",
            "href": "memry://task/<task4Id>"
          },
          "sources": [
            {
              "kind": "task",
              "id": "<task4Id>",
              "title": "Check the meta descriptions",
              "href": "memry://task/<task4Id>"
            }
          ]
        }
      }
    },
    "vault_create_project": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 500
            },
            {
              "type": "null"
            }
          ]
        },
        "color": {
          "default": "#6366f1",
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "icon": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "statuses": {
          "minItems": 2,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 50
              },
              "color": {
                "default": "#6b7280",
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$"
              },
              "type": {
                "type": "string",
                "enum": ["todo", "in_progress", "done"]
              },
              "order": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": ["name", "type", "order"],
            "additionalProperties": false
          }
        }
      },
      "required": ["name"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Create a task project. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "name": "Hiring",
          "color": "#0ea5e9"
        },
        "reply": {
          "id": "Wczp9XguJ1wUzvFPcvDRS",
          "name": "Hiring",
          "description": null,
          "color": "#0ea5e9",
          "icon": null,
          "position": 6,
          "isInbox": false,
          "createdAt": "2026-10-07T11:17:31.081Z",
          "modifiedAt": "2026-10-07T11:17:31.081Z",
          "archivedAt": null,
          "homeNoteId": null,
          "clock": {
            "_offline": 1
          },
          "fieldClocks": {
            "name": {
              "_offline": 1
            },
            "description": {
              "_offline": 1
            },
            "color": {
              "_offline": 1
            },
            "icon": {
              "_offline": 1
            },
            "position": {
              "_offline": 1
            },
            "isInbox": {
              "_offline": 1
            },
            "archivedAt": {
              "_offline": 1
            },
            "modifiedAt": {
              "_offline": 1
            },
            "homeNoteId": {
              "_offline": 1
            }
          },
          "syncedAt": null,
          "statuses": [
            {
              "id": "Wczp9XguJ1wUzvFPcvDRS-todo",
              "projectId": "Wczp9XguJ1wUzvFPcvDRS",
              "name": "To Do",
              "color": "#6b7280",
              "position": 0,
              "isDefault": true,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:31.081Z"
            },
            {
              "id": "Wczp9XguJ1wUzvFPcvDRS-in-progress",
              "projectId": "Wczp9XguJ1wUzvFPcvDRS",
              "name": "In Progress",
              "color": "#F59E0B",
              "position": 1,
              "isDefault": false,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:31.081Z"
            },
            {
              "id": "Wczp9XguJ1wUzvFPcvDRS-done",
              "projectId": "Wczp9XguJ1wUzvFPcvDRS",
              "name": "Done",
              "color": "#22c55e",
              "position": 2,
              "isDefault": false,
              "isDone": true,
              "createdAt": "2026-10-07T11:17:31.081Z"
            }
          ],
          "href": "memry://project/Wczp9XguJ1wUzvFPcvDRS",
          "source_ref": {
            "kind": "project",
            "id": "Wczp9XguJ1wUzvFPcvDRS",
            "title": "Hiring",
            "href": "memry://project/Wczp9XguJ1wUzvFPcvDRS"
          },
          "sources": [
            {
              "kind": "project",
              "id": "Wczp9XguJ1wUzvFPcvDRS",
              "title": "Hiring",
              "href": "memry://project/Wczp9XguJ1wUzvFPcvDRS"
            }
          ]
        }
      }
    },
    "vault_update_project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 500
            },
            {
              "type": "null"
            }
          ]
        },
        "color": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "icon": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "statuses": {
          "minItems": 2,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 50
              },
              "color": {
                "default": "#6b7280",
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$"
              },
              "type": {
                "type": "string",
                "enum": ["todo", "in_progress", "done"]
              },
              "order": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": ["name", "type", "order"],
            "additionalProperties": false
          }
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Update a task project. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<project2Id>",
          "description": "Everything for the autumn hiring round."
        },
        "reply": {
          "id": "<project2Id>",
          "name": "Autumn hiring",
          "description": "Everything for the autumn hiring round.",
          "color": "#6366f1",
          "icon": null,
          "position": 2,
          "isInbox": false,
          "createdAt": "2026-10-07T11:17:25.613Z",
          "modifiedAt": "2026-10-07T11:17:31.094Z",
          "archivedAt": null,
          "homeNoteId": null,
          "clock": {
            "_offline": 2
          },
          "fieldClocks": {
            "name": {
              "_offline": 1
            },
            "description": {
              "_offline": 2
            },
            "color": {
              "_offline": 1
            },
            "icon": {
              "_offline": 1
            },
            "position": {
              "_offline": 1
            },
            "isInbox": {
              "_offline": 1
            },
            "archivedAt": {
              "_offline": 1
            },
            "modifiedAt": {
              "_offline": 1
            },
            "homeNoteId": {
              "_offline": 1
            }
          },
          "syncedAt": null,
          "statuses": [
            {
              "id": "<project2Id>-todo",
              "projectId": "<project2Id>",
              "name": "To Do",
              "color": "#6b7280",
              "position": 0,
              "isDefault": true,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.613Z"
            },
            {
              "id": "<project2Id>-in-progress",
              "projectId": "<project2Id>",
              "name": "In Progress",
              "color": "#F59E0B",
              "position": 1,
              "isDefault": false,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.613Z"
            },
            {
              "id": "<project2Id>-done",
              "projectId": "<project2Id>",
              "name": "Done",
              "color": "#22c55e",
              "position": 2,
              "isDefault": false,
              "isDone": true,
              "createdAt": "2026-10-07T11:17:25.613Z"
            }
          ],
          "href": "memry://project/<project2Id>",
          "source_ref": {
            "kind": "project",
            "id": "<project2Id>",
            "title": "Autumn hiring",
            "href": "memry://project/<project2Id>"
          },
          "sources": [
            {
              "kind": "project",
              "id": "<project2Id>",
              "title": "Autumn hiring",
              "href": "memry://project/<project2Id>"
            }
          ]
        }
      }
    },
    "vault_delete_project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Delete a task project. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<deleteProject2Id>"
        },
        "reply": {
          "id": "<deleteProject2Id>"
        }
      }
    },
    "vault_archive_project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Archive a task project. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<project2Id>"
        },
        "reply": {
          "id": "<project2Id>",
          "name": "Autumn hiring",
          "description": "Everything for the autumn hiring round.",
          "color": "#6366f1",
          "icon": null,
          "position": 2,
          "isInbox": false,
          "createdAt": "2026-10-07T11:17:25.613Z",
          "modifiedAt": "2026-10-07T11:17:31.103Z",
          "archivedAt": "2026-10-07T11:17:31.103Z",
          "homeNoteId": null,
          "clock": {
            "_offline": 3
          },
          "fieldClocks": {
            "name": {
              "_offline": 1
            },
            "description": {
              "_offline": 2
            },
            "color": {
              "_offline": 1
            },
            "icon": {
              "_offline": 1
            },
            "position": {
              "_offline": 1
            },
            "isInbox": {
              "_offline": 1
            },
            "archivedAt": {
              "_offline": 2
            },
            "modifiedAt": {
              "_offline": 1
            },
            "homeNoteId": {
              "_offline": 1
            }
          },
          "syncedAt": null,
          "statuses": [
            {
              "id": "<project2Id>-todo",
              "projectId": "<project2Id>",
              "name": "To Do",
              "color": "#6b7280",
              "position": 0,
              "isDefault": true,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.613Z"
            },
            {
              "id": "<project2Id>-in-progress",
              "projectId": "<project2Id>",
              "name": "In Progress",
              "color": "#F59E0B",
              "position": 1,
              "isDefault": false,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.613Z"
            },
            {
              "id": "<project2Id>-done",
              "projectId": "<project2Id>",
              "name": "Done",
              "color": "#22c55e",
              "position": 2,
              "isDefault": false,
              "isDone": true,
              "createdAt": "2026-10-07T11:17:25.613Z"
            }
          ],
          "href": "memry://project/<project2Id>",
          "source_ref": {
            "kind": "project",
            "id": "<project2Id>",
            "title": "Autumn hiring",
            "href": "memry://project/<project2Id>"
          },
          "sources": [
            {
              "kind": "project",
              "id": "<project2Id>",
              "title": "Autumn hiring",
              "href": "memry://project/<project2Id>"
            }
          ]
        }
      }
    },
    "vault_reorder_projects": {
      "type": "object",
      "properties": {
        "project_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "positions": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        }
      },
      "required": ["project_ids", "positions"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Reorder task projects. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "project_ids": ["<projectId>", "<project3Id>"],
          "positions": [1, 0]
        },
        "reply": {
          "ids": ["<projectId>", "<project3Id>"],
          "projects": [
            {
              "id": "<projectId>",
              "name": "Website relaunch",
              "description": null,
              "color": "#6366f1",
              "icon": null,
              "position": 1,
              "isInbox": false,
              "createdAt": "2026-10-07T11:17:25.610Z",
              "modifiedAt": "2026-10-07T11:17:31.111Z",
              "archivedAt": null,
              "homeNoteId": null,
              "clock": {
                "_offline": 5
              },
              "fieldClocks": {
                "name": {
                  "_offline": 1
                },
                "description": {
                  "_offline": 1
                },
                "color": {
                  "_offline": 1
                },
                "icon": {
                  "_offline": 1
                },
                "position": {
                  "_offline": 2
                },
                "isInbox": {
                  "_offline": 1
                },
                "archivedAt": {
                  "_offline": 1
                },
                "modifiedAt": {
                  "_offline": 1
                },
                "homeNoteId": {
                  "_offline": 1
                }
              },
              "syncedAt": null,
              "statuses": [
                {
                  "id": "<statusTodoId>",
                  "projectId": "<projectId>",
                  "name": "To Do",
                  "color": "#6b7280",
                  "position": 0,
                  "isDefault": true,
                  "isDone": false,
                  "createdAt": "2026-10-07T11:17:25.610Z"
                },
                {
                  "id": "<statusDoingId>",
                  "projectId": "<projectId>",
                  "name": "In Progress",
                  "color": "#F59E0B",
                  "position": 1,
                  "isDefault": false,
                  "isDone": false,
                  "createdAt": "2026-10-07T11:17:25.610Z"
                },
                {
                  "id": "<projectId>-done",
                  "projectId": "<projectId>",
                  "name": "Done",
                  "color": "#22c55e",
                  "position": 2,
                  "isDefault": false,
                  "isDone": true,
                  "createdAt": "2026-10-07T11:17:25.610Z"
                }
              ]
            },
            {
              "id": "<project3Id>",
              "name": "Brand refresh",
              "description": null,
              "color": "#6366f1",
              "icon": null,
              "position": 0,
              "isInbox": false,
              "createdAt": "2026-10-07T11:17:25.614Z",
              "modifiedAt": "2026-10-07T11:17:31.111Z",
              "archivedAt": null,
              "homeNoteId": null,
              "clock": {
                "_offline": 2
              },
              "fieldClocks": {
                "name": {
                  "_offline": 1
                },
                "description": {
                  "_offline": 1
                },
                "color": {
                  "_offline": 1
                },
                "icon": {
                  "_offline": 1
                },
                "position": {
                  "_offline": 2
                },
                "isInbox": {
                  "_offline": 1
                },
                "archivedAt": {
                  "_offline": 1
                },
                "modifiedAt": {
                  "_offline": 1
                },
                "homeNoteId": {
                  "_offline": 1
                }
              },
              "syncedAt": null,
              "statuses": [
                {
                  "id": "<project3Id>-todo",
                  "projectId": "<project3Id>",
                  "name": "To Do",
                  "color": "#6b7280",
                  "position": 0,
                  "isDefault": true,
                  "isDone": false,
                  "createdAt": "2026-10-07T11:17:25.614Z"
                },
                {
                  "id": "<project3Id>-in-progress",
                  "projectId": "<project3Id>",
                  "name": "In Progress",
                  "color": "#F59E0B",
                  "position": 1,
                  "isDefault": false,
                  "isDone": false,
                  "createdAt": "2026-10-07T11:17:25.614Z"
                },
                {
                  "id": "<project3Id>-done",
                  "projectId": "<project3Id>",
                  "name": "Done",
                  "color": "#22c55e",
                  "position": 2,
                  "isDefault": false,
                  "isDone": true,
                  "createdAt": "2026-10-07T11:17:25.615Z"
                }
              ]
            }
          ]
        }
      }
    },
    "vault_create_status": {
      "type": "object",
      "properties": {
        "project_id": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 50
        },
        "color": {
          "default": "#6b7280",
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "is_done": {
          "default": false,
          "type": "boolean"
        }
      },
      "required": ["project_id", "name"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Create a project status. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "project_id": "<projectId>",
          "name": "Blocked",
          "color": "#ef4444"
        },
        "reply": {
          "id": "uFqRZPtux_31TjNYy4KTt",
          "projectId": "<projectId>",
          "name": "Blocked",
          "color": "#ef4444",
          "position": 5,
          "isDefault": false,
          "isDone": false,
          "createdAt": "2026-10-07T11:17:31.123Z"
        }
      }
    },
    "vault_update_status": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 50
        },
        "color": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "position": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "is_default": {
          "type": "boolean"
        },
        "is_done": {
          "type": "boolean"
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Update a project status. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<statusDoingId>",
          "name": "Doing"
        },
        "reply": {
          "id": "<statusDoingId>",
          "projectId": "<projectId>",
          "name": "Doing",
          "color": "#F59E0B",
          "position": 1,
          "isDefault": false,
          "isDone": false,
          "createdAt": "2026-10-07T11:17:25.610Z"
        }
      }
    },
    "vault_delete_status": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Delete a project status. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<statusSpare2Id>"
        },
        "reply": {
          "id": "<statusSpare2Id>"
        }
      }
    },
    "vault_reorder_statuses": {
      "type": "object",
      "properties": {
        "status_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "positions": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        }
      },
      "required": ["status_ids", "positions"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Reorder project statuses. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "status_ids": ["<statusTodoId>", "<statusDoingId>"],
          "positions": [0, 1]
        },
        "reply": {
          "ids": ["<statusTodoId>", "<statusDoingId>"],
          "statuses": [
            {
              "id": "<statusTodoId>",
              "projectId": "<projectId>",
              "name": "To Do",
              "color": "#6b7280",
              "position": 0,
              "isDefault": true,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.610Z"
            },
            {
              "id": "<statusDoingId>",
              "projectId": "<projectId>",
              "name": "Doing",
              "color": "#F59E0B",
              "position": 1,
              "isDefault": false,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.610Z"
            }
          ]
        }
      }
    },
    "vault_create_journal_entry": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "content_markdown": {
          "type": "string"
        }
      },
      "required": ["date", "content_markdown"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Create or return existing journal entry for date. Checkbox lines you add are stored as plain checkboxes, marked {check}, unless the owner turned on task conversion for agents; then they become tasks and the reply lists them in created_tasks. Create tasks with vault_create_task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "date": "2026-10-07",
          "content_markdown": "Shipped the pricing page.\n"
        },
        "reply": {
          "id": "j2026-10-07",
          "date": "2026-10-07",
          "tags": [],
          "properties": {},
          "body_bytes": 26,
          "body_sha256": "541df3fe694ff9c46b58b5fc0c8e175f209fd719edda1d715fae73649811578b",
          "created": true,
          "sources": [
            {
              "kind": "journal",
              "id": "2026-10-07",
              "title": "2026-10-07",
              "href": "memry://journal/2026-10-07"
            }
          ]
        }
      }
    },
    "vault_update_journal_entry": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "content_markdown": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "properties": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        }
      },
      "required": ["date"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Update or create a journal entry. Checkbox lines you add are stored as plain checkboxes, marked {check}, unless the owner turned on task conversion for agents; then they become tasks and the reply lists them in created_tasks. Create tasks with vault_create_task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "date": "2026-10-06",
          "content_markdown": "Planned the launch with the team.\n",
          "tags": ["planning"]
        },
        "reply": {
          "id": "j2026-10-06",
          "date": "2026-10-06",
          "tags": ["planning"],
          "properties": {},
          "body_bytes": 34,
          "body_sha256": "9a9245f257bf9f706a545e8660a060d517e8be55cabec3e358da1d78367cc249",
          "sources": [
            {
              "kind": "journal",
              "id": "2026-10-06",
              "title": "2026-10-06",
              "href": "memry://journal/2026-10-06"
            }
          ]
        }
      }
    },
    "vault_delete_journal_entry": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      },
      "required": ["date"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Delete a journal entry. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "date": "2026-10-07"
        },
        "reply": {
          "date": "2026-10-07",
          "deleted": true
        }
      }
    },
    "vault_add_to_inbox": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "minLength": 1
        },
        "title": {
          "type": "string",
          "minLength": 1
        },
        "content": {
          "type": "string"
        }
      },
      "required": ["source", "title", "content"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Append a new inbox item. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "source": "agent",
          "title": "Competitor pricing",
          "content": "Compare the three plans on the pricing pages."
        },
        "reply": {
          "id": "OEPckaU_j0rVb2Kvid7gv",
          "type": "note",
          "title": "Competitor pricing",
          "content": "Compare the three plans on the pricing pages.",
          "createdAt": "2026-10-07T11:17:31.154Z",
          "modifiedAt": "2026-10-07T11:17:31.154Z",
          "filedAt": null,
          "filedTo": null,
          "filedAction": null,
          "snoozedUntil": null,
          "snoozeReason": null,
          "viewedAt": null,
          "archivedAt": null,
          "processingStatus": "complete",
          "processingError": null,
          "metadata": null,
          "attachmentPath": null,
          "attachmentUrl": null,
          "thumbnailPath": null,
          "thumbnailUrl": null,
          "transcription": null,
          "transcriptionStatus": null,
          "sourceUrl": null,
          "sourceTitle": null,
          "captureSource": "inline",
          "tags": [],
          "isStale": false,
          "href": "memry://inbox/OEPckaU_j0rVb2Kvid7gv",
          "source_ref": {
            "kind": "inbox",
            "id": "OEPckaU_j0rVb2Kvid7gv",
            "title": "Competitor pricing",
            "href": "memry://inbox/OEPckaU_j0rVb2Kvid7gv"
          },
          "sources": [
            {
              "kind": "inbox",
              "id": "OEPckaU_j0rVb2Kvid7gv",
              "title": "Competitor pricing",
              "href": "memry://inbox/OEPckaU_j0rVb2Kvid7gv"
            }
          ]
        }
      }
    },
    "vault_update_inbox_item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "content": {
          "type": "string",
          "maxLength": 50000
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Update an inbox item. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<inboxId>",
          "title": "Call the printer about flyers"
        },
        "reply": {
          "id": "<inboxId>",
          "type": "note",
          "title": "Call the printer about flyers",
          "content": "Call the printer about flyers",
          "createdAt": "2026-10-07T11:17:25.759Z",
          "modifiedAt": "2026-10-07T11:17:31.172Z",
          "filedAt": null,
          "filedTo": null,
          "filedAction": null,
          "snoozedUntil": null,
          "snoozeReason": null,
          "viewedAt": null,
          "archivedAt": null,
          "processingStatus": "complete",
          "processingError": null,
          "metadata": null,
          "attachmentPath": null,
          "attachmentUrl": null,
          "thumbnailPath": null,
          "thumbnailUrl": null,
          "transcription": null,
          "transcriptionStatus": null,
          "sourceUrl": null,
          "sourceTitle": null,
          "captureSource": null,
          "tags": [],
          "isStale": false,
          "href": "memry://inbox/<inboxId>",
          "source_ref": {
            "kind": "inbox",
            "id": "<inboxId>",
            "title": "Call the printer about flyers",
            "href": "memry://inbox/<inboxId>"
          },
          "sources": [
            {
              "kind": "inbox",
              "id": "<inboxId>",
              "title": "Call the printer about flyers",
              "href": "memry://inbox/<inboxId>"
            }
          ]
        }
      }
    },
    "vault_snooze_inbox_item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "snooze_until": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
        },
        "reason": {
          "type": "string",
          "maxLength": 500
        }
      },
      "required": ["id", "snooze_until"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Snooze an inbox item until an ISO datetime. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<inbox2Id>",
          "snooze_until": "2026-10-12T09:00:00.000Z",
          "reason": "After the launch"
        },
        "reply": {
          "id": "<inbox2Id>",
          "type": "note",
          "title": "Idea 2",
          "content": "Idea 2: follow up on the launch",
          "createdAt": "2026-10-07T11:17:25.773Z",
          "modifiedAt": "2026-10-07T11:17:31.179Z",
          "filedAt": null,
          "filedTo": null,
          "filedAction": null,
          "snoozedUntil": "2026-10-12T09:00:00.000Z",
          "snoozeReason": "After the launch",
          "viewedAt": null,
          "archivedAt": null,
          "processingStatus": "complete",
          "processingError": null,
          "metadata": null,
          "attachmentPath": null,
          "attachmentUrl": null,
          "thumbnailPath": null,
          "thumbnailUrl": null,
          "transcription": null,
          "transcriptionStatus": null,
          "sourceUrl": null,
          "sourceTitle": null,
          "captureSource": null,
          "tags": [],
          "isStale": false,
          "href": "memry://inbox/<inbox2Id>",
          "source_ref": {
            "kind": "inbox",
            "id": "<inbox2Id>",
            "title": "Idea 2",
            "href": "memry://inbox/<inbox2Id>"
          },
          "sources": [
            {
              "kind": "inbox",
              "id": "<inbox2Id>",
              "title": "Idea 2",
              "href": "memry://inbox/<inbox2Id>"
            }
          ]
        }
      }
    },
    "vault_archive_inbox_item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Archive an inbox item. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<inbox3Id>"
        },
        "reply": {
          "id": "<inbox3Id>",
          "type": "note",
          "title": "Idea 3",
          "content": "Idea 3: follow up on the launch",
          "createdAt": "2026-10-07T11:17:25.780Z",
          "modifiedAt": "2026-10-07T11:17:25.780Z",
          "filedAt": null,
          "filedTo": null,
          "filedAction": null,
          "snoozedUntil": null,
          "snoozeReason": null,
          "viewedAt": null,
          "archivedAt": "2026-10-07T11:17:31.187Z",
          "processingStatus": "complete",
          "processingError": null,
          "metadata": null,
          "attachmentPath": null,
          "attachmentUrl": null,
          "thumbnailPath": null,
          "thumbnailUrl": null,
          "transcription": null,
          "transcriptionStatus": null,
          "sourceUrl": null,
          "sourceTitle": null,
          "captureSource": null,
          "tags": [],
          "isStale": false,
          "href": "memry://inbox/<inbox3Id>",
          "source_ref": {
            "kind": "inbox",
            "id": "<inbox3Id>",
            "title": "Idea 3",
            "href": "memry://inbox/<inbox3Id>"
          },
          "sources": [
            {
              "kind": "inbox",
              "id": "<inbox3Id>",
              "title": "Idea 3",
              "href": "memry://inbox/<inbox3Id>"
            }
          ]
        }
      }
    },
    "vault_unarchive_inbox_item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Unarchive an inbox item. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<inbox3Id>"
        },
        "reply": {
          "id": "<inbox3Id>",
          "type": "note",
          "title": "Idea 3",
          "content": "Idea 3: follow up on the launch",
          "createdAt": "2026-10-07T11:17:25.780Z",
          "modifiedAt": "2026-10-07T11:17:31.193Z",
          "filedAt": null,
          "filedTo": null,
          "filedAction": null,
          "snoozedUntil": null,
          "snoozeReason": null,
          "viewedAt": null,
          "archivedAt": null,
          "processingStatus": "complete",
          "processingError": null,
          "metadata": null,
          "attachmentPath": null,
          "attachmentUrl": null,
          "thumbnailPath": null,
          "thumbnailUrl": null,
          "transcription": null,
          "transcriptionStatus": null,
          "sourceUrl": null,
          "sourceTitle": null,
          "captureSource": null,
          "tags": [],
          "isStale": false,
          "href": "memry://inbox/<inbox3Id>",
          "source_ref": {
            "kind": "inbox",
            "id": "<inbox3Id>",
            "title": "Idea 3",
            "href": "memry://inbox/<inbox3Id>"
          },
          "sources": [
            {
              "kind": "inbox",
              "id": "<inbox3Id>",
              "title": "Idea 3",
              "href": "memry://inbox/<inbox3Id>"
            }
          ]
        }
      }
    },
    "vault_delete_inbox_item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Permanently delete an inbox item. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<inbox15Id>"
        },
        "reply": {
          "id": "<inbox15Id>"
        }
      }
    },
    "vault_add_inbox_tag": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "tag": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id", "tag"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Add a tag to an inbox item. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<inboxId>",
          "tag": "errands"
        },
        "reply": {
          "id": "<inboxId>",
          "type": "note",
          "title": "Call the printer about flyers",
          "content": "Call the printer about flyers",
          "createdAt": "2026-10-07T11:17:25.759Z",
          "modifiedAt": "2026-10-07T11:17:31.172Z",
          "filedAt": null,
          "filedTo": null,
          "filedAction": null,
          "snoozedUntil": null,
          "snoozeReason": null,
          "viewedAt": null,
          "archivedAt": null,
          "processingStatus": "complete",
          "processingError": null,
          "metadata": null,
          "attachmentPath": null,
          "attachmentUrl": null,
          "thumbnailPath": null,
          "thumbnailUrl": null,
          "transcription": null,
          "transcriptionStatus": null,
          "sourceUrl": null,
          "sourceTitle": null,
          "captureSource": null,
          "tags": ["errands"],
          "isStale": false,
          "href": "memry://inbox/<inboxId>",
          "source_ref": {
            "kind": "inbox",
            "id": "<inboxId>",
            "title": "Call the printer about flyers",
            "href": "memry://inbox/<inboxId>"
          },
          "sources": [
            {
              "kind": "inbox",
              "id": "<inboxId>",
              "title": "Call the printer about flyers",
              "href": "memry://inbox/<inboxId>"
            }
          ]
        }
      }
    },
    "vault_remove_inbox_tag": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "tag": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id", "tag"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Remove a tag from an inbox item. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<inboxId>",
          "tag": "errands"
        },
        "reply": {
          "id": "<inboxId>",
          "type": "note",
          "title": "Call the printer about flyers",
          "content": "Call the printer about flyers",
          "createdAt": "2026-10-07T11:17:25.759Z",
          "modifiedAt": "2026-10-07T11:17:31.172Z",
          "filedAt": null,
          "filedTo": null,
          "filedAction": null,
          "snoozedUntil": null,
          "snoozeReason": null,
          "viewedAt": null,
          "archivedAt": null,
          "processingStatus": "complete",
          "processingError": null,
          "metadata": null,
          "attachmentPath": null,
          "attachmentUrl": null,
          "thumbnailPath": null,
          "thumbnailUrl": null,
          "transcription": null,
          "transcriptionStatus": null,
          "sourceUrl": null,
          "sourceTitle": null,
          "captureSource": null,
          "tags": [],
          "isStale": false,
          "href": "memry://inbox/<inboxId>",
          "source_ref": {
            "kind": "inbox",
            "id": "<inboxId>",
            "title": "Call the printer about flyers",
            "href": "memry://inbox/<inboxId>"
          },
          "sources": [
            {
              "kind": "inbox",
              "id": "<inboxId>",
              "title": "Call the printer about flyers",
              "href": "memry://inbox/<inboxId>"
            }
          ]
        }
      }
    },
    "vault_update_note": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "mode": {
          "type": "string",
          "enum": ["append", "prepend", "replace"]
        },
        "content_markdown": {
          "type": "string"
        }
      },
      "required": ["id", "mode", "content_markdown"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Update note body. Checkbox lines you add are stored as plain checkboxes, marked {check}, unless the owner turned on task conversion for agents; then they become tasks and the reply lists them in created_tasks. Create tasks with vault_create_task. Replies with the note as stored: title, folder_path, tags, properties, body_bytes and body_sha256 (UTF-8 body as the file stores it, which ends with a newline), plus tags_added and tags_removed when inline #tags in the body changed the tag set. Requires user approval with diff preview.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<noteId>",
          "mode": "append",
          "content_markdown": "## Open questions\n\n- Who signs off the copy?\n"
        },
        "reply": {
          "id": "<noteId>",
          "title": "Website relaunch plan",
          "folder_path": "Projects",
          "tags": ["website", "planning"],
          "properties": {
            "stage": "idea",
            "project": ["Website relaunch"]
          },
          "body_bytes": 157,
          "body_sha256": "e82d7ca54ab5461efbe70840144f8b5d0ba267fa53f2e33d0683ce7cd93b6c86",
          "tags_added": [],
          "tags_removed": [],
          "href": "memry://note/<noteId>",
          "source_ref": {
            "kind": "note",
            "id": "<noteId>",
            "title": "Website relaunch plan",
            "href": "memry://note/<noteId>"
          },
          "sources": [
            {
              "kind": "note",
              "id": "<noteId>",
              "title": "Website relaunch plan",
              "href": "memry://note/<noteId>"
            }
          ]
        }
      }
    },
    "vault_add_html_artifact": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "description": "ID of the existing note to append the artifact to, exactly as returned by a vault read/search tool. Not a name for the artifact."
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "description": "Artifact title, used as the file name."
        },
        "html": {
          "type": "string",
          "minLength": 1,
          "maxLength": 524288
        }
      },
      "required": ["id", "title", "html"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Append a self-contained HTML artifact (diagram, chart, interactive explanation) to an existing markdown note identified by `id` (the note id, not an artifact name). It is saved as a note attachment and rendered inline in a sandboxed iframe. Write one complete HTML document with inline CSS/JS. It cannot read the vault, the note, or sibling files; external scripts/styles/fonts load only over https (e.g. a CDN). Do not use alert/confirm/prompt. Keep it compact and readable in light and dark themes. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<noteId>",
          "title": "Launch timeline",
          "html": "<h1>Launch timeline</h1><ol><li>Copy freeze</li><li>QA</li><li>Go live</li></ol>"
        },
        "reply": {
          "id": "<noteId>",
          "title": "Website relaunch plan",
          "folder_path": "Projects",
          "tags": ["website", "planning"],
          "properties": {
            "stage": "idea",
            "project": ["Website relaunch"]
          },
          "body_bytes": 302,
          "body_sha256": "0de41acc3e86e5bc0530bf0d455fa83fa1a29a772c28b5a491bbc60cf3cb3845",
          "url": "../attachments/<noteId>/ktqceh-Launch-timeline.html",
          "href": "memry://note/<noteId>",
          "source_ref": {
            "kind": "note",
            "id": "<noteId>",
            "title": "Website relaunch plan",
            "href": "memry://note/<noteId>"
          },
          "sources": [
            {
              "kind": "note",
              "id": "<noteId>",
              "title": "Website relaunch plan",
              "href": "memry://note/<noteId>"
            }
          ]
        }
      }
    },
    "vault_update_task": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        },
        "status": {
          "type": "string"
        },
        "status_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "project_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "due": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "due_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "due_time": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\d{2}:\\d{2}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "start_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "priority": {
          "type": "integer",
          "minimum": 0,
          "maximum": 4
        },
        "notes": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 10000
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 10000
            },
            {
              "type": "null"
            }
          ]
        },
        "is_repeating": {
          "type": "boolean"
        },
        "repeat_config": {
          "anyOf": [
            {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            {
              "type": "null"
            }
          ]
        },
        "repeat_from": {
          "anyOf": [
            {
              "type": "string",
              "enum": ["due", "completion"]
            },
            {
              "type": "null"
            }
          ]
        },
        "tags": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 50
          }
        },
        "linked_note_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Update task fields; absent fields are left alone. status \"completed\" or \"open\" completes or reopens the task and ignores every other field in that call, so send field edits separately. Any other status, or status_id, is a status id from vault_list_statuses. due_date/due and description/notes are aliases. Requires user approval with before/after preview.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<taskId>",
          "priority": 3,
          "due_date": "2026-10-15"
        },
        "reply": {
          "id": "<taskId>",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Write landing page copy",
          "description": null,
          "priority": 3,
          "position": 0,
          "dueDate": "2026-10-15",
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 2
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {},
            "priority": {
              "_offline": 1
            },
            "position": {},
            "dueDate": {
              "_offline": 1
            },
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {}
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.637Z",
          "modifiedAt": "2026-10-07T11:17:30.898Z",
          "isRepeating": false,
          "tags": ["website"],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": true,
          "subtaskCount": 1,
          "completedSubtaskCount": 0,
          "href": "memry://task/<taskId>",
          "source_ref": {
            "kind": "task",
            "id": "<taskId>",
            "title": "Write landing page copy",
            "href": "memry://task/<taskId>"
          },
          "sources": [
            {
              "kind": "task",
              "id": "<taskId>",
              "title": "Write landing page copy",
              "href": "memry://task/<taskId>"
            }
          ]
        }
      }
    },
    "vault_add_tag": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "kind": {
          "type": "string",
          "enum": ["note", "task"]
        },
        "tag": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id", "kind", "tag"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Add a tag to a note or task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<noteId>",
          "kind": "note",
          "tag": "q4"
        },
        "reply": {
          "id": "<noteId>",
          "title": "Website relaunch plan",
          "folder_path": "Projects",
          "tags": ["website", "planning", "q4"],
          "properties": {
            "stage": "idea",
            "project": ["Website relaunch"]
          },
          "body_bytes": 302,
          "body_sha256": "0de41acc3e86e5bc0530bf0d455fa83fa1a29a772c28b5a491bbc60cf3cb3845"
        }
      }
    },
    "vault_remove_tag": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "kind": {
          "type": "string",
          "enum": ["note", "task"]
        },
        "tag": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id", "kind", "tag"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Remove a tag from a note or task. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<noteId>",
          "kind": "note",
          "tag": "q4"
        },
        "reply": {
          "id": "<noteId>",
          "title": "Website relaunch plan",
          "folder_path": "Projects",
          "tags": ["website", "planning"],
          "properties": {
            "stage": "idea",
            "project": ["Website relaunch"]
          },
          "body_bytes": 302,
          "body_sha256": "0de41acc3e86e5bc0530bf0d455fa83fa1a29a772c28b5a491bbc60cf3cb3845"
        }
      }
    },
    "vault_move_to_folder": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "folder_path": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["id", "folder_path"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Move a note to a folder. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "id": "<moveNoteId>",
          "folder_path": "Archive"
        },
        "reply": {
          "id": "<moveNoteId>",
          "title": "Old pricing ideas",
          "folder_path": "Archive",
          "tags": [],
          "properties": {},
          "body_bytes": 13,
          "body_sha256": "43920b70dcf9b1840eab70016c64aa00bb2d1f2357c8ca54e383301ef3c2a43e",
          "href": "memry://note/<moveNoteId>",
          "source_ref": {
            "kind": "note",
            "id": "<moveNoteId>",
            "title": "Old pricing ideas",
            "href": "memry://note/<moveNoteId>"
          },
          "sources": [
            {
              "kind": "note",
              "id": "<moveNoteId>",
              "title": "Old pricing ideas",
              "href": "memry://note/<moveNoteId>"
            }
          ]
        }
      }
    },
    "vault_add_canvas_item": {
      "type": "object",
      "properties": {
        "canvas_id": {
          "type": "string",
          "minLength": 1
        },
        "items": {
          "minItems": 1,
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "entity_type": {
                "type": "string",
                "enum": ["note", "task", "calendar_event"]
              },
              "entity_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": ["entity_type", "entity_id"],
            "additionalProperties": false
          }
        }
      },
      "required": ["canvas_id", "items"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Put existing notes/tasks/events on a canvas as cards. Applies to the open editor when the user has that canvas open. Takes the canvas id or its folder-qualified name (\"Work/Plan\") from vault_list_canvases; a bare title matching more than one canvas is refused with the candidates listed. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "canvas_id": "<canvasId>",
          "items": [
            {
              "entity_type": "note",
              "entity_id": "<noteId>"
            },
            {
              "entity_type": "task",
              "entity_id": "<taskId>"
            }
          ]
        },
        "reply": {
          "canvas_id": "<canvasId>",
          "applied": [
            {
              "entity_type": "note",
              "entity_id": "<noteId>"
            },
            {
              "entity_type": "task",
              "entity_id": "<taskId>"
            }
          ],
          "skipped": [],
          "updated_at": 1791371851266,
          "too_large": false
        }
      }
    },
    "vault_remove_canvas_item": {
      "type": "object",
      "properties": {
        "canvas_id": {
          "type": "string",
          "minLength": 1
        },
        "entity_type": {
          "type": "string",
          "enum": ["note", "task", "calendar_event"]
        },
        "entity_id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["canvas_id", "entity_type", "entity_id"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Remove an entity's card from a canvas, clearing any arrows bound to it. The note/task/event itself is not deleted. Takes the canvas id or its folder-qualified name (\"Work/Plan\") from vault_list_canvases; a bare title matching more than one canvas is refused with the candidates listed. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "canvas_id": "<canvasId>",
          "entity_type": "task",
          "entity_id": "<taskId>"
        },
        "reply": {
          "canvas_id": "<canvasId>",
          "applied": [
            {
              "entity_type": "task",
              "entity_id": "<taskId>"
            }
          ],
          "skipped": [],
          "updated_at": 1791371851278,
          "too_large": false
        }
      }
    },
    "vault_create_canvas": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        }
      },
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Create an empty spatial canvas and return its id. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "title": "Retro board"
        },
        "reply": {
          "id": "SPbu6lPRlk4Uky0VyvQz7",
          "title": "Retro board",
          "folder": null,
          "icon": null,
          "ownerNoteId": null,
          "createdAt": 1791371851217,
          "updatedAt": 1791371851217,
          "scene": "{\"type\":\"excalidraw\",\"version\":2,\"source\":\"memry\",\"elements\":[],\"appState\":{},\"files\":{}}"
        }
      }
    },
    "vault_draw_on_canvas": {
      "type": "object",
      "properties": {
        "canvas_id": {
          "type": "string",
          "minLength": 1
        },
        "elements": {
          "minItems": 1,
          "maxItems": 300,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ref": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "type": {
                "type": "string",
                "enum": [
                  "rectangle",
                  "ellipse",
                  "diamond",
                  "text",
                  "arrow",
                  "line",
                  "freedraw",
                  "frame",
                  "image",
                  "embeddable"
                ]
              },
              "x": {
                "type": "number"
              },
              "y": {
                "type": "number"
              },
              "width": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000
              },
              "height": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000
              },
              "strokeColor": {
                "type": "string",
                "pattern": "^(#[0-9a-fA-F]{3}|#[0-9a-fA-F]{6}|#[0-9a-fA-F]{8}|transparent)$"
              },
              "backgroundColor": {
                "type": "string",
                "pattern": "^(#[0-9a-fA-F]{3}|#[0-9a-fA-F]{6}|#[0-9a-fA-F]{8}|transparent)$"
              },
              "fillStyle": {
                "type": "string",
                "enum": ["hachure", "cross-hatch", "solid", "zigzag"]
              },
              "strokeWidth": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 20
              },
              "strokeStyle": {
                "type": "string",
                "enum": ["solid", "dashed", "dotted"]
              },
              "roughness": {
                "type": "number",
                "minimum": 0,
                "maximum": 2
              },
              "opacity": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "roundness": {
                "type": "string",
                "enum": ["sharp", "round"]
              },
              "angle": {
                "type": "number"
              },
              "locked": {
                "type": "boolean"
              },
              "link": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 2048
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "text": {
                "type": "string",
                "maxLength": 20000
              },
              "fontSize": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 200
              },
              "fontFamily": {
                "type": "string",
                "enum": ["hand-drawn", "normal", "code", "lilita"]
              },
              "textAlign": {
                "type": "string",
                "enum": ["left", "center", "right"]
              },
              "verticalAlign": {
                "type": "string",
                "enum": ["top", "middle", "bottom"]
              },
              "label": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "fontSize": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 200
                  },
                  "fontFamily": {
                    "type": "string",
                    "enum": ["hand-drawn", "normal", "code", "lilita"]
                  },
                  "textAlign": {
                    "type": "string",
                    "enum": ["left", "center", "right"]
                  },
                  "verticalAlign": {
                    "type": "string",
                    "enum": ["top", "middle", "bottom"]
                  },
                  "strokeColor": {
                    "type": "string",
                    "pattern": "^(#[0-9a-fA-F]{3}|#[0-9a-fA-F]{6}|#[0-9a-fA-F]{8}|transparent)$"
                  }
                },
                "required": ["text"],
                "additionalProperties": false
              },
              "start": {
                "type": "object",
                "properties": {
                  "ref": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "elementId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128
                  }
                },
                "additionalProperties": false
              },
              "end": {
                "type": "object",
                "properties": {
                  "ref": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "elementId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128
                  }
                },
                "additionalProperties": false
              },
              "startArrowhead": {
                "type": "string",
                "enum": [
                  "none",
                  "arrow",
                  "bar",
                  "dot",
                  "triangle",
                  "triangle_outline",
                  "diamond",
                  "diamond_outline",
                  "circle",
                  "circle_outline",
                  "crowfoot_one",
                  "crowfoot_many",
                  "crowfoot_one_or_many"
                ]
              },
              "endArrowhead": {
                "type": "string",
                "enum": [
                  "none",
                  "arrow",
                  "bar",
                  "dot",
                  "triangle",
                  "triangle_outline",
                  "diamond",
                  "diamond_outline",
                  "circle",
                  "circle_outline",
                  "crowfoot_one",
                  "crowfoot_many",
                  "crowfoot_one_or_many"
                ]
              },
              "points": {
                "minItems": 2,
                "maxItems": 500,
                "type": "array",
                "items": {
                  "type": "array",
                  "prefixItems": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "number"
                    }
                  ]
                }
              },
              "pressures": {
                "maxItems": 500,
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1
                }
              },
              "children": {
                "maxItems": 200,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                }
              },
              "name": {
                "type": "string",
                "maxLength": 200
              },
              "fileId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "url": {
                "type": "string",
                "maxLength": 2048
              }
            },
            "required": ["type"],
            "additionalProperties": false
          }
        }
      },
      "required": ["canvas_id", "elements"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Draw on a canvas: rectangles, ellipses, diamonds, text, arrows, lines, freedraw, frames, images and embeds. Element fields are Excalidraw's own skeleton fields in camelCase (strokeColor, backgroundColor, fillStyle, strokeWidth, strokeStyle, roughness, opacity, roundness, fontSize, points, ...), so a shape is e.g. {\"type\":\"rectangle\",\"x\":0,\"y\":0,\"width\":240,\"height\":120,\"backgroundColor\":\"#ffec99\",\"label\":{\"text\":\"Chapter 1\"}}. Give an element a \"ref\" to point arrows at it or put it in a frame within the same call; bind to something already on the canvas with {\"elementId\":\"...\"} from vault_read_canvas_elements. An arrow with start and end is a REAL binding — it follows the shapes when the user drags them: {\"type\":\"arrow\",\"start\":{\"ref\":\"a\"},\"end\":{\"elementId\":\"...\"},\"endArrowhead\":\"arrow\",\"label\":{\"text\":\"leads to\"}}. Coordinates are scene coordinates; x/y default to 0, so read the canvas first and place relative to what is there. To put a note/task/event on the canvas use vault_add_canvas_item — this tool cannot mint entity cards. Images need a fileId already attached to the canvas. Takes the canvas id or its folder-qualified name (\"Work/Plan\") from vault_list_canvases; a bare title matching more than one canvas is refused with the candidates listed. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "canvas_id": "<canvasId>",
          "elements": [
            {
              "ref": "idea",
              "type": "rectangle",
              "x": 0,
              "y": 0,
              "width": 200,
              "height": 80,
              "text": "Idea",
              "backgroundColor": "#fef3c7",
              "fillStyle": "solid"
            },
            {
              "ref": "ship",
              "type": "ellipse",
              "x": 320,
              "y": 0,
              "width": 160,
              "height": 80,
              "text": "Ship"
            },
            {
              "type": "arrow",
              "start": {
                "ref": "idea"
              },
              "end": {
                "ref": "ship"
              }
            }
          ]
        },
        "reply": {
          "canvas_id": "<canvasId>",
          "refs": {
            "idea": "15d3abd6-4ea5-436d-be05-63a86ad394f7",
            "ship": "4bac36aa-c703-4881-911a-182365aae30e"
          },
          "created_ids": [
            "15d3abd6-4ea5-436d-be05-63a86ad394f7",
            "4bac36aa-c703-4881-911a-182365aae30e",
            "83b2c387-b992-403b-bcce-51798d619802"
          ],
          "updated_ids": [],
          "deleted_ids": [],
          "missing_ids": [],
          "updated_at": 1791371851290,
          "too_large": false
        }
      }
    },
    "vault_edit_canvas_elements": {
      "type": "object",
      "properties": {
        "canvas_id": {
          "type": "string",
          "minLength": 1
        },
        "edits": {
          "minItems": 1,
          "maxItems": 300,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "elementId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "delete": {
                "type": "boolean"
              },
              "x": {
                "type": "number"
              },
              "y": {
                "type": "number"
              },
              "width": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000
              },
              "height": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000
              },
              "strokeColor": {
                "type": "string",
                "pattern": "^(#[0-9a-fA-F]{3}|#[0-9a-fA-F]{6}|#[0-9a-fA-F]{8}|transparent)$"
              },
              "backgroundColor": {
                "type": "string",
                "pattern": "^(#[0-9a-fA-F]{3}|#[0-9a-fA-F]{6}|#[0-9a-fA-F]{8}|transparent)$"
              },
              "fillStyle": {
                "type": "string",
                "enum": ["hachure", "cross-hatch", "solid", "zigzag"]
              },
              "strokeWidth": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 20
              },
              "strokeStyle": {
                "type": "string",
                "enum": ["solid", "dashed", "dotted"]
              },
              "roughness": {
                "type": "number",
                "minimum": 0,
                "maximum": 2
              },
              "opacity": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "roundness": {
                "type": "string",
                "enum": ["sharp", "round"]
              },
              "angle": {
                "type": "number"
              },
              "locked": {
                "type": "boolean"
              },
              "link": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 2048
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "text": {
                "type": "string",
                "maxLength": 20000
              },
              "fontSize": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 200
              },
              "fontFamily": {
                "type": "string",
                "enum": ["hand-drawn", "normal", "code", "lilita"]
              },
              "textAlign": {
                "type": "string",
                "enum": ["left", "center", "right"]
              },
              "verticalAlign": {
                "type": "string",
                "enum": ["top", "middle", "bottom"]
              },
              "startArrowhead": {
                "type": "string",
                "enum": [
                  "none",
                  "arrow",
                  "bar",
                  "dot",
                  "triangle",
                  "triangle_outline",
                  "diamond",
                  "diamond_outline",
                  "circle",
                  "circle_outline",
                  "crowfoot_one",
                  "crowfoot_many",
                  "crowfoot_one_or_many"
                ]
              },
              "endArrowhead": {
                "type": "string",
                "enum": [
                  "none",
                  "arrow",
                  "bar",
                  "dot",
                  "triangle",
                  "triangle_outline",
                  "diamond",
                  "diamond_outline",
                  "circle",
                  "circle_outline",
                  "crowfoot_one",
                  "crowfoot_many",
                  "crowfoot_one_or_many"
                ]
              },
              "name": {
                "type": "string",
                "maxLength": 200
              }
            },
            "required": ["elementId"],
            "additionalProperties": false
          }
        }
      },
      "required": ["canvas_id", "edits"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Move, restyle, retext or delete elements already on a canvas, by element id from vault_read_canvas_elements. Absent fields are left alone; {\"delete\":true} removes the element and clears any arrow bound to it. Works on entity cards too (move and restyle them), except their text, which lives in the note. Takes the canvas id or its folder-qualified name (\"Work/Plan\") from vault_list_canvases; a bare title matching more than one canvas is refused with the candidates listed. Requires user approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "canvas_id": "<canvasId>",
          "edits": [
            {
              "elementId": "<drawnElementId>",
              "backgroundColor": "#dcfce7",
              "text": "Idea (approved)"
            }
          ]
        },
        "reply": {
          "canvas_id": "<canvasId>",
          "refs": {},
          "created_ids": [],
          "updated_ids": ["<drawnElementId>"],
          "deleted_ids": [],
          "missing_ids": [],
          "updated_at": 1791371851310,
          "too_large": false
        }
      }
    },
    "vault_desktop_write": {
      "type": "object",
      "properties": {
        "operation": {
          "type": "string",
          "enum": [
            "notes.create",
            "notes.update",
            "notes.rename",
            "notes.move",
            "notes.delete",
            "notes.createFolder",
            "notes.renameFolder",
            "notes.deleteFolder",
            "notes.createPropertyDefinition",
            "notes.updatePropertyDefinition",
            "notes.ensurePropertyDefinition",
            "notes.addPropertyOption",
            "notes.addStatusOption",
            "notes.removePropertyOption",
            "notes.renamePropertyOption",
            "notes.updateOptionColor",
            "notes.deletePropertyDefinition",
            "notes.uploadAttachment",
            "notes.deleteAttachment",
            "notes.setFolderConfig",
            "notes.restoreVersion",
            "notes.deleteVersion",
            "notes.reorder",
            "notes.importFiles",
            "notes.setLocalOnly",
            "notes.setCalendarPropertyVisibility",
            "notes.applyTemplate",
            "notes.exportPdf",
            "notes.exportHtml",
            "tasks.create",
            "tasks.update",
            "tasks.delete",
            "tasks.complete",
            "tasks.uncomplete",
            "tasks.archive",
            "tasks.unarchive",
            "tasks.move",
            "tasks.reorder",
            "tasks.duplicate",
            "tasks.convertToSubtask",
            "tasks.convertToTask",
            "tasks.createProject",
            "tasks.updateProject",
            "tasks.deleteProject",
            "tasks.archiveProject",
            "tasks.reorderProjects",
            "tasks.linkProjectItem",
            "tasks.unlinkProjectItem",
            "tasks.setProjectLinkPinned",
            "tasks.setProjectHomeNote",
            "tasks.captureUrlToProject",
            "tasks.importFilesToProject",
            "tasks.createStatus",
            "tasks.updateStatus",
            "tasks.deleteStatus",
            "tasks.reorderStatuses",
            "tasks.bulkComplete",
            "tasks.bulkDelete",
            "tasks.bulkMove",
            "tasks.bulkArchive",
            "inbox.captureText",
            "inbox.captureLink",
            "inbox.captureImage",
            "inbox.captureVoice",
            "inbox.captureClip",
            "inbox.capturePdf",
            "inbox.update",
            "inbox.archive",
            "inbox.file",
            "inbox.trackSuggestion",
            "inbox.convertToNote",
            "inbox.convertToTask",
            "inbox.convertToEvent",
            "inbox.convertToReminder",
            "inbox.linkToNote",
            "inbox.addTag",
            "inbox.removeTag",
            "inbox.snooze",
            "inbox.unsnooze",
            "inbox.markViewed",
            "inbox.bulkFile",
            "inbox.bulkArchive",
            "inbox.bulkTag",
            "inbox.bulkSnooze",
            "inbox.fileAllStale",
            "inbox.retryTranscription",
            "inbox.retryMetadata",
            "inbox.setStaleThreshold",
            "inbox.unarchive",
            "inbox.deletePermanent",
            "inbox.undoFile",
            "inbox.undoArchive",
            "journal.createEntry",
            "journal.updateEntry",
            "journal.deleteEntry",
            "properties.set",
            "properties.rename",
            "templates.create",
            "templates.update",
            "templates.delete",
            "templates.duplicate",
            "savedFilters.create",
            "savedFilters.update",
            "savedFilters.delete",
            "savedFilters.reorder",
            "bookmarks.create",
            "bookmarks.delete",
            "bookmarks.toggle",
            "bookmarks.reorder",
            "bookmarks.bulkDelete",
            "bookmarks.bulkCreate",
            "tags.pinNoteToTag",
            "tags.unpinNoteFromTag",
            "tags.renameTag",
            "tags.updateTagColor",
            "tags.deleteTag",
            "tags.removeTagFromNote",
            "tags.mergeTag",
            "tags.updateTagIcon",
            "tags.createCategory",
            "tags.renameCategory",
            "tags.deleteCategory",
            "tags.reorder",
            "folderView.setConfig",
            "folderView.setView",
            "folderView.deleteView",
            "reminders.create",
            "reminders.update",
            "reminders.delete",
            "reminders.dismiss",
            "reminders.snooze",
            "reminders.bulkDismiss",
            "calendar.createEvent",
            "calendar.updateEvent",
            "calendar.deleteEvent",
            "settings.set",
            "settings.setJournalSettings",
            "settings.setAISettings",
            "settings.setVoiceTranscriptionSettings",
            "settings.setTabSettings",
            "settings.setNoteEditorSettings",
            "settings.setGeneralSettings",
            "settings.setEditorSettings",
            "settings.setTaskSettings",
            "settings.setKeyboardSettings",
            "settings.resetKeyboardSettings",
            "settings.setSyncSettings",
            "settings.setBackupSettings",
            "settings.setGraphSettings",
            "settings.setCalendarSettings",
            "settings.setFeaturesSettings",
            "settings.setInboxSettings",
            "search.rebuildIndex",
            "search.addReason",
            "search.clearReasons",
            "homePages.create",
            "homePages.update",
            "homePages.delete",
            "homePages.reorder",
            "vault.switch",
            "vault.reindex",
            "vault.updateConfig",
            "vault.downloadRemote",
            "canvas.create",
            "canvas.delete"
          ]
        },
        "args": {
          "default": [],
          "type": "array",
          "items": {}
        }
      },
      "required": ["operation"],
      "additionalProperties": false,
      "x-memry-kind": "tool",
      "x-memry-description": "Run an allowlisted desktop CRUD mutation. `args` are the positional arguments of the operation; a call with more arguments than the operation takes is refused, so put options inside its input object. A write whose reply carries no record gets a `stored` field read back after the write. properties.set(entityId, properties) replaces the entity's whole property record: a property left out is deleted, except the legacy id, title, created and modified keys, which are kept unless the call names them (null deletes one). The reply lists the stored `properties` and the names it `removed`. Requires user approval. Replies follow the vault_desktop_read rules for filed files and replies over 100 KB. vault_desktop_describe returns each operation's argument schema; a call that does not match it is refused before approval.",
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "arguments": {
          "operation": "notes.ensurePropertyDefinition",
          "args": ["priority", "select"]
        },
        "reply": {
          "success": true,
          "stored": {
            "name": "priority",
            "type": "select",
            "options": "[]",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:31.327Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "notes.get": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a note by id: its markdown content, frontmatter, tags and metadata.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.get(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<noteId>"],
        "reply": {
          "id": "<noteId>",
          "path": "Projects/Website relaunch plan.md",
          "title": "Website relaunch plan",
          "content": "# Website relaunch plan\n\nSecond draft.\n\n## Goals\n\n- Faster pages\n- Clearer pricing\n\nSee [[Launch checklist]].\n",
          "frontmatter": {
            "tags": ["website", "planning"],
            "stage": "idea",
            "project": ["Website relaunch"]
          },
          "created": "2026-10-07T11:17:24.017Z",
          "modified": "2026-10-07T11:17:25.736Z",
          "tags": ["website", "planning"],
          "aliases": [],
          "wordCount": 17,
          "properties": {
            "stage": "idea",
            "project": ["Website relaunch"]
          },
          "emoji": null
        }
      }
    },
    "notes.getByPath": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a note by its vault-relative file path.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getByPath(path)",
      "x-memry-params": [
        {
          "name": "path",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Projects/Website relaunch plan.md"],
        "reply": {
          "id": "<noteId>",
          "path": "Projects/Website relaunch plan.md",
          "title": "Website relaunch plan",
          "content": "# Website relaunch plan\n\nSecond draft.\n\n## Goals\n\n- Faster pages\n- Clearer pricing\n\nSee [[Launch checklist]].\n",
          "frontmatter": {
            "tags": ["website", "planning"],
            "stage": "idea",
            "project": ["Website relaunch"]
          },
          "created": "2026-10-07T11:17:24.017Z",
          "modified": "2026-10-07T11:17:25.736Z",
          "tags": ["website", "planning"],
          "aliases": [],
          "wordCount": 17,
          "properties": {
            "stage": "idea",
            "project": ["Website relaunch"]
          },
          "emoji": null
        }
      }
    },
    "notes.getFile": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a filed file (PDF, image, audio, video) by id: its path and metadata.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getFile(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<fileId>"],
        "reply": {
          "id": "<fileId>",
          "path": "Projects/report.pdf",
          "absolutePath": "<vault>/Projects/report.pdf",
          "title": "report",
          "fileType": "pdf",
          "mimeType": "application/pdf",
          "fileSize": 590,
          "created": "2026-10-07T11:17:19.741Z",
          "modified": "2026-10-07T11:17:25.104Z",
          "transcription": null,
          "transcriptionStatus": null
        }
      }
    },
    "notes.resolveByTitle": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Find the note with this exact title; null when none matches.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.resolveByTitle(title)",
      "x-memry-params": [
        {
          "name": "title",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Launch checklist"],
        "reply": {
          "id": "<note2Id>",
          "path": "Projects/Launch checklist.md",
          "title": "Launch checklist",
          "fileType": "markdown"
        }
      }
    },
    "notes.resolveWikiTarget": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Resolve the target of a [[wiki link]] the way the editor does, including #heading targets.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.resolveWikiTarget(target)",
      "x-memry-params": [
        {
          "name": "target",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Website relaunch plan#Goals"],
        "reply": {
          "id": "<noteId>",
          "path": "Projects/Website relaunch plan.md",
          "title": "Website relaunch plan",
          "fileType": "markdown",
          "heading": "Goals"
        }
      }
    },
    "notes.previewByTitle": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "A short preview (title, snippet, metadata) of the note with this title.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.previewByTitle(title)",
      "x-memry-params": [
        {
          "name": "title",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Launch checklist"],
        "reply": {
          "id": "<note2Id>",
          "title": "Launch checklist",
          "emoji": null,
          "snippet": "Launch checklist - [ ] DNS",
          "tags": [
            {
              "name": "website",
              "color": "violet"
            },
            {
              "name": "obsolete",
              "color": "blue"
            }
          ],
          "createdAt": "2026-10-07T11:17:24.117Z"
        }
      }
    },
    "notes.list": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "folder": {
                  "type": "string"
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "sortBy": {
                  "default": "modified",
                  "type": "string",
                  "enum": ["modified", "created", "title", "position"]
                },
                "sortOrder": {
                  "default": "desc",
                  "type": "string",
                  "enum": ["asc", "desc"]
                },
                "limit": {
                  "default": 100,
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 10000
                },
                "offset": {
                  "default": 0,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "fields": {
                  "type": "string",
                  "enum": ["full", "tree"]
                },
                "includeJournals": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "List notes, filtered by folder or tags, sorted and paged.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.list(options?)",
      "x-memry-params": [
        {
          "name": "options",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "folder": "Projects",
            "sortBy": "title",
            "limit": 3
          }
        ],
        "reply": {
          "notes": [
            {
              "id": "<fileId>",
              "path": "Projects/report.pdf",
              "title": "report",
              "created": "2026-10-07T11:17:19.741Z",
              "modified": "2026-10-07T11:17:25.104Z",
              "tags": [],
              "wordCount": null,
              "emoji": null,
              "localOnly": false,
              "fileType": "pdf",
              "mimeType": "application/pdf",
              "fileSize": 590
            },
            {
              "id": "<noteId>",
              "path": "Projects/Website relaunch plan.md",
              "title": "Website relaunch plan",
              "created": "2026-10-07T11:17:24.017Z",
              "modified": "2026-10-07T11:17:25.736Z",
              "tags": ["planning", "website"],
              "wordCount": 17,
              "snippet": "Website relaunch plan Second draft. Goals - Faster pages - Clearer pricing See Launch checklist.",
              "emoji": null,
              "localOnly": false,
              "fileType": "markdown",
              "mimeType": null,
              "fileSize": null
            },
            {
              "id": "<deleteNote2Id>",
              "path": "Projects/Scratch 2.md",
              "title": "Scratch 2",
              "created": "2026-10-07T11:17:24.969Z",
              "modified": "2026-10-07T11:17:24.969Z",
              "tags": [],
              "wordCount": 1,
              "snippet": "temp",
              "emoji": null,
              "localOnly": false,
              "fileType": "markdown",
              "mimeType": null,
              "fileSize": null
            }
          ],
          "total": 7,
          "hasMore": true
        }
      }
    },
    "notes.getTags": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every tag used on notes, with how many notes carry it.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getTags()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": [
          {
            "tag": "website",
            "color": "violet",
            "count": 3
          },
          {
            "tag": "planning",
            "color": "indigo",
            "count": 2
          },
          {
            "tag": "active",
            "color": "pink",
            "count": 1
          }
        ]
      }
    },
    "notes.getLinks": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The outgoing links and backlinks of a note.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getLinks(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<noteId>"],
        "reply": {
          "outgoing": [
            {
              "sourceId": "<noteId>",
              "targetId": "<note2Id>",
              "targetTitle": "Launch checklist"
            }
          ],
          "incoming": []
        }
      }
    },
    "notes.getFolders": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every note folder path in the vault.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getFolders()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": [
          {
            "path": "Archive",
            "icon": null
          },
          {
            "path": "Meetings",
            "icon": null
          },
          {
            "path": "Projects",
            "icon": "folder"
          }
        ]
      }
    },
    "notes.exists": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Whether a note with this title or path exists.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.exists(titleOrPath)",
      "x-memry-params": [
        {
          "name": "titleOrPath",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Launch checklist"],
        "reply": true
      }
    },
    "notes.getPropertyDefinitions": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every property definition: name, type, options and colors.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getPropertyDefinitions()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": [
          {
            "name": "date",
            "type": "date",
            "options": null,
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:25.964Z",
            "clock": null,
            "syncedAt": null
          },
          {
            "name": "deadline",
            "type": "date",
            "options": null,
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:25.091Z",
            "clock": null,
            "syncedAt": null
          },
          {
            "name": "progress",
            "type": "status",
            "options": "{\"categories\":{\"todo\":{\"label\":\"To-do\",\"options\":[{\"value\":\"Not started\",\"color\":\"stone\",\"default\":true}]},\"in_progress\":{\"label\":\"In progress\",\"options\":[{\"value\":\"In Progress\",\"color\":\"amber\"}]},\"done\":{\"label\":\"Complete\",\"options\":[{\"value\":\"Done\",\"color\":\"emerald\"},{\"value\":\"Abandoned\",\"color\":\"…",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:25.090Z",
            "clock": null,
            "syncedAt": null
          }
        ]
      }
    },
    "notes.listAttachments": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The files stored in a note’s attachments folder.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.listAttachments(noteId)",
      "x-memry-params": [
        {
          "name": "noteId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<noteId>"],
        "reply": [
          {
            "filename": "<attachmentName>",
            "path": "memry-file://local<vault>/attachments/<noteId>/<attachmentName>",
            "size": 4599,
            "mimeType": "image/png",
            "type": "image"
          }
        ]
      }
    },
    "notes.getFolderConfig": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "A folder’s settings, such as its icon and default template.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getFolderConfig(folderPath)",
      "x-memry-params": [
        {
          "name": "folderPath",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Projects"],
        "reply": {
          "icon": "folder",
          "inherit": true
        }
      }
    },
    "notes.getFolderTemplate": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The template a new note in this folder starts from, if any.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getFolderTemplate(folderPath)",
      "x-memry-params": [
        {
          "name": "folderPath",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Projects"],
        "reply": null
      }
    },
    "notes.getVersions": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The saved versions (snapshots) of a note, newest first.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getVersions(noteId)",
      "x-memry-params": [
        {
          "name": "noteId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<noteId>"],
        "reply": [
          {
            "id": "h6lihjjlqtl6",
            "noteId": "<noteId>",
            "title": "Website relaunch plan",
            "wordCount": 38,
            "reason": "significant",
            "createdAt": "2026-10-07T11:17:25.022Z"
          },
          {
            "id": "<snapshotId>",
            "noteId": "<noteId>",
            "title": "Website relaunch plan",
            "wordCount": 15,
            "reason": "significant",
            "createdAt": "2026-10-07T11:17:24.992Z"
          }
        ]
      }
    },
    "notes.getVersion": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "One saved version of a note, with its content.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getVersion(snapshotId)",
      "x-memry-params": [
        {
          "name": "snapshotId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<snapshotId>"],
        "reply": {
          "id": "<snapshotId>",
          "noteId": "<noteId>",
          "title": "Website relaunch plan",
          "fileContent": "---\ntags:\n  - website\n  - planning\n---\n# Website relaunch plan\n\n## Goals\n\n- Faster pages\n- Clearer pricing\n\nSee [[Launch checklist]].\n",
          "wordCount": 15,
          "reason": "significant",
          "createdAt": "2026-10-07T11:17:24.992Z"
        }
      }
    },
    "notes.getPositions": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The manual sort order of the notes in one folder.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getPositions(folderPath)",
      "x-memry-params": [
        {
          "name": "folderPath",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Projects"],
        "reply": {
          "success": true,
          "positions": []
        }
      }
    },
    "notes.getAllPositions": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The manual sort order of notes in every folder.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getAllPositions()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "success": true,
          "positions": {}
        }
      }
    },
    "notes.getLocalOnlyCount": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "How many notes are kept on this device only and never synced.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getLocalOnlyCount()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "count": 0
        }
      }
    },
    "notes.getCalendarPropertyNames": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The date properties shown on the calendar.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "notes.getCalendarPropertyNames()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": []
      }
    },
    "tasks.get": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a task by id.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.get(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<taskId>"],
        "reply": {
          "id": "<taskId>",
          "projectId": "<projectId>",
          "statusId": null,
          "parentId": null,
          "title": "Write landing page copy",
          "description": null,
          "priority": 2,
          "position": 0,
          "dueDate": "2026-10-09",
          "dueTime": null,
          "startDate": null,
          "repeatConfig": null,
          "repeatFrom": null,
          "sourceNoteId": null,
          "completedAt": null,
          "archivedAt": null,
          "clock": {
            "_offline": 1
          },
          "fieldClocks": {
            "title": {},
            "description": {},
            "projectId": {},
            "statusId": {},
            "parentId": {},
            "priority": {},
            "position": {},
            "dueDate": {},
            "dueTime": {},
            "startDate": {},
            "repeatConfig": {},
            "repeatFrom": {},
            "sourceNoteId": {},
            "completedAt": {},
            "archivedAt": {}
          },
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:25.637Z",
          "modifiedAt": "2026-10-07T11:17:25.637Z",
          "isRepeating": false,
          "tags": ["website"],
          "linkedNoteIds": [],
          "linkedCanvasIds": [],
          "hasSubtasks": true,
          "subtaskCount": 1,
          "completedSubtaskCount": 0
        }
      }
    },
    "tasks.list": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "projectId": {
                  "type": "string"
                },
                "statusId": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "parentId": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "includeCompleted": {
                  "default": false,
                  "type": "boolean"
                },
                "includeArchived": {
                  "default": false,
                  "type": "boolean"
                },
                "dueBefore": {
                  "type": "string"
                },
                "dueAfter": {
                  "type": "string"
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "search": {
                  "type": "string"
                },
                "sortBy": {
                  "default": "position",
                  "type": "string",
                  "enum": ["position", "dueDate", "priority", "created", "modified"]
                },
                "sortOrder": {
                  "default": "asc",
                  "type": "string",
                  "enum": ["asc", "desc"]
                },
                "limit": {
                  "default": 100,
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1000
                },
                "offset": {
                  "default": 0,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "List tasks, filtered by project, status, due date or completion, sorted and paged.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.list(options?)",
      "x-memry-params": [
        {
          "name": "options",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "projectId": "<projectId>",
            "sortBy": "priority",
            "limit": 3
          }
        ],
        "reply": {
          "tasks": [
            {
              "id": "<task2Id>",
              "projectId": "<projectId>",
              "statusId": null,
              "parentId": null,
              "title": "Review the new design",
              "description": null,
              "priority": 0,
              "position": 1,
              "dueDate": "2026-10-07",
              "dueTime": null,
              "startDate": null,
              "repeatConfig": null,
              "repeatFrom": null,
              "sourceNoteId": null,
              "completedAt": null,
              "archivedAt": null,
              "createdAt": "2026-10-07T11:17:25.642Z",
              "modifiedAt": "2026-10-07T11:17:25.642Z",
              "isRepeating": false,
              "tags": [],
              "linkedNoteIds": [],
              "linkedCanvasIds": [],
              "hasSubtasks": false,
              "subtaskCount": 0,
              "completedSubtaskCount": 0
            },
            {
              "id": "<task3Id>",
              "projectId": "<projectId>",
              "statusId": null,
              "parentId": null,
              "title": "Update the footer links",
              "description": null,
              "priority": 0,
              "position": 2,
              "dueDate": null,
              "dueTime": null,
              "startDate": null,
              "repeatConfig": null,
              "repeatFrom": null,
              "sourceNoteId": null,
              "completedAt": null,
              "archivedAt": null,
              "createdAt": "2026-10-07T11:17:25.648Z",
              "modifiedAt": "2026-10-07T11:17:25.648Z",
              "isRepeating": false,
              "tags": [],
              "linkedNoteIds": [],
              "linkedCanvasIds": [],
              "hasSubtasks": false,
              "subtaskCount": 0,
              "completedSubtaskCount": 0
            },
            {
              "id": "<task4Id>",
              "projectId": "<projectId>",
              "statusId": null,
              "parentId": null,
              "title": "Check the meta descriptions",
              "description": null,
              "priority": 0,
              "position": 3,
              "dueDate": null,
              "dueTime": null,
              "startDate": null,
              "repeatConfig": null,
              "repeatFrom": null,
              "sourceNoteId": null,
              "completedAt": null,
              "archivedAt": null,
              "createdAt": "2026-10-07T11:17:25.657Z",
              "modifiedAt": "2026-10-07T11:17:25.657Z",
              "isRepeating": false,
              "tags": [],
              "linkedNoteIds": [],
              "linkedCanvasIds": [],
              "hasSubtasks": false,
              "subtaskCount": 0,
              "completedSubtaskCount": 0
            }
          ],
          "total": 9,
          "hasMore": true
        }
      }
    },
    "tasks.getSubtasks": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The subtasks of a task.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.getSubtasks(parentId)",
      "x-memry-params": [
        {
          "name": "parentId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<taskId>"],
        "reply": [
          {
            "id": "ztuhBvw-P3_1skGUZE4Xv",
            "projectId": "<projectId>",
            "statusId": null,
            "parentId": "<taskId>",
            "title": "Draft the hero headline",
            "description": null,
            "priority": 0,
            "position": 0,
            "dueDate": null,
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": null,
            "clock": {
              "_offline": 1
            },
            "fieldClocks": {
              "title": {},
              "description": {},
              "projectId": {},
              "statusId": {},
              "parentId": {},
              "priority": {},
              "position": {},
              "dueDate": {},
              "dueTime": {},
              "startDate": {},
              "repeatConfig": {},
              "repeatFrom": {},
              "sourceNoteId": {},
              "completedAt": {},
              "archivedAt": {}
            },
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:25.718Z",
            "modifiedAt": "2026-10-07T11:17:25.718Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        ]
      }
    },
    "tasks.getProject": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a project by id, with its statuses.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.getProject(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<projectId>"],
        "reply": {
          "id": "<projectId>",
          "name": "Website relaunch",
          "description": null,
          "color": "#6366f1",
          "icon": null,
          "position": 1,
          "isInbox": false,
          "createdAt": "2026-10-07T11:17:25.610Z",
          "modifiedAt": "2026-10-07T11:17:25.610Z",
          "archivedAt": null,
          "homeNoteId": null,
          "clock": {
            "_offline": 4
          },
          "fieldClocks": {
            "name": {
              "_offline": 1
            },
            "description": {
              "_offline": 1
            },
            "color": {
              "_offline": 1
            },
            "icon": {
              "_offline": 1
            },
            "position": {
              "_offline": 1
            },
            "isInbox": {
              "_offline": 1
            },
            "archivedAt": {
              "_offline": 1
            },
            "modifiedAt": {
              "_offline": 1
            },
            "homeNoteId": {
              "_offline": 1
            }
          },
          "syncedAt": null,
          "statuses": [
            {
              "id": "<statusTodoId>",
              "projectId": "<projectId>",
              "name": "To Do",
              "color": "#6b7280",
              "position": 0,
              "isDefault": true,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.610Z"
            },
            {
              "id": "<statusDoingId>",
              "projectId": "<projectId>",
              "name": "In Progress",
              "color": "#F59E0B",
              "position": 1,
              "isDefault": false,
              "isDone": false,
              "createdAt": "2026-10-07T11:17:25.610Z"
            },
            {
              "id": "<projectId>-done",
              "projectId": "<projectId>",
              "name": "Done",
              "color": "#22c55e",
              "position": 2,
              "isDefault": false,
              "isDone": true,
              "createdAt": "2026-10-07T11:17:25.610Z"
            }
          ]
        }
      }
    },
    "tasks.listProjects": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every project with its task counts.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.listProjects()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "projects": [
            {
              "id": "inbox",
              "name": "Inbox",
              "description": "Quick capture for tasks",
              "color": "#6366f1",
              "icon": "📥",
              "position": 0,
              "isInbox": true,
              "createdAt": "2026-10-07T11:17:12.305Z",
              "modifiedAt": "2026-10-07T11:17:12.305Z",
              "archivedAt": null,
              "homeNoteId": null,
              "clock": null,
              "fieldClocks": null,
              "syncedAt": null,
              "taskCount": 0,
              "completedCount": 0,
              "overdueCount": 0
            },
            {
              "id": "<projectId>",
              "name": "Website relaunch",
              "description": null,
              "color": "#6366f1",
              "icon": null,
              "position": 1,
              "isInbox": false,
              "createdAt": "2026-10-07T11:17:25.610Z",
              "modifiedAt": "2026-10-07T11:17:25.610Z",
              "archivedAt": null,
              "homeNoteId": null,
              "clock": {
                "_offline": 4
              },
              "fieldClocks": {
                "name": {
                  "_offline": 1
                },
                "description": {
                  "_offline": 1
                },
                "color": {
                  "_offline": 1
                },
                "icon": {
                  "_offline": 1
                },
                "position": {
                  "_offline": 1
                },
                "isInbox": {
                  "_offline": 1
                },
                "archivedAt": {
                  "_offline": 1
                },
                "modifiedAt": {
                  "_offline": 1
                },
                "homeNoteId": {
                  "_offline": 1
                }
              },
              "syncedAt": null,
              "taskCount": 9,
              "completedCount": 0,
              "overdueCount": 0
            },
            {
              "id": "<project2Id>",
              "name": "Autumn hiring",
              "description": null,
              "color": "#6366f1",
              "icon": null,
              "position": 2,
              "isInbox": false,
              "createdAt": "2026-10-07T11:17:25.613Z",
              "modifiedAt": "2026-10-07T11:17:25.613Z",
              "archivedAt": null,
              "homeNoteId": null,
              "clock": {
                "_offline": 1
              },
              "fieldClocks": {
                "name": {
                  "_offline": 1
                },
                "description": {
                  "_offline": 1
                },
                "color": {
                  "_offline": 1
                },
                "icon": {
                  "_offline": 1
                },
                "position": {
                  "_offline": 1
                },
                "isInbox": {
                  "_offline": 1
                },
                "archivedAt": {
                  "_offline": 1
                },
                "modifiedAt": {
                  "_offline": 1
                },
                "homeNoteId": {
                  "_offline": 1
                }
              },
              "syncedAt": null,
              "taskCount": 0,
              "completedCount": 0,
              "overdueCount": 0
            }
          ]
        }
      }
    },
    "tasks.listStatuses": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The statuses of a project, in board order.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.listStatuses(projectId)",
      "x-memry-params": [
        {
          "name": "projectId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<projectId>"],
        "reply": [
          {
            "id": "<statusTodoId>",
            "projectId": "<projectId>",
            "name": "To Do",
            "color": "#6b7280",
            "position": 0,
            "isDefault": true,
            "isDone": false,
            "createdAt": "2026-10-07T11:17:25.610Z"
          },
          {
            "id": "<statusDoingId>",
            "projectId": "<projectId>",
            "name": "In Progress",
            "color": "#F59E0B",
            "position": 1,
            "isDefault": false,
            "isDone": false,
            "createdAt": "2026-10-07T11:17:25.610Z"
          },
          {
            "id": "<projectId>-done",
            "projectId": "<projectId>",
            "name": "Done",
            "color": "#22c55e",
            "position": 2,
            "isDefault": false,
            "isDone": true,
            "createdAt": "2026-10-07T11:17:25.610Z"
          }
        ]
      }
    },
    "tasks.getTags": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every tag used on tasks, with how many tasks carry it.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.getTags()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": [
          {
            "tag": "website",
            "count": 1
          }
        ]
      }
    },
    "tasks.getStats": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Task counts: total, completed, overdue, due today and this week.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.getStats()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "total": 9,
          "completed": 0,
          "overdue": 0,
          "dueToday": 1,
          "dueThisWeek": 2
        }
      }
    },
    "tasks.getToday": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Tasks due today, plus overdue ones.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.getToday()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "tasks": [
            {
              "id": "<task2Id>",
              "projectId": "<projectId>",
              "statusId": null,
              "parentId": null,
              "title": "Review the new design",
              "description": null,
              "priority": 0,
              "position": 1,
              "dueDate": "2026-10-07",
              "dueTime": null,
              "startDate": null,
              "repeatConfig": null,
              "repeatFrom": null,
              "sourceNoteId": null,
              "completedAt": null,
              "archivedAt": null,
              "clock": {
                "_offline": 1
              },
              "fieldClocks": {
                "title": {},
                "description": {},
                "projectId": {},
                "statusId": {},
                "parentId": {},
                "priority": {},
                "position": {},
                "dueDate": {},
                "dueTime": {},
                "startDate": {},
                "repeatConfig": {},
                "repeatFrom": {},
                "sourceNoteId": {},
                "completedAt": {},
                "archivedAt": {}
              },
              "syncedAt": null,
              "createdAt": "2026-10-07T11:17:25.642Z",
              "modifiedAt": "2026-10-07T11:17:25.642Z",
              "isRepeating": false,
              "tags": [],
              "linkedNoteIds": [],
              "linkedCanvasIds": [],
              "hasSubtasks": false,
              "subtaskCount": 0,
              "completedSubtaskCount": 0
            }
          ],
          "total": 1,
          "hasMore": false
        }
      }
    },
    "tasks.getUpcoming": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "default": 7,
              "type": "integer",
              "minimum": 1,
              "maximum": 365
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Tasks due in the next number of days (7 by default), grouped by day.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.getUpcoming(days?)",
      "x-memry-params": [
        {
          "name": "days",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [7],
        "reply": {
          "tasks": [
            {
              "id": "<task2Id>",
              "projectId": "<projectId>",
              "statusId": null,
              "parentId": null,
              "title": "Review the new design",
              "description": null,
              "priority": 0,
              "position": 1,
              "dueDate": "2026-10-07",
              "dueTime": null,
              "startDate": null,
              "repeatConfig": null,
              "repeatFrom": null,
              "sourceNoteId": null,
              "completedAt": null,
              "archivedAt": null,
              "clock": {
                "_offline": 1
              },
              "fieldClocks": {
                "title": {},
                "description": {},
                "projectId": {},
                "statusId": {},
                "parentId": {},
                "priority": {},
                "position": {},
                "dueDate": {},
                "dueTime": {},
                "startDate": {},
                "repeatConfig": {},
                "repeatFrom": {},
                "sourceNoteId": {},
                "completedAt": {},
                "archivedAt": {}
              },
              "syncedAt": null,
              "createdAt": "2026-10-07T11:17:25.642Z",
              "modifiedAt": "2026-10-07T11:17:25.642Z",
              "isRepeating": false,
              "tags": [],
              "linkedNoteIds": [],
              "linkedCanvasIds": [],
              "hasSubtasks": false,
              "subtaskCount": 0,
              "completedSubtaskCount": 0
            },
            {
              "id": "<taskId>",
              "projectId": "<projectId>",
              "statusId": null,
              "parentId": null,
              "title": "Write landing page copy",
              "description": null,
              "priority": 2,
              "position": 0,
              "dueDate": "2026-10-09",
              "dueTime": null,
              "startDate": null,
              "repeatConfig": null,
              "repeatFrom": null,
              "sourceNoteId": null,
              "completedAt": null,
              "archivedAt": null,
              "clock": {
                "_offline": 1
              },
              "fieldClocks": {
                "title": {},
                "description": {},
                "projectId": {},
                "statusId": {},
                "parentId": {},
                "priority": {},
                "position": {},
                "dueDate": {},
                "dueTime": {},
                "startDate": {},
                "repeatConfig": {},
                "repeatFrom": {},
                "sourceNoteId": {},
                "completedAt": {},
                "archivedAt": {}
              },
              "syncedAt": null,
              "createdAt": "2026-10-07T11:17:25.637Z",
              "modifiedAt": "2026-10-07T11:17:25.637Z",
              "isRepeating": false,
              "tags": ["website"],
              "linkedNoteIds": [],
              "linkedCanvasIds": [],
              "hasSubtasks": true,
              "subtaskCount": 1,
              "completedSubtaskCount": 0
            }
          ],
          "total": 2,
          "hasMore": false
        }
      }
    },
    "tasks.getOverdue": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Open tasks whose due date has passed.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.getOverdue()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "tasks": [],
          "total": 0,
          "hasMore": false
        }
      }
    },
    "tasks.getLinkedTasks": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Tasks linked to a note.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.getLinkedTasks(noteId)",
      "x-memry-params": [
        {
          "name": "noteId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<noteId>"],
        "reply": []
      }
    },
    "tasks.listProjectLinks": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The raw link rows of a project’s hub, including pin state.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.listProjectLinks(projectId)",
      "x-memry-params": [
        {
          "name": "projectId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<projectId>"],
        "reply": [
          {
            "id": "1d1f4887-c57b-4b20-a6c4-556f15cdaf9e",
            "projectId": "<projectId>",
            "itemType": "note",
            "itemId": "<noteId>",
            "position": 0,
            "pinned": 0,
            "createdAt": "2026-10-07T11:17:25.751Z"
          }
        ]
      }
    },
    "tasks.listProjectContents": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The notes, files and events a project holds.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.listProjectContents(projectId)",
      "x-memry-params": [
        {
          "name": "projectId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<projectId>"],
        "reply": {
          "notes": [
            {
              "id": "<noteId>",
              "title": "Website relaunch plan",
              "emoji": null,
              "modifiedAt": "2026-10-07T11:17:25.736Z",
              "pinned": false
            }
          ],
          "files": [],
          "events": [],
          "counts": {
            "notes": 1,
            "files": 0,
            "events": 0
          }
        }
      }
    },
    "tasks.listForItem": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "enum": ["note", "calendar_event", "file"]
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The projects a note, file or calendar event belongs to.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tasks.listForItem(itemType, itemId)",
      "x-memry-params": [
        {
          "name": "itemType",
          "required": true
        },
        {
          "name": "itemId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["note", "<noteId>"],
        "reply": [
          {
            "id": "<projectId>",
            "name": "Website relaunch",
            "color": "#6366f1",
            "icon": null
          }
        ]
      }
    },
    "inbox.get": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read an inbox item by id.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.get(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<inboxId>"],
        "reply": {
          "id": "<inboxId>",
          "type": "note",
          "title": "Printer",
          "content": "Call the printer about flyers",
          "createdAt": "2026-10-07T11:17:25.759Z",
          "modifiedAt": "2026-10-07T11:17:25.759Z",
          "filedAt": null,
          "filedTo": null,
          "filedAction": null,
          "snoozedUntil": null,
          "snoozeReason": null,
          "viewedAt": null,
          "archivedAt": null,
          "processingStatus": "complete",
          "processingError": null,
          "metadata": null,
          "attachmentPath": null,
          "attachmentUrl": null,
          "thumbnailPath": null,
          "thumbnailUrl": null,
          "transcription": null,
          "transcriptionStatus": null,
          "sourceUrl": null,
          "sourceTitle": null,
          "captureSource": null,
          "tags": [],
          "isStale": false
        }
      }
    },
    "inbox.list": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": ["link", "note", "image", "voice", "clip", "pdf", "social", "reminder"]
                },
                "includeSnoozed": {
                  "default": false,
                  "type": "boolean"
                },
                "sortBy": {
                  "default": "created",
                  "type": "string",
                  "enum": ["created", "modified", "title"]
                },
                "sortOrder": {
                  "default": "desc",
                  "type": "string",
                  "enum": ["asc", "desc"]
                },
                "limit": {
                  "default": 50,
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 200
                },
                "offset": {
                  "default": 0,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "List inbox items, filtered by type and paged.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.list(options?)",
      "x-memry-params": [
        {
          "name": "options",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "type": "note",
            "limit": 3
          }
        ],
        "reply": {
          "items": [
            {
              "id": "<inbox15Id>",
              "type": "note",
              "title": "Idea 15",
              "content": "Idea 15: follow up on the launch",
              "createdAt": "2026-10-07T11:17:25.900Z",
              "thumbnailUrl": null,
              "sourceUrl": null,
              "tags": [],
              "isStale": false,
              "processingStatus": "complete",
              "transcription": null,
              "transcriptionStatus": null,
              "captureSource": null
            },
            {
              "id": "<inbox13Id>",
              "type": "note",
              "title": "Idea 13",
              "content": "Idea 13: follow up on the launch",
              "createdAt": "2026-10-07T11:17:25.874Z",
              "thumbnailUrl": null,
              "sourceUrl": null,
              "tags": [],
              "isStale": false,
              "processingStatus": "complete",
              "transcription": null,
              "transcriptionStatus": null,
              "captureSource": null
            },
            {
              "id": "<inbox12Id>",
              "type": "note",
              "title": "Idea 12",
              "content": "Idea 12: follow up on the launch",
              "createdAt": "2026-10-07T11:17:25.862Z",
              "thumbnailUrl": null,
              "sourceUrl": null,
              "tags": [],
              "isStale": false,
              "processingStatus": "complete",
              "transcription": null,
              "transcriptionStatus": null,
              "captureSource": null
            }
          ],
          "total": 14,
          "hasMore": true
        }
      }
    },
    "inbox.previewLink": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Fetch a URL’s title, description and image without capturing it.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.previewLink(url)",
      "x-memry-params": [
        {
          "name": "url",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["https://example.com/"],
        "reply": {
          "title": "Example Domain",
          "domain": "example.com"
        }
      }
    },
    "inbox.getSuggestions": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Where to file an inbox item: suggested folders and notes with confidence.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.getSuggestions(itemId)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<inboxId>"],
        "reply": {
          "suggestions": [
            {
              "destination": {
                "type": "note",
                "noteId": "<fileId>",
                "noteTitle": "report"
              },
              "confidence": 0.4099945947527886,
              "reason": "Similar content (41% match)",
              "suggestedTags": [],
              "suggestedNote": {
                "id": "<fileId>",
                "title": "report",
                "snippet": "",
                "emoji": null
              }
            },
            {
              "destination": {
                "type": "note",
                "noteId": "<deleteNoteId>",
                "noteTitle": "Scratch"
              },
              "confidence": 0.3792275339365006,
              "reason": "Similar content (38% match)",
              "suggestedTags": [],
              "suggestedNote": {
                "id": "<deleteNoteId>",
                "title": "Scratch",
                "snippet": "temp",
                "emoji": null
              }
            }
          ]
        }
      }
    },
    "inbox.getTags": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every tag used on inbox items, with counts.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.getTags()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": []
      }
    },
    "inbox.getSnoozed": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Inbox items that are snoozed, with when they come back.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.getSnoozed()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": []
      }
    },
    "inbox.getStats": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Inbox counts: items, items by type, and items captured and filed today.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.getStats()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "totalItems": 16,
          "itemsByType": {
            "link": 1,
            "note": 14,
            "image": 0,
            "voice": 1,
            "clip": 0,
            "pdf": 0,
            "social": 0
          },
          "staleCount": 0,
          "snoozedCount": 0,
          "processedToday": 0,
          "capturedToday": 17,
          "avgTimeToProcess": 0,
          "capturedThisWeek": 17,
          "processedThisWeek": 0,
          "captureProcessRatio": 17,
          "ageDistribution": {
            "fresh": 16,
            "aging": 0,
            "stale": 0
          },
          "oldestItemDays": 0,
          "currentStreak": 0
        }
      }
    },
    "inbox.getJobs": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "itemIds": {
                  "maxItems": 200,
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "statuses": {
                  "maxItems": 10,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": ["pending", "running", "failed", "complete"]
                  }
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Background jobs on inbox items, such as transcription and metadata fetches.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.getJobs(options?)",
      "x-memry-params": [
        {
          "name": "options",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "statuses": ["pending", "running"]
          }
        ],
        "reply": {
          "jobs": [
            {
              "id": "Nnvp-uR6KOnckeONk0mM1",
              "itemId": "<linkInboxId>",
              "type": "metadata-scrape",
              "status": "pending",
              "runAt": "2026-10-07T11:17:31.210Z",
              "attempts": 1,
              "maxAttempts": 2,
              "payload": {
                "url": "https://example.com/pricing"
              },
              "result": null,
              "lastError": "HTTP 404",
              "startedAt": null,
              "completedAt": null,
              "createdAt": "2026-10-07T11:17:25.932Z",
              "updatedAt": "2026-10-07T11:17:26.210Z"
            }
          ]
        }
      }
    },
    "inbox.getPatterns": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Capture patterns over time: heatmap, by-type breakdown and peak hours.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.getPatterns()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "timeHeatmap": [
            [0, 0, 0],
            [0, 0, 0],
            [0, 0, 0]
          ],
          "typeDistribution": [
            {
              "type": "note",
              "count": 15,
              "percentage": 88,
              "trend": "stable"
            },
            {
              "type": "link",
              "count": 1,
              "percentage": 6,
              "trend": "stable"
            },
            {
              "type": "voice",
              "count": 1,
              "percentage": 6,
              "trend": "stable"
            }
          ],
          "topDomains": [
            {
              "domain": "example.com",
              "count": 1
            }
          ],
          "topTags": []
        }
      }
    },
    "inbox.getStaleThreshold": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "After how many days an unfiled inbox item counts as stale.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.getStaleThreshold()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": 7
      }
    },
    "inbox.listArchived": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "search": {
                  "type": "string"
                },
                "limit": {
                  "default": 50,
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 200
                },
                "offset": {
                  "default": 0,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Archived inbox items, searchable and paged.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.listArchived(options?)",
      "x-memry-params": [
        {
          "name": "options",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "limit": 3
          }
        ],
        "reply": {
          "items": [
            {
              "id": "<inbox14Id>",
              "type": "note",
              "title": "Idea 14",
              "content": "Idea 14: follow up on the launch",
              "createdAt": "2026-10-07T11:17:25.887Z",
              "thumbnailUrl": null,
              "sourceUrl": null,
              "tags": [],
              "isStale": false,
              "processingStatus": "complete",
              "transcription": null,
              "transcriptionStatus": null,
              "captureSource": null
            }
          ],
          "total": 1,
          "hasMore": false
        }
      }
    },
    "inbox.getFilingHistory": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "limit": {
                  "default": 20,
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 100
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Recently filed inbox items and where each went.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "inbox.getFilingHistory(options?)",
      "x-memry-params": [
        {
          "name": "options",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "limit": 3
          }
        ],
        "reply": {
          "entries": []
        }
      }
    },
    "journal.getEntry": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read the journal entry for a date (YYYY-MM-DD); null when there is none.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "journal.getEntry(date)",
      "x-memry-params": [
        {
          "name": "date",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["2026-10-05"],
        "reply": {
          "id": "j2026-10-05",
          "date": "2026-10-05",
          "content": "Kicked off the relaunch.",
          "wordCount": 4,
          "characterCount": 24,
          "tags": ["planning"],
          "createdAt": "2026-10-07T11:17:30.679Z",
          "modifiedAt": "2026-10-07T11:17:30.679Z"
        }
      }
    },
    "journal.getHeatmap": {
      "type": "array",
      "prefixItems": [
        {
          "type": "integer",
          "minimum": 1970,
          "maximum": 2100
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Per-day writing activity for a year, for the journal heatmap.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "journal.getHeatmap(year)",
      "x-memry-params": [
        {
          "name": "year",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [2026],
        "reply": [
          {
            "date": "2026-10-05",
            "characterCount": 24,
            "level": 1
          },
          {
            "date": "2026-10-06",
            "characterCount": 17,
            "level": 1
          }
        ]
      }
    },
    "journal.getMonthEntries": {
      "type": "array",
      "prefixItems": [
        {
          "type": "integer",
          "minimum": 1970,
          "maximum": 2100
        },
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The journal entries of one month, with previews.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "journal.getMonthEntries(year, month)",
      "x-memry-params": [
        {
          "name": "year",
          "required": true
        },
        {
          "name": "month",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [2026, 10],
        "reply": [
          {
            "date": "2026-10-06",
            "preview": "Reviewed designs.",
            "wordCount": 2,
            "characterCount": 17,
            "activityLevel": 1,
            "tags": []
          },
          {
            "date": "2026-10-05",
            "preview": "Kicked off the relaunch.",
            "wordCount": 4,
            "characterCount": 24,
            "activityLevel": 1,
            "tags": ["planning"]
          }
        ]
      }
    },
    "journal.getYearStats": {
      "type": "array",
      "prefixItems": [
        {
          "type": "integer",
          "minimum": 1970,
          "maximum": 2100
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Per-month journal statistics for a year.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "journal.getYearStats(year)",
      "x-memry-params": [
        {
          "name": "year",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [2026],
        "reply": [
          {
            "year": 2026,
            "month": 10,
            "entryCount": 2,
            "totalWordCount": 6,
            "totalCharacterCount": 41,
            "averageLevel": 1
          }
        ]
      }
    },
    "journal.getDayContext": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "What else happened on a date: tasks due and calendar events.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "journal.getDayContext(date)",
      "x-memry-params": [
        {
          "name": "date",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["2026-10-05"],
        "reply": {
          "date": "2026-10-05",
          "tasks": [],
          "events": [],
          "overdueCount": 0
        }
      }
    },
    "journal.getAllTags": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every tag used in journal entries, with counts.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "journal.getAllTags()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": [
          {
            "tag": "planning",
            "count": 2
          },
          {
            "tag": "website",
            "count": 2
          },
          {
            "tag": "active",
            "count": 1
          }
        ]
      }
    },
    "journal.getStreak": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The current and longest daily journaling streak.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "journal.getStreak()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "currentStreak": 2,
          "longestStreak": 2,
          "lastEntryDate": "2026-10-06"
        }
      }
    },
    "properties.get": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The properties (frontmatter fields) of a note or journal entry.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "properties.get(entityId)",
      "x-memry-params": [
        {
          "name": "entityId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<noteId>"],
        "reply": [
          {
            "name": "stage",
            "value": "idea",
            "type": "select"
          },
          {
            "name": "project",
            "value": ["Website relaunch"],
            "type": "project"
          }
        ]
      }
    },
    "templates.list": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every note template.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "templates.list()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "templates": [
            {
              "id": "blank",
              "name": "Blank Note",
              "description": "Start with an empty note",
              "icon": "📄",
              "isBuiltIn": true
            },
            {
              "id": "daily-reflection",
              "name": "Daily Reflection",
              "description": "End-of-day reflection and gratitude",
              "icon": "🌆",
              "isBuiltIn": true
            },
            {
              "id": "daily-standup",
              "name": "Daily Standup",
              "description": "Daily standup format",
              "icon": "✅",
              "isBuiltIn": true
            }
          ]
        }
      }
    },
    "templates.get": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a template by id, with its content and properties.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "templates.get(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<templateId>"],
        "reply": {
          "id": "<templateId>",
          "name": "Meeting",
          "icon": null,
          "isBuiltIn": false,
          "tags": [],
          "properties": [],
          "content": "## Agenda\n\n## Notes\n\n## Action items\n",
          "createdAt": "2026-10-07T11:17:26.022Z",
          "modifiedAt": "2026-10-07T11:17:26.022Z"
        }
      }
    },
    "savedFilters.list": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every saved task filter.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "savedFilters.list()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "savedFilters": [
            {
              "id": "<savedFilterId>",
              "name": "Due soon",
              "config": {
                "filters": {
                  "search": "",
                  "projectIds": [],
                  "priorities": [],
                  "tags": [],
                  "dueDate": {
                    "type": "any",
                    "customStart": null,
                    "customEnd": null
                  },
                  "statusIds": [],
                  "completion": "active",
                  "repeatType": "all",
                  "hasTime": "all"
                }
              },
              "position": 0,
              "createdAt": "2026-10-07T11:17:26.030Z"
            }
          ]
        }
      }
    },
    "bookmarks.get": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a bookmark by id.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "bookmarks.get(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<bookmarkId>"],
        "reply": {
          "id": "<bookmarkId>",
          "itemType": "note",
          "itemId": "<noteId>",
          "position": 0,
          "createdAt": "2026-10-07T11:17:26.038Z",
          "clock": {
            "_offline": 1
          },
          "syncedAt": null
        }
      }
    },
    "bookmarks.list": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "itemType": {
                  "type": "string"
                },
                "sortBy": {
                  "default": "position",
                  "type": "string",
                  "enum": ["position", "createdAt"]
                },
                "sortOrder": {
                  "default": "asc",
                  "type": "string",
                  "enum": ["asc", "desc"]
                },
                "limit": {
                  "default": 100,
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1000
                },
                "offset": {
                  "default": 0,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "List bookmarks, optionally of one item type.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "bookmarks.list(options?)",
      "x-memry-params": [
        {
          "name": "options",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "itemType": "note",
            "limit": 3
          }
        ],
        "reply": {
          "bookmarks": [
            {
              "id": "<bookmarkId>",
              "itemType": "note",
              "itemId": "<noteId>",
              "position": 0,
              "createdAt": "2026-10-07T11:17:26.038Z",
              "clock": {
                "_offline": 1
              },
              "syncedAt": null,
              "itemTitle": "Website relaunch plan",
              "itemExists": true,
              "itemMeta": {
                "path": "Projects/Website relaunch plan.md",
                "tags": ["website", "planning"]
              }
            }
          ],
          "total": 1,
          "hasMore": false
        }
      }
    },
    "bookmarks.isBookmarked": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemType": {
              "type": "string"
            },
            "itemId": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["itemType", "itemId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Whether an item is bookmarked.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "bookmarks.isBookmarked(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "itemType": "note",
            "itemId": "<noteId>"
          }
        ],
        "reply": true
      }
    },
    "bookmarks.listByType": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The bookmarks of one item type.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "bookmarks.listByType(itemType)",
      "x-memry-params": [
        {
          "name": "itemType",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["note"],
        "reply": {
          "bookmarks": [
            {
              "id": "<bookmarkId>",
              "itemType": "note",
              "itemId": "<noteId>",
              "position": 0,
              "createdAt": "2026-10-07T11:17:26.038Z",
              "clock": {
                "_offline": 1
              },
              "syncedAt": null,
              "itemTitle": "Website relaunch plan",
              "itemExists": true,
              "itemMeta": {
                "path": "Projects/Website relaunch plan.md",
                "tags": ["website", "planning"]
              }
            }
          ],
          "total": 1,
          "hasMore": false
        }
      }
    },
    "bookmarks.getByItem": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemType": {
              "type": "string"
            },
            "itemId": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["itemType", "itemId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The bookmark of an item, or null.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "bookmarks.getByItem(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "itemType": "note",
            "itemId": "<noteId>"
          }
        ],
        "reply": {
          "id": "<bookmarkId>",
          "itemType": "note",
          "itemId": "<noteId>",
          "position": 0,
          "createdAt": "2026-10-07T11:17:26.038Z",
          "clock": {
            "_offline": 1
          },
          "syncedAt": null
        }
      }
    },
    "tags.getNotesByTag": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "tag": {
              "type": "string",
              "minLength": 1
            },
            "sortBy": {
              "default": "modified",
              "type": "string",
              "enum": ["modified", "created", "title"]
            },
            "sortOrder": {
              "default": "desc",
              "type": "string",
              "enum": ["asc", "desc"]
            },
            "includeDescendants": {
              "default": false,
              "type": "boolean"
            }
          },
          "required": ["tag"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The notes that carry a tag, pinned notes first.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tags.getNotesByTag(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "tag": "website",
            "sortBy": "title"
          }
        ],
        "reply": {
          "tag": "website",
          "color": "violet",
          "count": 2,
          "pinnedNotes": [],
          "unpinnedNotes": [
            {
              "id": "<noteId>",
              "path": "Projects/Website relaunch plan.md",
              "title": "Website relaunch plan",
              "created": "2026-10-07T11:17:24.017Z",
              "modified": "2026-10-07T11:17:25.736Z",
              "tags": ["website", "planning"],
              "wordCount": 17,
              "isPinned": false,
              "pinnedAt": null,
              "emoji": null
            },
            {
              "id": "<note2Id>",
              "path": "Projects/Launch checklist.md",
              "title": "Launch checklist",
              "created": "2026-10-07T11:17:24.117Z",
              "modified": "2026-10-07T11:17:24.117Z",
              "tags": ["website", "obsolete"],
              "wordCount": 7,
              "isPinned": false,
              "pinnedAt": null,
              "emoji": null
            }
          ]
        }
      }
    },
    "tags.getAllWithCounts": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every tag with its color, icon, category and note count.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tags.getAllWithCounts()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "tags": [
            {
              "name": "website",
              "count": 3,
              "color": "violet",
              "icon": null,
              "categoryId": null,
              "sortOrder": 0
            },
            {
              "name": "planning",
              "count": 2,
              "color": "indigo",
              "icon": null,
              "categoryId": null,
              "sortOrder": 0
            },
            {
              "name": "active",
              "count": 1,
              "color": "pink",
              "icon": null,
              "categoryId": null,
              "sortOrder": 0
            }
          ]
        }
      }
    },
    "tags.listCategories": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every tag category with its sort order and tag count.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "tags.listCategories()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "success": true,
          "categories": [
            {
              "id": "<categoryId>",
              "name": "Work",
              "sortOrder": 0,
              "tagCount": 0
            }
          ]
        }
      }
    },
    "folderView.getConfig": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "A folder view’s saved configuration.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "folderView.getConfig(folderPath)",
      "x-memry-params": [
        {
          "name": "folderPath",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Projects"],
        "reply": {
          "config": {
            "path": "Projects",
            "views": [
              {
                "name": "Default",
                "type": "table",
                "default": true,
                "columns": [
                  {
                    "id": "title",
                    "width": 250
                  },
                  {
                    "id": "folder",
                    "width": 120
                  },
                  {
                    "id": "tags",
                    "width": 150
                  }
                ],
                "order": [
                  {
                    "property": "title",
                    "direction": "asc"
                  }
                ],
                "showSummaries": true
              }
            ]
          },
          "isDefault": true
        }
      }
    },
    "folderView.getViews": {
      "type": "array",
      "prefixItems": [
        {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "folder"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": ["kind", "path"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "tag"
                },
                "tag": {
                  "type": "string",
                  "minLength": 1
                },
                "andTags": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              },
              "required": ["kind", "tag"],
              "additionalProperties": false
            }
          ]
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The saved views of a folder or tag scope.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "folderView.getViews(scope)",
      "x-memry-params": [
        {
          "name": "scope",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "kind": "folder",
            "path": "Projects"
          }
        ],
        "reply": {
          "views": [
            {
              "name": "Default",
              "type": "table",
              "default": true,
              "columns": [
                {
                  "id": "title",
                  "width": 250
                },
                {
                  "id": "folder",
                  "width": 120
                },
                {
                  "id": "tags",
                  "width": 150
                }
              ],
              "order": [
                {
                  "property": "title",
                  "direction": "asc"
                }
              ],
              "showSummaries": true
            }
          ],
          "defaultIndex": 0
        }
      }
    },
    "folderView.listWithProperties": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "scope": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "folder"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": ["kind", "path"],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "tag"
                    },
                    "tag": {
                      "type": "string",
                      "minLength": 1
                    },
                    "andTags": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  },
                  "required": ["kind", "tag"],
                  "additionalProperties": false
                }
              ]
            },
            "properties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "limit": {
              "default": 500,
              "type": "integer",
              "minimum": 1,
              "maximum": 1000
            },
            "offset": {
              "default": 0,
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": ["scope"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The notes in a folder or tag scope with the values of the properties asked for.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "folderView.listWithProperties(options)",
      "x-memry-params": [
        {
          "name": "options",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "scope": {
              "kind": "folder",
              "path": "Projects"
            },
            "properties": ["stage"],
            "limit": 3
          }
        ],
        "reply": {
          "notes": [
            {
              "id": "<note2Id>",
              "path": "Projects/Launch checklist.md",
              "title": "Launch checklist",
              "emoji": null,
              "folder": "/",
              "tags": ["obsolete", "website"],
              "created": "2026-10-07T11:17:24.117Z",
              "modified": "2026-10-07T11:17:24.117Z",
              "wordCount": 7,
              "properties": {},
              "fileType": "markdown"
            },
            {
              "id": "<renameNoteId>",
              "path": "Projects/Roadmap.md",
              "title": "Roadmap",
              "emoji": null,
              "folder": "/",
              "tags": ["draft"],
              "created": "2026-10-07T11:17:24.913Z",
              "modified": "2026-10-07T11:17:24.913Z",
              "wordCount": 2,
              "properties": {},
              "fileType": "markdown"
            },
            {
              "id": "<moveNoteId>",
              "path": "Projects/Old pricing ideas.md",
              "title": "Old pricing ideas",
              "emoji": null,
              "folder": "/",
              "tags": [],
              "created": "2026-10-07T11:17:24.934Z",
              "modified": "2026-10-07T11:17:24.934Z",
              "wordCount": 2,
              "properties": {},
              "fileType": "markdown"
            }
          ],
          "total": 4,
          "hasMore": true
        }
      }
    },
    "folderView.getAvailableProperties": {
      "type": "array",
      "prefixItems": [
        {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "folder"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": ["kind", "path"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "tag"
                },
                "tag": {
                  "type": "string",
                  "minLength": 1
                },
                "andTags": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              },
              "required": ["kind", "tag"],
              "additionalProperties": false
            }
          ]
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The properties used by notes in a folder or tag scope.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "folderView.getAvailableProperties(scope)",
      "x-memry-params": [
        {
          "name": "scope",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "kind": "folder",
            "path": "Projects"
          }
        ],
        "reply": {
          "builtIn": [
            {
              "id": "title",
              "displayName": "Title",
              "type": "text"
            },
            {
              "id": "folder",
              "displayName": "Folder",
              "type": "text"
            },
            {
              "id": "tags",
              "displayName": "Tags",
              "type": "multiselect"
            }
          ],
          "properties": [
            {
              "name": "project",
              "type": "project",
              "usageCount": 1
            },
            {
              "name": "stage",
              "type": "select",
              "usageCount": 1
            }
          ],
          "formulas": []
        }
      }
    },
    "folderView.getFolderSuggestions": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Folders a note would fit in, best first.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "folderView.getFolderSuggestions(noteId)",
      "x-memry-params": [
        {
          "name": "noteId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<meetingNoteId>"],
        "reply": {
          "suggestions": []
        }
      }
    },
    "folderView.folderExists": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Whether a folder exists.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "folderView.folderExists(folderPath)",
      "x-memry-params": [
        {
          "name": "folderPath",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["Projects"],
        "reply": true
      }
    },
    "reminders.get": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a reminder by id.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "reminders.get(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<reminderId>"],
        "reply": {
          "id": "<reminderId>",
          "targetType": "note",
          "targetId": "<noteId>",
          "remindAt": "2026-10-09T08:00:00.000Z",
          "anchorId": null,
          "highlightText": null,
          "highlightStart": null,
          "highlightEnd": null,
          "title": "Review the plan",
          "note": null,
          "status": "pending",
          "triggeredAt": null,
          "dismissedAt": null,
          "snoozedUntil": null,
          "createdAt": "2026-10-07T11:17:26.057Z",
          "modifiedAt": "2026-10-07T11:17:26.057Z",
          "targetTitle": "Website relaunch plan",
          "targetExists": true
        }
      }
    },
    "reminders.list": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "targetType": {
                  "type": "string",
                  "enum": ["note", "journal", "highlight", "task", "note_date"]
                },
                "targetId": {
                  "type": "string"
                },
                "status": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": ["pending", "triggered", "dismissed", "snoozed"]
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": ["pending", "triggered", "dismissed", "snoozed"]
                      }
                    }
                  ]
                },
                "fromDate": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "toDate": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "limit": {
                  "default": 50,
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 200
                },
                "offset": {
                  "default": 0,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "List reminders, filtered by target or status.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "reminders.list(options?)",
      "x-memry-params": [
        {
          "name": "options",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "targetType": "note",
            "status": "pending",
            "limit": 3
          }
        ],
        "reply": {
          "reminders": [
            {
              "id": "<reminderId>",
              "targetType": "note",
              "targetId": "<noteId>",
              "remindAt": "2026-10-09T08:00:00.000Z",
              "anchorId": null,
              "highlightText": null,
              "highlightStart": null,
              "highlightEnd": null,
              "title": "Review the plan",
              "note": null,
              "status": "pending",
              "triggeredAt": null,
              "dismissedAt": null,
              "snoozedUntil": null,
              "createdAt": "2026-10-07T11:17:26.057Z",
              "modifiedAt": "2026-10-07T11:17:26.057Z",
              "targetTitle": "Website relaunch plan",
              "targetExists": true
            },
            {
              "id": "<reminder2Id>",
              "targetType": "note",
              "targetId": "<noteId>",
              "remindAt": "2026-10-09T08:00:00.000Z",
              "anchorId": null,
              "highlightText": null,
              "highlightStart": null,
              "highlightEnd": null,
              "title": "Send the plan",
              "note": null,
              "status": "pending",
              "triggeredAt": null,
              "dismissedAt": null,
              "snoozedUntil": null,
              "createdAt": "2026-10-07T11:17:26.066Z",
              "modifiedAt": "2026-10-07T11:17:26.066Z",
              "targetTitle": "Website relaunch plan",
              "targetExists": true
            },
            {
              "id": "<reminder3Id>",
              "targetType": "note",
              "targetId": "<noteId>",
              "remindAt": "2026-10-09T08:00:00.000Z",
              "anchorId": null,
              "highlightText": null,
              "highlightStart": null,
              "highlightEnd": null,
              "title": "Share the plan",
              "note": null,
              "status": "pending",
              "triggeredAt": null,
              "dismissedAt": null,
              "snoozedUntil": null,
              "createdAt": "2026-10-07T11:17:26.075Z",
              "modifiedAt": "2026-10-07T11:17:26.075Z",
              "targetTitle": "Website relaunch plan",
              "targetExists": true
            }
          ],
          "total": 3,
          "hasMore": false
        }
      }
    },
    "reminders.getUpcoming": {
      "type": "array",
      "prefixItems": [
        {
          "type": "number"
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Reminders due in the next number of days (7 by default).",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "reminders.getUpcoming(days?)",
      "x-memry-params": [
        {
          "name": "days",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [30],
        "reply": {
          "reminders": [
            {
              "id": "<reminderId>",
              "targetType": "note",
              "targetId": "<noteId>",
              "remindAt": "2026-10-09T08:00:00.000Z",
              "anchorId": null,
              "highlightText": null,
              "highlightStart": null,
              "highlightEnd": null,
              "title": "Review the plan",
              "note": null,
              "status": "pending",
              "triggeredAt": null,
              "dismissedAt": null,
              "snoozedUntil": null,
              "createdAt": "2026-10-07T11:17:26.057Z",
              "modifiedAt": "2026-10-07T11:17:26.057Z",
              "targetTitle": "Website relaunch plan",
              "targetExists": true
            },
            {
              "id": "<reminder2Id>",
              "targetType": "note",
              "targetId": "<noteId>",
              "remindAt": "2026-10-09T08:00:00.000Z",
              "anchorId": null,
              "highlightText": null,
              "highlightStart": null,
              "highlightEnd": null,
              "title": "Send the plan",
              "note": null,
              "status": "pending",
              "triggeredAt": null,
              "dismissedAt": null,
              "snoozedUntil": null,
              "createdAt": "2026-10-07T11:17:26.066Z",
              "modifiedAt": "2026-10-07T11:17:26.066Z",
              "targetTitle": "Website relaunch plan",
              "targetExists": true
            },
            {
              "id": "<reminder3Id>",
              "targetType": "note",
              "targetId": "<noteId>",
              "remindAt": "2026-10-09T08:00:00.000Z",
              "anchorId": null,
              "highlightText": null,
              "highlightStart": null,
              "highlightEnd": null,
              "title": "Share the plan",
              "note": null,
              "status": "pending",
              "triggeredAt": null,
              "dismissedAt": null,
              "snoozedUntil": null,
              "createdAt": "2026-10-07T11:17:26.075Z",
              "modifiedAt": "2026-10-07T11:17:26.075Z",
              "targetTitle": "Website relaunch plan",
              "targetExists": true
            }
          ],
          "total": 3,
          "hasMore": false
        }
      }
    },
    "reminders.getDue": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Reminders that are due now.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "reminders.getDue()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": []
      }
    },
    "reminders.getForTarget": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "targetType": {
              "type": "string",
              "enum": ["note", "journal", "highlight", "task", "note_date"]
            },
            "targetId": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["targetType", "targetId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The reminders set on a note, journal entry or highlight.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "reminders.getForTarget(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "targetType": "note",
            "targetId": "<noteId>"
          }
        ],
        "reply": [
          {
            "id": "<reminderId>",
            "targetType": "note",
            "targetId": "<noteId>",
            "remindAt": "2026-10-09T08:00:00.000Z",
            "anchorId": null,
            "highlightText": null,
            "highlightStart": null,
            "highlightEnd": null,
            "title": "Review the plan",
            "note": null,
            "status": "pending",
            "triggeredAt": null,
            "dismissedAt": null,
            "snoozedUntil": null,
            "createdAt": "2026-10-07T11:17:26.057Z",
            "modifiedAt": "2026-10-07T11:17:26.057Z"
          },
          {
            "id": "<reminder2Id>",
            "targetType": "note",
            "targetId": "<noteId>",
            "remindAt": "2026-10-09T08:00:00.000Z",
            "anchorId": null,
            "highlightText": null,
            "highlightStart": null,
            "highlightEnd": null,
            "title": "Send the plan",
            "note": null,
            "status": "pending",
            "triggeredAt": null,
            "dismissedAt": null,
            "snoozedUntil": null,
            "createdAt": "2026-10-07T11:17:26.066Z",
            "modifiedAt": "2026-10-07T11:17:26.066Z"
          },
          {
            "id": "<reminder3Id>",
            "targetType": "note",
            "targetId": "<noteId>",
            "remindAt": "2026-10-09T08:00:00.000Z",
            "anchorId": null,
            "highlightText": null,
            "highlightStart": null,
            "highlightEnd": null,
            "title": "Share the plan",
            "note": null,
            "status": "pending",
            "triggeredAt": null,
            "dismissedAt": null,
            "snoozedUntil": null,
            "createdAt": "2026-10-07T11:17:26.075Z",
            "modifiedAt": "2026-10-07T11:17:26.075Z"
          }
        ]
      }
    },
    "reminders.countPending": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "How many reminders are still pending.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "reminders.countPending()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": 3
      }
    },
    "calendar.getEvent": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a calendar event by id.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "calendar.getEvent(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<eventId>"],
        "reply": {
          "id": "<eventId>",
          "title": "Design review",
          "description": null,
          "location": null,
          "startAt": "2026-10-08T10:00:00.000Z",
          "endAt": "2026-10-08T11:00:00.000Z",
          "timezone": "UTC",
          "isAllDay": false,
          "recurrenceRule": null,
          "recurrenceExceptions": null,
          "attendees": null,
          "reminders": null,
          "visibility": null,
          "colorId": null,
          "color": null,
          "conferenceData": null,
          "parentEventId": null,
          "originalStartTime": null,
          "targetCalendarId": null,
          "archivedAt": null,
          "syncedAt": null,
          "createdAt": "2026-10-07T11:17:26.084Z",
          "modifiedAt": "2026-10-07T11:17:26.084Z",
          "href": "memry://calendar/event/<eventId>?date=2026-10-08",
          "source_ref": {
            "kind": "calendar_event",
            "id": "<eventId>",
            "title": "Design review",
            "href": "memry://calendar/event/<eventId>?date=2026-10-08"
          },
          "sources": [
            {
              "kind": "calendar_event",
              "id": "<eventId>",
              "title": "Design review",
              "href": "memry://calendar/event/<eventId>?date=2026-10-08"
            }
          ]
        }
      }
    },
    "calendar.listEvents": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "includeArchived": {
                      "default": false,
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "type": "string"
                }
              ]
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "List memrynote calendar events.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "calendar.listEvents(options?)",
      "x-memry-params": [
        {
          "name": "options",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "includeArchived": false
          }
        ],
        "reply": {
          "events": [
            {
              "id": "<eventId>",
              "title": "Design review",
              "description": null,
              "location": null,
              "startAt": "2026-10-08T10:00:00.000Z",
              "endAt": "2026-10-08T11:00:00.000Z",
              "timezone": "UTC",
              "isAllDay": false,
              "recurrenceRule": null,
              "recurrenceExceptions": null,
              "attendees": null,
              "reminders": null,
              "visibility": null,
              "colorId": null,
              "color": null,
              "conferenceData": null,
              "parentEventId": null,
              "originalStartTime": null,
              "targetCalendarId": null,
              "archivedAt": null,
              "syncedAt": null,
              "createdAt": "2026-10-07T11:17:26.084Z",
              "modifiedAt": "2026-10-07T11:17:26.084Z",
              "href": "memry://calendar/event/<eventId>?date=2026-10-08",
              "source_ref": {
                "kind": "calendar_event",
                "id": "<eventId>",
                "title": "Design review",
                "href": "memry://calendar/event/<eventId>?date=2026-10-08"
              }
            },
            {
              "id": "<event2Id>",
              "title": "Old standup",
              "description": null,
              "location": null,
              "startAt": "2026-10-09T10:00:00.000Z",
              "endAt": "2026-10-09T11:00:00.000Z",
              "timezone": "UTC",
              "isAllDay": false,
              "recurrenceRule": null,
              "recurrenceExceptions": null,
              "attendees": null,
              "reminders": null,
              "visibility": null,
              "colorId": null,
              "color": null,
              "conferenceData": null,
              "parentEventId": null,
              "originalStartTime": null,
              "targetCalendarId": null,
              "archivedAt": null,
              "syncedAt": null,
              "createdAt": "2026-10-07T11:17:26.087Z",
              "modifiedAt": "2026-10-07T11:17:26.087Z",
              "href": "memry://calendar/event/<event2Id>?date=2026-10-09",
              "source_ref": {
                "kind": "calendar_event",
                "id": "<event2Id>",
                "title": "Old standup",
                "href": "memry://calendar/event/<event2Id>?date=2026-10-09"
              }
            }
          ],
          "sources": [
            {
              "kind": "calendar_event",
              "id": "<eventId>",
              "title": "Design review",
              "href": "memry://calendar/event/<eventId>?date=2026-10-08"
            },
            {
              "kind": "calendar_event",
              "id": "<event2Id>",
              "title": "Old standup",
              "href": "memry://calendar/event/<event2Id>?date=2026-10-09"
            }
          ]
        }
      }
    },
    "calendar.getRange": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "startAt": {
                  "type": "string"
                },
                "endAt": {
                  "type": "string"
                },
                "start": {
                  "type": "string"
                },
                "end": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "string"
            }
          ]
        },
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 1,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Calendar items (events, tasks, reminders) between two times, or on one YYYY-MM-DD day.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "calendar.getRange(inputOrStart, end?)",
      "x-memry-params": [
        {
          "name": "inputOrStart",
          "required": true
        },
        {
          "name": "end",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "startAt": "2026-10-01T00:00:00.000Z",
            "endAt": "2026-11-01T00:00:00.000Z"
          }
        ],
        "reply": {
          "items": [
            {
              "projectionId": "task:<task2Id>",
              "sourceType": "task",
              "sourceId": "<task2Id>",
              "title": "Review the new design",
              "descriptionPreview": null,
              "startAt": "2026-10-06T21:00:00.000Z",
              "endAt": "2026-10-07T21:00:00.000Z",
              "isAllDay": true,
              "timezone": "Europe/Istanbul",
              "visualType": "task",
              "editability": {
                "canMove": true,
                "canResize": false,
                "canEditText": true,
                "canDelete": true
              },
              "source": {
                "provider": null,
                "calendarSourceId": null,
                "title": "memrynote Tasks",
                "color": null,
                "kind": null,
                "isMemryManaged": true
              },
              "binding": null,
              "snoozeOffsetMinutes": null,
              "href": "memry://task/<task2Id>",
              "source_ref": {
                "kind": "task",
                "id": "<task2Id>",
                "title": "Review the new design",
                "href": "memry://task/<task2Id>",
                "visualType": "task"
              }
            },
            {
              "projectionId": "event:<eventId>",
              "sourceType": "event",
              "sourceId": "<eventId>",
              "title": "Design review",
              "descriptionPreview": null,
              "startAt": "2026-10-08T10:00:00.000Z",
              "endAt": "2026-10-08T11:00:00.000Z",
              "isAllDay": false,
              "timezone": "UTC",
              "visualType": "event",
              "editability": {
                "canMove": true,
                "canResize": true,
                "canEditText": true,
                "canDelete": true
              },
              "source": {
                "provider": null,
                "calendarSourceId": null,
                "title": "memrynote",
                "color": null,
                "kind": null,
                "isMemryManaged": true
              },
              "binding": null,
              "snoozeOffsetMinutes": null,
              "color": null,
              "displayColor": null,
              "href": "memry://calendar/event/<eventId>?date=2026-10-08",
              "source_ref": {
                "kind": "calendar_event",
                "id": "<eventId>",
                "title": "Design review",
                "href": "memry://calendar/event/<eventId>?date=2026-10-08",
                "visualType": "event"
              }
            },
            {
              "projectionId": "task:<taskId>",
              "sourceType": "task",
              "sourceId": "<taskId>",
              "title": "Write landing page copy",
              "descriptionPreview": null,
              "startAt": "2026-10-08T21:00:00.000Z",
              "endAt": "2026-10-09T21:00:00.000Z",
              "isAllDay": true,
              "timezone": "Europe/Istanbul",
              "visualType": "task",
              "editability": {
                "canMove": true,
                "canResize": false,
                "canEditText": true,
                "canDelete": true
              },
              "source": {
                "provider": null,
                "calendarSourceId": null,
                "title": "memrynote Tasks",
                "color": null,
                "kind": null,
                "isMemryManaged": true
              },
              "binding": null,
              "snoozeOffsetMinutes": null,
              "href": "memry://task/<taskId>",
              "source_ref": {
                "kind": "task",
                "id": "<taskId>",
                "title": "Write landing page copy",
                "href": "memry://task/<taskId>",
                "visualType": "task"
              }
            }
          ],
          "sources": [
            {
              "kind": "task",
              "id": "<task2Id>",
              "title": "Review the new design",
              "href": "memry://task/<task2Id>",
              "visualType": "task"
            },
            {
              "kind": "calendar_event",
              "id": "<eventId>",
              "title": "Design review",
              "href": "memry://calendar/event/<eventId>?date=2026-10-08",
              "visualType": "event"
            },
            {
              "kind": "task",
              "id": "<taskId>",
              "title": "Write landing page copy",
              "href": "memry://task/<taskId>",
              "visualType": "task"
            }
          ]
        }
      }
    },
    "settings.get": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read one stored setting by key; null when it is not set.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.get(key)",
      "x-memry-params": [
        {
          "name": "key",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["agent-api-example"],
        "reply": "on"
      }
    },
    "settings.getJournalSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Journal settings: templates and which panels show.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getJournalSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "defaultTemplate": null,
          "weekdayTemplates": {},
          "showSchedule": true,
          "showTasks": true,
          "showAIConnections": true,
          "showStatsFooter": false
        }
      }
    },
    "settings.getAISettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Whether AI features are on.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getAISettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "enabled": true
        }
      }
    },
    "settings.getVoiceTranscriptionSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Voice transcription settings: provider and model.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getVoiceTranscriptionSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "provider": "local",
          "memoNameMode": "transcript"
        }
      }
    },
    "settings.getVoiceModelStatus": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Whether the local voice model is downloaded and ready.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getVoiceModelStatus()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "name": "Whisper Small",
          "downloaded": false,
          "loaded": false,
          "loading": false,
          "error": null
        }
      }
    },
    "settings.getVoiceRecordingReadiness": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Whether voice recording can start now, and why not.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getVoiceRecordingReadiness()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "ready": false,
          "provider": "local",
          "reason": "missing-model",
          "message": "Download Whisper Small in Settings to record voice memos."
        }
      }
    },
    "settings.getVoiceTranscriptionOpenAIKeyStatus": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Whether an OpenAI key for transcription is stored. The key itself is never returned.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getVoiceTranscriptionOpenAIKeyStatus()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "hasApiKey": false
        }
      }
    },
    "settings.getAIModelStatus": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The state of the local embedding model.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getAIModelStatus()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "name": "EmbeddingGemma 2",
          "dimension": 256,
          "loaded": true,
          "loading": false,
          "error": null,
          "embeddingCount": 13
        }
      }
    },
    "settings.getTabSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Tab settings.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getTabSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "restoreSessionOnStart": true,
          "tabCloseButton": "hover"
        }
      }
    },
    "settings.getNoteEditorSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Note editor toolbar settings.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getNoteEditorSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "toolbarMode": "floating"
        }
      }
    },
    "settings.getGeneralSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "General settings: theme, fonts, language and startup.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getGeneralSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "theme": "white",
          "fontSize": "medium",
          "fontSizePx": 16,
          "fontFamily": "system",
          "customFontFamily": "",
          "accentColor": "#f97316",
          "colorTheme": "memrynote",
          "useThemeAccent": true,
          "backgroundLight": "",
          "foregroundLight": "",
          "backgroundDark": "",
          "foregroundDark": "",
          "reduceMotion": "system",
          "pointerCursors": false,
          "fontSmoothing": false,
          "startOnBoot": false,
          "language": "en",
          "onboardingCompleted": true,
          "createInSelectedFolder": true,
          "openPagesInNewTab": false,
          "minimizeToTray": false,
          "clockFormat": "12h",
          "dateFormat": "DD.MM.YYYY",
          "zoomFactor": 1
        }
      }
    },
    "settings.getEditorSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Editor settings: width, spell check, checklists and more.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getEditorSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "width": "normal",
          "toolbarMode": "floating",
          "spellCheck": false,
          "pdfAdaptToTheme": false,
          "convertChecklistsToTasks": true,
          "convertAgentChecklistsToTasks": false
        }
      }
    },
    "settings.getTaskSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Task settings: default project, sort order and week start.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getTaskSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "defaultProjectId": null,
          "defaultSortOrder": "manual",
          "defaultView": "all",
          "staleInboxDays": 7
        }
      }
    },
    "settings.getKeyboardSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Keyboard shortcut overrides.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getKeyboardSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "overrides": {},
          "globalCapture": null
        }
      }
    },
    "settings.getSyncSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Sync settings.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getSyncSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "enabled": true,
          "autoSync": true,
          "attachmentAutoDownload": true
        }
      }
    },
    "settings.getBackupSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Backup settings.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getBackupSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "autoBackup": false,
          "frequencyHours": 24,
          "maxBackups": 5,
          "lastBackupAt": null
        }
      }
    },
    "settings.getGraphSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Graph view settings.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getGraphSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "layout": "forceatlas2",
          "showLabels": false,
          "showEdgeLabels": false,
          "animateLayout": true,
          "showTagEdges": false
        }
      }
    },
    "settings.getCalendarSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Calendar settings.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getCalendarSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "dayCellClickBehavior": "journal",
          "calendarPageClickOverride": "calendar",
          "weekStartDay": "monday",
          "showNotesOnCalendar": false
        }
      }
    },
    "settings.getFeaturesSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Which surfaces are on: home, inbox, journal, tasks, calendar, graph and spatial canvas.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getFeaturesSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "home": true,
          "inbox": true,
          "journal": true,
          "tasks": true,
          "calendar": true,
          "graph": true,
          "spatialCanvas": true
        }
      }
    },
    "settings.getInboxSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Inbox settings, such as the daily review reminder.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "settings.getInboxSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "reviewReminderEnabled": false,
          "reviewReminderTime": "18:00",
          "imageFilingMode": "embed",
          "imageFilingModeRemembered": false
        }
      }
    },
    "search.query": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "maxLength": 500
            },
            "types": {
              "default": [],
              "type": "array",
              "items": {
                "type": "string",
                "enum": ["note", "journal", "task", "inbox"]
              }
            },
            "tags": {
              "default": [],
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "dateRange": {
              "default": null,
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "from": {
                      "type": "string"
                    },
                    "to": {
                      "type": "string"
                    }
                  },
                  "required": ["from", "to"],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "projectId": {
              "default": null,
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "folderPath": {
              "default": null,
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "limit": {
              "default": 10,
              "type": "number",
              "minimum": 1,
              "maximum": 100
            },
            "offset": {
              "default": 0,
              "type": "number",
              "minimum": 0
            },
            "noteFileTypes": {
              "minItems": 1,
              "type": "array",
              "items": {
                "type": "string",
                "enum": ["markdown", "pdf", "image", "audio", "video"]
              }
            }
          },
          "required": ["text"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Full-text search across notes, tasks, journal entries and inbox items.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "search.query(params)",
      "x-memry-params": [
        {
          "name": "params",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "text": "relaunch",
            "types": ["note", "task"],
            "limit": 3
          }
        ],
        "reply": {
          "groups": [
            {
              "type": "note",
              "results": [
                {
                  "id": "<noteId>",
                  "type": "note",
                  "title": "Website relaunch plan",
                  "snippet": "# Website <mark>relaunch</mark> plan\n\nSecond draft.\n\n## Goals\n\n- Faster pages\n- Clearer pricing\n\nSee [[Launch checklist]].\n",
                  "score": 2.197131341983295,
                  "normalizedScore": 1,
                  "matchType": "exact",
                  "modifiedAt": "2026-10-07T11:17:25.736Z",
                  "metadata": {
                    "type": "note",
                    "path": "Projects/Website relaunch plan.md",
                    "tags": [],
                    "emoji": null,
                    "fileType": "markdown",
                    "wordCount": 17,
                    "createdAt": "2026-10-07T11:17:24.017Z"
                  }
                }
              ],
              "totalInGroup": 1
            }
          ],
          "totalCount": 1,
          "queryTimeMs": 1
        }
      }
    },
    "search.quick": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "minItems": 1,
          "type": "array",
          "items": {
            "type": "string",
            "enum": ["markdown", "pdf", "image", "audio", "video"]
          }
        }
      ],
      "minItems": 1,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The fast search behind the command palette: a few hits per type.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "search.quick(text, noteFileTypes?)",
      "x-memry-params": [
        {
          "name": "text",
          "required": true
        },
        {
          "name": "noteFileTypes",
          "required": false
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["launch", ["markdown"]],
        "reply": {
          "results": [
            {
              "id": "<note2Id>",
              "type": "note",
              "title": "Launch checklist",
              "snippet": "# <mark>Launch</mark> checklist\n\n- [ ] DNS\n",
              "score": 2.650944219070842,
              "normalizedScore": 1,
              "matchType": "exact",
              "modifiedAt": "2026-10-07T11:17:24.117Z",
              "metadata": {
                "type": "note",
                "path": "Projects/Launch checklist.md",
                "tags": [],
                "emoji": null,
                "fileType": "markdown",
                "wordCount": 7,
                "createdAt": "2026-10-07T11:17:24.117Z"
              }
            },
            {
              "id": "<inbox2Id>",
              "type": "inbox",
              "title": "Idea 2",
              "snippet": "Idea 2: follow up on the <mark>launch</mark>",
              "score": 9.54401519949335e-7,
              "normalizedScore": 1,
              "matchType": "exact",
              "modifiedAt": "2026-10-07T11:17:25.773Z",
              "metadata": {
                "type": "inbox",
                "itemType": "note",
                "sourceUrl": null,
                "sourceTitle": null,
                "filedAt": null
              }
            },
            {
              "id": "<inbox3Id>",
              "type": "inbox",
              "title": "Idea 3",
              "snippet": "Idea 3: follow up on the <mark>launch</mark>",
              "score": 9.54401519949335e-7,
              "normalizedScore": 1,
              "matchType": "exact",
              "modifiedAt": "2026-10-07T11:17:25.780Z",
              "metadata": {
                "type": "inbox",
                "itemType": "note",
                "sourceUrl": null,
                "sourceTitle": null,
                "filedAt": null
              }
            }
          ],
          "queryTimeMs": 1
        }
      }
    },
    "search.getStats": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Search index statistics.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "search.getStats()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "totalNotes": 10,
          "totalJournals": 3,
          "totalTasks": 9,
          "totalInboxItems": 17,
          "totalIndexed": 39,
          "lastIndexedAt": null
        }
      }
    },
    "search.getReasons": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Recently opened search results and why they were opened.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "search.getReasons()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": []
      }
    },
    "search.getAllTags": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every tag known to search, with counts.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "search.getAllTags()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": ["active", "draft", "meeting"]
      }
    },
    "graph.getData": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The whole link graph: nodes and edges.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "graph.getData()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "nodes": [
            {
              "id": "ojq380wewprl",
              "type": "journal",
              "label": "2025-01-01",
              "tags": [],
              "wordCount": 47,
              "connectionCount": 0,
              "emoji": null,
              "color": "var(--graph-node-journal)",
              "isOrphan": true,
              "isUnresolved": false
            },
            {
              "id": "f8k9vbffqo7k",
              "type": "note",
              "label": "sample-project",
              "tags": ["active", "project"],
              "wordCount": 40,
              "connectionCount": 1,
              "emoji": null,
              "color": "var(--graph-node-note)",
              "isOrphan": false,
              "isUnresolved": false
            },
            {
              "id": "78n9fxcpnsyn",
              "type": "note",
              "label": "getting-started",
              "tags": ["onboarding", "tutorial"],
              "wordCount": 31,
              "connectionCount": 1,
              "emoji": null,
              "color": "var(--graph-node-note)",
              "isOrphan": false,
              "isUnresolved": false
            }
          ],
          "edges": [
            {
              "id": "<taskId>-<projectId>-project-task",
              "source": "<taskId>",
              "target": "<projectId>",
              "type": "project-task",
              "weight": 1
            },
            {
              "id": "<task2Id>-<projectId>-project-task",
              "source": "<task2Id>",
              "target": "<projectId>",
              "type": "project-task",
              "weight": 1
            },
            {
              "id": "<task3Id>-<projectId>-project-task",
              "source": "<task3Id>",
              "target": "<projectId>",
              "type": "project-task",
              "weight": 1
            }
          ]
        }
      }
    },
    "graph.getLocal": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "noteId": {
              "type": "string",
              "minLength": 1
            },
            "depth": {
              "default": 2,
              "type": "integer",
              "minimum": 1,
              "maximum": 3
            }
          },
          "required": ["noteId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The link graph around one note, to a depth.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "graph.getLocal(params)",
      "x-memry-params": [
        {
          "name": "params",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [
          {
            "noteId": "<noteId>",
            "depth": 1
          }
        ],
        "reply": {
          "nodes": [
            {
              "id": "<noteId>",
              "type": "note",
              "label": "Website relaunch plan",
              "tags": ["planning", "website"],
              "wordCount": 17,
              "connectionCount": 1,
              "emoji": null,
              "color": "var(--graph-node-note)",
              "isOrphan": false,
              "isUnresolved": false
            },
            {
              "id": "<note2Id>",
              "type": "note",
              "label": "Launch checklist",
              "tags": ["obsolete", "website"],
              "wordCount": 7,
              "connectionCount": 1,
              "emoji": null,
              "color": "var(--graph-node-note)",
              "isOrphan": false,
              "isUnresolved": false
            }
          ],
          "edges": [
            {
              "id": "<noteId>-<note2Id>-wikilink",
              "source": "<noteId>",
              "target": "<note2Id>",
              "type": "wikilink",
              "weight": 1
            }
          ]
        }
      }
    },
    "homePages.list": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every home page.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "homePages.list()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": [
          {
            "id": "hBrhNJ5r-TVBQoD1vVLPR",
            "name": "Home",
            "position": 0,
            "widgets": [
              {
                "id": "_V4IrvbGoj9qgRSZnnBxB",
                "type": "recently-edited",
                "x": 0,
                "y": 0,
                "w": 4,
                "h": 4,
                "config": {}
              },
              {
                "id": "QQLqcIBMAnjDkEA6ASg0L",
                "type": "bookmarks",
                "x": 0,
                "y": 4,
                "w": 4,
                "h": 4,
                "config": {}
              }
            ]
          },
          {
            "id": "<homePageId>",
            "name": "Focus",
            "position": 0,
            "widgets": []
          },
          {
            "id": "<homePage2Id>",
            "name": "Spare",
            "position": 0,
            "widgets": []
          }
        ]
      }
    },
    "homePages.get": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Read a home page by id.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "homePages.get(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<homePageId>"],
        "reply": {
          "id": "<homePageId>",
          "name": "Focus",
          "position": 0,
          "widgets": []
        }
      }
    },
    "vault.getAll": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The vaults known on this device and which one is open.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "vault.getAll()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "vaults": [
            {
              "path": "<vault>",
              "name": "memry-e2e-agent-3gL7PG",
              "noteCount": 3,
              "taskCount": 0,
              "lastOpened": "2026-10-07T11:17:12.485Z",
              "isDefault": true,
              "isMissing": false,
              "accentColor": "#f97316"
            }
          ],
          "currentVault": null
        }
      }
    },
    "vault.getStatus": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The open vault’s state: path, indexing progress and errors.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "vault.getStatus()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "isOpen": true,
          "path": "<vault>",
          "isIndexing": false,
          "indexProgress": 100,
          "error": null
        }
      }
    },
    "vault.getConfig": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The open vault’s configuration.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "vault.getConfig()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "excludePatterns": [".git", "node_modules", ".trash"],
          "defaultNoteFolder": "",
          "journalFolder": "journal",
          "journalDateFormat": "YYYY-MM-DD",
          "attachmentsFolder": "attachments",
          "journalShowInSidebar": false
        }
      }
    },
    "vault.listAccount": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The vaults of the signed-in account on the sync server.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "vault.listAccount()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": []
      }
    },
    "canvas.list": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Every canvas.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "canvas.list()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "canvases": [
            {
              "id": "<deleteCanvasId>",
              "title": "Scratch board",
              "folder": null,
              "icon": null,
              "ownerNoteId": null,
              "createdAt": 1791371846105,
              "updatedAt": 1791371846105
            },
            {
              "id": "<canvasId>",
              "title": "Launch board",
              "folder": null,
              "icon": null,
              "ownerNoteId": null,
              "createdAt": 1791371846095,
              "updatedAt": 1791371846095
            }
          ]
        }
      }
    },
    "canvas.getAsset": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "minLength": 1
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "One image file attached to a canvas.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "canvas.getAsset(canvasId, fileId)",
      "x-memry-params": [
        {
          "name": "canvasId",
          "required": true
        },
        {
          "name": "fileId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<canvasId>", "missing-file-id"],
        "reply": {
          "ref": null
        }
      }
    },
    "canvas.listAssets": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The image files attached to a canvas.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "canvas.listAssets(canvasId)",
      "x-memry-params": [
        {
          "name": "canvasId",
          "required": true
        }
      ],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": ["<canvasId>"],
        "reply": {
          "assets": []
        }
      }
    },
    "canvas.libraryList": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "The shapes saved in the canvas library.",
      "x-memry-tool": "vault_desktop_read",
      "x-memry-call": "canvas.libraryList()",
      "x-memry-params": [],
      "x-memry-requires-approval": false,
      "x-memry-example": {
        "args": [],
        "reply": {
          "libraryItems": []
        }
      }
    },
    "notes.create": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "title": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "content": {
              "default": "",
              "type": "string"
            },
            "folder": {
              "type": "string"
            },
            "tags": {
              "maxItems": 50,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "template": {
              "type": "string"
            },
            "properties": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            "emoji": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": ["title"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create a note from markdown, in a folder, with tags and properties.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.create(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "title": "Press kit",
            "content": "# Press kit\n\nLogos and screenshots.\n",
            "folder": "Projects",
            "tags": ["website"]
          }
        ],
        "reply": {
          "success": true,
          "note": {
            "id": "sgywbhe5fcbg",
            "path": "Projects/Press kit.md",
            "title": "Press kit",
            "content": "# Press kit\n\nLogos and screenshots.\n",
            "frontmatter": {
              "tags": ["website"]
            },
            "created": "2026-10-07T11:17:31.335Z",
            "modified": "2026-10-07T11:17:31.335Z",
            "tags": ["website"],
            "aliases": [],
            "wordCount": 6,
            "properties": {},
            "emoji": null
          }
        }
      }
    },
    "notes.update": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "title": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "content": {
              "type": "string"
            },
            "tags": {
              "maxItems": 50,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "frontmatter": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            "emoji": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a note’s title, content, tags, properties or emoji.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.update(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<note2Id>",
            "content": "# Launch checklist\n\n- [ ] DNS\n- [ ] Analytics\n"
          }
        ],
        "reply": {
          "success": true,
          "note": {
            "id": "<note2Id>",
            "path": "Projects/Launch checklist.md",
            "title": "Launch checklist",
            "content": "# Launch checklist\n\n- [ ] DNS\n- [ ] Analytics {check}\n",
            "frontmatter": {
              "tags": ["website", "obsolete"]
            },
            "created": "2026-10-07T11:17:24.117Z",
            "modified": "2026-10-07T11:17:31.438Z",
            "tags": ["website", "obsolete"],
            "aliases": [],
            "wordCount": 12,
            "properties": {},
            "emoji": null
          }
        }
      }
    },
    "notes.rename": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Rename a note.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.rename(id, newTitle)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        },
        {
          "name": "newTitle",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<renameNoteId>", "Q4 roadmap (draft)"],
        "reply": {
          "success": true,
          "note": {
            "id": "<renameNoteId>",
            "path": "Projects/Q4 roadmap (draft).md",
            "title": "Q4 roadmap (draft)",
            "content": "Q4 themes.\n",
            "frontmatter": {
              "tags": ["draft"]
            },
            "created": "2026-10-07T11:17:24.913Z",
            "modified": "2026-10-07T11:17:31.460Z",
            "tags": ["draft"],
            "aliases": [],
            "wordCount": 2,
            "properties": {},
            "emoji": null
          }
        }
      }
    },
    "notes.move": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Move a note to another folder.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.move(id, newFolder)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        },
        {
          "name": "newFolder",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<moveNoteId>", "Projects"],
        "reply": {
          "success": true,
          "note": {
            "id": "<moveNoteId>",
            "path": "Projects/Old pricing ideas.md",
            "title": "Old pricing ideas",
            "content": "Three tiers.\n",
            "frontmatter": {},
            "created": "2026-10-07T11:17:24.934Z",
            "modified": "2026-10-07T11:17:31.481Z",
            "tags": [],
            "aliases": [],
            "wordCount": 2,
            "properties": {},
            "emoji": null
          }
        }
      }
    },
    "notes.delete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a note.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.delete(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<deleteNoteId>"],
        "reply": {
          "success": true
        }
      }
    },
    "notes.createFolder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create a note folder.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.createFolder(path)",
      "x-memry-params": [
        {
          "name": "path",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["Projects/Assets"],
        "reply": {
          "success": true,
          "stored": {
            "path": "Projects/Assets",
            "icon": null
          }
        }
      }
    },
    "notes.renameFolder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Rename or move a note folder and everything in it.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.renameFolder(oldPath, newPath)",
      "x-memry-params": [
        {
          "name": "oldPath",
          "required": true
        },
        {
          "name": "newPath",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["Projects/Assets", "Projects/Brand assets"],
        "reply": {
          "success": true,
          "stored": {
            "path": "Projects/Brand assets",
            "icon": null
          }
        }
      }
    },
    "notes.deleteFolder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a note folder and everything in it.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.deleteFolder(path)",
      "x-memry-params": [
        {
          "name": "path",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["Projects/Brand assets"],
        "reply": {
          "success": true
        }
      }
    },
    "notes.createPropertyDefinition": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1
            },
            "type": {
              "type": "string",
              "enum": [
                "text",
                "number",
                "checkbox",
                "date",
                "url",
                "status",
                "select",
                "multiselect"
              ]
            },
            "options": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "color": {
                    "type": "string"
                  },
                  "default": {
                    "type": "boolean"
                  }
                },
                "required": ["value", "color"],
                "additionalProperties": false
              }
            },
            "defaultValue": {},
            "color": {
              "type": "string"
            }
          },
          "required": ["name", "type"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Define a property: its name, type and options.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.createPropertyDefinition(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "name": "effort",
            "type": "select",
            "options": [
              {
                "value": "S",
                "color": "green"
              },
              {
                "value": "L",
                "color": "red"
              }
            ]
          }
        ],
        "reply": {
          "success": true,
          "definition": {
            "name": "effort",
            "type": "select",
            "options": "[{\"value\":\"S\",\"color\":\"green\"},{\"value\":\"L\",\"color\":\"red\"}]",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:31.516Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "notes.updatePropertyDefinition": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1
            },
            "type": {
              "type": "string",
              "enum": [
                "text",
                "number",
                "checkbox",
                "date",
                "url",
                "status",
                "select",
                "multiselect"
              ]
            },
            "options": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "color": {
                    "type": "string"
                  },
                  "default": {
                    "type": "boolean"
                  }
                },
                "required": ["value", "color"],
                "additionalProperties": false
              }
            },
            "defaultValue": {},
            "color": {
              "type": "string"
            }
          },
          "required": ["name"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a property definition’s type, options or color.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.updatePropertyDefinition(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "name": "effort",
            "color": "blue"
          }
        ],
        "reply": {
          "success": true,
          "definition": {
            "name": "effort",
            "type": "select",
            "options": "[{\"value\":\"S\",\"color\":\"green\"},{\"value\":\"L\",\"color\":\"red\"}]",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:31.532Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "notes.ensurePropertyDefinition": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "enum": ["status", "select", "multiselect"]
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Define a status, select or multiselect property if it does not exist yet.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.ensurePropertyDefinition(name, type)",
      "x-memry-params": [
        {
          "name": "name",
          "required": true
        },
        {
          "name": "type",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["stage", "select"],
        "reply": {
          "success": true,
          "stored": {
            "name": "stage",
            "type": "select",
            "options": "[]",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:31.530Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "notes.addPropertyOption": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "object",
          "properties": {
            "value": {
              "type": "string",
              "minLength": 1
            },
            "color": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["value", "color"],
          "additionalProperties": false
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Add an option to a select or multiselect property.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.addPropertyOption(propertyName, option)",
      "x-memry-params": [
        {
          "name": "propertyName",
          "required": true
        },
        {
          "name": "option",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "stage",
          {
            "value": "review",
            "color": "yellow"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "name": "stage",
            "type": "select",
            "options": "[{\"value\":\"review\",\"color\":\"yellow\"}]",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:31.545Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "notes.addStatusOption": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "enum": ["todo", "in_progress", "done"]
        },
        {
          "type": "object",
          "properties": {
            "value": {
              "type": "string",
              "minLength": 1
            },
            "color": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["value", "color"],
          "additionalProperties": false
        }
      ],
      "minItems": 3,
      "maxItems": 3,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Add an option to one category of a status property.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.addStatusOption(propertyName, categoryKey, option)",
      "x-memry-params": [
        {
          "name": "propertyName",
          "required": true
        },
        {
          "name": "categoryKey",
          "required": true
        },
        {
          "name": "option",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "progress",
          "in_progress",
          {
            "value": "waiting",
            "color": "orange"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "name": "progress",
            "type": "status",
            "options": "{\"categories\":{\"todo\":{\"label\":\"To-do\",\"options\":[{\"value\":\"Not started\",\"color\":\"stone\",\"default\":true}]},\"in_progress\":{\"label\":\"In progress\",\"options\":[{\"value\":\"In Progress\",\"color\":\"amber\"},{\"value\":\"waiting\",\"color\":\"orange\"}]},\"done\":{\"label\":\"Complete\",\"options\":[{\"value\":\"Done\",\"color\":\"eme…",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:31.559Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "notes.removePropertyOption": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "minLength": 1
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Remove an option from a property.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.removePropertyOption(propertyName, optionValue)",
      "x-memry-params": [
        {
          "name": "propertyName",
          "required": true
        },
        {
          "name": "optionValue",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["stage", "in review"],
        "reply": {
          "success": true,
          "stored": {
            "name": "stage",
            "type": "select",
            "options": "[]",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:31.597Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "notes.renamePropertyOption": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "minLength": 1
        }
      ],
      "minItems": 3,
      "maxItems": 3,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Rename a property option, in every note that uses it.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.renamePropertyOption(propertyName, oldValue, newValue)",
      "x-memry-params": [
        {
          "name": "propertyName",
          "required": true
        },
        {
          "name": "oldValue",
          "required": true
        },
        {
          "name": "newValue",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["stage", "review", "in review"],
        "reply": {
          "success": true,
          "stored": {
            "name": "stage",
            "type": "select",
            "options": "[{\"value\":\"in review\",\"color\":\"yellow\"}]",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:31.571Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "notes.updateOptionColor": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "minLength": 1
        }
      ],
      "minItems": 3,
      "maxItems": 3,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change the color of a property option.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.updateOptionColor(propertyName, optionValue, newColor)",
      "x-memry-params": [
        {
          "name": "propertyName",
          "required": true
        },
        {
          "name": "optionValue",
          "required": true
        },
        {
          "name": "newColor",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["stage", "in review", "purple"],
        "reply": {
          "success": true,
          "stored": {
            "name": "stage",
            "type": "select",
            "options": "[{\"value\":\"in review\",\"color\":\"purple\"}]",
            "defaultValue": null,
            "color": null,
            "createdAt": "2026-10-07T11:17:31.584Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "notes.deletePropertyDefinition": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a property definition.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.deletePropertyDefinition(name)",
      "x-memry-params": [
        {
          "name": "name",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["effort"],
        "reply": {
          "success": true
        }
      }
    },
    "notes.uploadAttachment": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "arrayBuffer": {}
          },
          "required": ["name", "arrayBuffer"],
          "additionalProperties": false,
          "description": "A File-like object whose arrayBuffer() returns the bytes. JSON cannot carry one, so an agent call to this operation fails."
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Attach a file to a note. JSON cannot carry the file, so this fails for agents.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.uploadAttachment(noteId, file)",
      "x-memry-params": [
        {
          "name": "noteId",
          "required": true
        },
        {
          "name": "file",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "<noteId>",
          {
            "name": "photo.png",
            "arrayBuffer": null
          }
        ],
        "reply": {
          "code": "INTERNAL",
          "message": "file.arrayBuffer is not a function",
          "details": {
            "operation": "notes.uploadAttachment",
            "code": "DESKTOP_API_ERROR"
          }
        },
        "is_error": true
      }
    },
    "notes.deleteAttachment": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a file from a note’s attachments folder.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.deleteAttachment(noteId, filename)",
      "x-memry-params": [
        {
          "name": "noteId",
          "required": true
        },
        {
          "name": "filename",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<noteId>", "<attachmentName>"],
        "reply": {
          "success": true,
          "deleted": true,
          "referencedBy": []
        }
      }
    },
    "notes.setFolderConfig": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "properties": {
            "icon": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "template": {
              "type": "string"
            },
            "inherit": {
              "default": true,
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a folder’s settings, such as its icon and default template.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.setFolderConfig(folderPath, config)",
      "x-memry-params": [
        {
          "name": "folderPath",
          "required": true
        },
        {
          "name": "config",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "Projects",
          {
            "icon": "folder-kanban"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "icon": "folder-kanban",
            "inherit": true
          }
        }
      }
    },
    "notes.restoreVersion": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Restore a note to a saved version.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.restoreVersion(snapshotId)",
      "x-memry-params": [
        {
          "name": "snapshotId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<snapshotId>"],
        "reply": {
          "success": true,
          "note": {
            "id": "<noteId>",
            "path": "Projects/Website relaunch plan.md",
            "title": "Website relaunch plan",
            "content": "# Website relaunch plan\n\n## Goals\n\n- Faster pages\n- Clearer pricing\n\nSee [[Launch checklist]].\n",
            "frontmatter": {
              "tags": ["website", "planning"]
            },
            "created": "2026-10-07T11:17:24.017Z",
            "modified": "2026-10-07T11:17:31.622Z",
            "tags": ["website", "planning"],
            "aliases": [],
            "wordCount": 15,
            "properties": {},
            "emoji": null
          }
        }
      }
    },
    "notes.deleteVersion": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a saved version of a note.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.deleteVersion(snapshotId)",
      "x-memry-params": [
        {
          "name": "snapshotId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<snapshotId>"],
        "reply": {
          "success": true
        }
      }
    },
    "notes.reorder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set the manual order of the notes in a folder.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.reorder(folderPath, notePaths)",
      "x-memry-params": [
        {
          "name": "folderPath",
          "required": true
        },
        {
          "name": "notePaths",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["Projects", ["Projects/Launch checklist.md", "Projects/Website relaunch plan.md"]],
        "reply": {
          "success": true
        }
      }
    },
    "notes.importFiles": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Copy files from paths on this device into the vault as notes or files.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.importFiles(sourcePaths, targetFolder?)",
      "x-memry-params": [
        {
          "name": "sourcePaths",
          "required": true
        },
        {
          "name": "targetFolder",
          "required": false
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [["/Users/me/Downloads/reading-list.md"], "Projects"],
        "reply": {
          "success": true,
          "imported": 1,
          "failed": 0,
          "errors": [],
          "importedFiles": [
            {
              "destPath": "<vault>/Projects/reading-list.md",
              "filename": "reading-list.md",
              "fileType": "markdown"
            }
          ]
        }
      }
    },
    "notes.setLocalOnly": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "boolean"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Keep a note on this device only, or let it sync again.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.setLocalOnly(id, localOnly)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        },
        {
          "name": "localOnly",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<meetingNoteId>", true],
        "reply": {
          "success": true,
          "note": {
            "id": "<meetingNoteId>",
            "path": "Meetings/Kickoff meeting.md",
            "title": "Kickoff meeting",
            "content": "Attendees: Sam, Ada.\n",
            "frontmatter": {
              "tags": ["meeting"]
            },
            "created": "2026-10-07T11:17:24.889Z",
            "modified": "2026-10-07T11:17:24.889Z",
            "tags": ["meeting"],
            "aliases": [],
            "wordCount": 3,
            "properties": {},
            "emoji": null
          }
        }
      }
    },
    "notes.setCalendarPropertyVisibility": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "boolean"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Show or hide a date property on the calendar.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.setCalendarPropertyVisibility(name, showOnCalendar)",
      "x-memry-params": [
        {
          "name": "name",
          "required": true
        },
        {
          "name": "showOnCalendar",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["deadline", true],
        "reply": {
          "success": true,
          "stored": ["deadline"]
        }
      }
    },
    "notes.applyTemplate": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "noteId": {
              "type": "string"
            },
            "templateId": {
              "type": "string"
            },
            "mode": {
              "type": "string",
              "enum": ["full", "body"]
            }
          },
          "required": ["noteId", "templateId", "mode"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Apply a template to an existing note.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.applyTemplate(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "noteId": "<meetingNoteId>",
            "templateId": "<templateId>",
            "mode": "body"
          }
        ],
        "reply": {
          "success": true,
          "note": {
            "id": "<meetingNoteId>",
            "path": "Meetings/Kickoff meeting.md",
            "title": "Kickoff meeting",
            "content": "## Agenda\n\n## Notes\n\n## Action items\n",
            "frontmatter": {
              "tags": ["meeting"]
            },
            "created": "2026-10-07T11:17:24.889Z",
            "modified": "2026-10-07T11:17:31.740Z",
            "tags": ["meeting"],
            "aliases": [],
            "wordCount": 7,
            "properties": {},
            "emoji": null
          }
        }
      }
    },
    "notes.exportPdf": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "noteId": {
              "type": "string",
              "minLength": 1
            },
            "includeMetadata": {
              "default": true,
              "type": "boolean"
            },
            "pageSize": {
              "default": "A4",
              "type": "string",
              "enum": ["A4", "Letter", "Legal"]
            },
            "includeTaskMarkers": {
              "default": false,
              "type": "boolean"
            },
            "outputPath": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["noteId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Export a note to a PDF file at outputPath; without outputPath the user picks the file.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.exportPdf(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "noteId": "<noteId>",
            "pageSize": "A4",
            "outputPath": "/Users/me/Downloads/export/plan.pdf"
          }
        ],
        "reply": {
          "success": true,
          "path": "/Users/me/Downloads/export/plan.pdf"
        }
      }
    },
    "notes.exportHtml": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "noteId": {
              "type": "string",
              "minLength": 1
            },
            "includeMetadata": {
              "default": true,
              "type": "boolean"
            },
            "pageSize": {
              "default": "A4",
              "type": "string",
              "enum": ["A4", "Letter", "Legal"]
            },
            "includeTaskMarkers": {
              "default": false,
              "type": "boolean"
            },
            "outputPath": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["noteId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Export a note to an HTML file at outputPath; without outputPath the user picks the file.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "notes.exportHtml(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "noteId": "<noteId>",
            "outputPath": "/Users/me/Downloads/export/plan.html"
          }
        ],
        "reply": {
          "success": true,
          "path": "/Users/me/Downloads/export/plan.html"
        }
      }
    },
    "tasks.create": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "projectId": {
              "type": "string"
            },
            "title": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "description": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 10000
                },
                {
                  "type": "null"
                }
              ]
            },
            "priority": {
              "default": 0,
              "type": "integer",
              "minimum": 0,
              "maximum": 4
            },
            "statusId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "parentId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "dueDate": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "dueTime": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{2}:\\d{2}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "startDate": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "isRepeating": {
              "default": false,
              "type": "boolean"
            },
            "repeatConfig": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "frequency": {
                      "type": "string",
                      "enum": ["daily", "weekly", "monthly", "yearly"]
                    },
                    "interval": {
                      "default": 1,
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 9007199254740991
                    },
                    "daysOfWeek": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 6
                      }
                    },
                    "monthlyType": {
                      "type": "string",
                      "enum": ["dayOfMonth", "weekPattern"]
                    },
                    "dayOfMonth": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 31
                    },
                    "weekOfMonth": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 5
                    },
                    "dayOfWeekForMonth": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 6
                    },
                    "endType": {
                      "type": "string",
                      "enum": ["never", "date", "count"]
                    },
                    "endDate": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "endCount": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 9007199254740991
                    },
                    "completedCount": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "createdAt": {
                      "type": "string"
                    }
                  },
                  "required": ["frequency", "endType", "createdAt"],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "repeatFrom": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": ["due", "completion"]
                },
                {
                  "type": "null"
                }
              ]
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "linkedNoteIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "linkedCanvasIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "sourceNoteId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "position": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            }
          },
          "required": ["projectId", "title"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create a task in a project.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.create(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "projectId": "<projectId>",
            "title": "Order the launch cake",
            "priority": 1,
            "dueDate": "2026-10-21"
          }
        ],
        "reply": {
          "success": true,
          "task": {
            "id": "bxzD2rUFDfmosjLJdS4z3",
            "projectId": "<projectId>",
            "statusId": null,
            "parentId": null,
            "title": "Order the launch cake",
            "description": null,
            "priority": 1,
            "position": 9,
            "dueDate": "2026-10-21",
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": null,
            "clock": null,
            "fieldClocks": null,
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:32.143Z",
            "modifiedAt": "2026-10-07T11:17:32.143Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.update": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "title": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "description": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 10000
                },
                {
                  "type": "null"
                }
              ]
            },
            "priority": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4
            },
            "projectId": {
              "type": "string"
            },
            "statusId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "parentId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "dueDate": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "dueTime": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{2}:\\d{2}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "startDate": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "isRepeating": {
              "type": "boolean"
            },
            "repeatConfig": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "frequency": {
                      "type": "string",
                      "enum": ["daily", "weekly", "monthly", "yearly"]
                    },
                    "interval": {
                      "default": 1,
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 9007199254740991
                    },
                    "daysOfWeek": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 6
                      }
                    },
                    "monthlyType": {
                      "type": "string",
                      "enum": ["dayOfMonth", "weekPattern"]
                    },
                    "dayOfMonth": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 31
                    },
                    "weekOfMonth": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 5
                    },
                    "dayOfWeekForMonth": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 6
                    },
                    "endType": {
                      "type": "string",
                      "enum": ["never", "date", "count"]
                    },
                    "endDate": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "endCount": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 9007199254740991
                    },
                    "completedCount": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "createdAt": {
                      "type": "string"
                    }
                  },
                  "required": ["frequency", "endType", "createdAt"],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "repeatFrom": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": ["due", "completion"]
                },
                {
                  "type": "null"
                }
              ]
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "linkedNoteIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "linkedCanvasIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a task’s fields.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.update(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<taskId>",
            "title": "Write homepage copy",
            "description": "Hero, features, pricing."
          }
        ],
        "reply": {
          "success": true,
          "task": {
            "id": "<taskId>",
            "projectId": "<projectId>",
            "statusId": null,
            "parentId": null,
            "title": "Write homepage copy",
            "description": "Hero, features, pricing.",
            "priority": 3,
            "position": 1,
            "dueDate": "2026-10-15",
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": null,
            "clock": {
              "_offline": 3
            },
            "fieldClocks": {
              "title": {},
              "description": {},
              "projectId": {},
              "statusId": {},
              "parentId": {},
              "priority": {
                "_offline": 1
              },
              "position": {
                "_offline": 1
              },
              "dueDate": {
                "_offline": 1
              },
              "dueTime": {},
              "startDate": {},
              "repeatConfig": {},
              "repeatFrom": {},
              "sourceNoteId": {},
              "completedAt": {},
              "archivedAt": {}
            },
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:25.637Z",
            "modifiedAt": "2026-10-07T11:17:32.162Z",
            "isRepeating": false,
            "tags": ["website"],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": true,
            "subtaskCount": 1,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.delete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a task.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.delete(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<deleteTaskId>"],
        "reply": {
          "success": true
        }
      }
    },
    "tasks.complete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "completedAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Mark a task done.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.complete(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<task2Id>"
          }
        ],
        "reply": {
          "success": true,
          "task": {
            "id": "<task2Id>",
            "projectId": "<projectId>",
            "statusId": null,
            "parentId": null,
            "title": "Review the new design",
            "description": null,
            "priority": 0,
            "position": 0,
            "dueDate": "2026-10-07",
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": "2026-10-07T11:17:32.181Z",
            "archivedAt": null,
            "clock": {
              "_offline": 4
            },
            "fieldClocks": {
              "title": {},
              "description": {},
              "projectId": {},
              "statusId": {},
              "parentId": {},
              "priority": {},
              "position": {
                "_offline": 1
              },
              "dueDate": {},
              "dueTime": {},
              "startDate": {},
              "repeatConfig": {},
              "repeatFrom": {},
              "sourceNoteId": {},
              "completedAt": {
                "_offline": 2
              },
              "archivedAt": {}
            },
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:25.642Z",
            "modifiedAt": "2026-10-07T11:17:32.181Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.uncomplete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Mark a done task open again.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.uncomplete(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<task2Id>"],
        "reply": {
          "success": true,
          "task": {
            "id": "<task2Id>",
            "projectId": "<projectId>",
            "statusId": null,
            "parentId": null,
            "title": "Review the new design",
            "description": null,
            "priority": 0,
            "position": 0,
            "dueDate": "2026-10-07",
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": null,
            "clock": {
              "_offline": 5
            },
            "fieldClocks": {
              "title": {},
              "description": {},
              "projectId": {},
              "statusId": {},
              "parentId": {},
              "priority": {},
              "position": {
                "_offline": 1
              },
              "dueDate": {},
              "dueTime": {},
              "startDate": {},
              "repeatConfig": {},
              "repeatFrom": {},
              "sourceNoteId": {},
              "completedAt": {
                "_offline": 3
              },
              "archivedAt": {}
            },
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:25.642Z",
            "modifiedAt": "2026-10-07T11:17:32.197Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.archive": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Archive a task.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.archive(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<task3Id>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<task3Id>",
            "projectId": "<projectId>",
            "statusId": "<statusDoingId>",
            "parentId": null,
            "title": "Update the footer links",
            "description": null,
            "priority": 0,
            "position": 0,
            "dueDate": null,
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": "2026-10-07T11:17:32.213Z",
            "clock": {
              "_offline": 5
            },
            "fieldClocks": {
              "title": {},
              "description": {},
              "projectId": {},
              "statusId": {
                "_offline": 1
              },
              "parentId": {},
              "priority": {},
              "position": {
                "_offline": 1
              },
              "dueDate": {},
              "dueTime": {},
              "startDate": {},
              "repeatConfig": {},
              "repeatFrom": {},
              "sourceNoteId": {},
              "completedAt": {},
              "archivedAt": {
                "_offline": 3
              }
            },
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:25.648Z",
            "modifiedAt": "2026-10-07T11:17:32.213Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.unarchive": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Bring an archived task back.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.unarchive(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<task3Id>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<task3Id>",
            "projectId": "<projectId>",
            "statusId": "<statusDoingId>",
            "parentId": null,
            "title": "Update the footer links",
            "description": null,
            "priority": 0,
            "position": 0,
            "dueDate": null,
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": null,
            "clock": {
              "_offline": 6
            },
            "fieldClocks": {
              "title": {},
              "description": {},
              "projectId": {},
              "statusId": {
                "_offline": 1
              },
              "parentId": {},
              "priority": {},
              "position": {
                "_offline": 1
              },
              "dueDate": {},
              "dueTime": {},
              "startDate": {},
              "repeatConfig": {},
              "repeatFrom": {},
              "sourceNoteId": {},
              "completedAt": {},
              "archivedAt": {
                "_offline": 4
              }
            },
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:25.648Z",
            "modifiedAt": "2026-10-07T11:17:32.235Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.move": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "taskId": {
              "type": "string"
            },
            "targetProjectId": {
              "type": "string"
            },
            "targetStatusId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "targetParentId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "position": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            }
          },
          "required": ["taskId", "position"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Move a task to another project, status or parent, at a position.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.move(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "taskId": "<task3Id>",
            "targetStatusId": "<statusTodoId>",
            "position": 0
          }
        ],
        "reply": {
          "success": true,
          "task": {
            "id": "<task3Id>",
            "projectId": "<projectId>",
            "statusId": "<statusTodoId>",
            "parentId": null,
            "title": "Update the footer links",
            "description": null,
            "priority": 0,
            "position": 0,
            "dueDate": null,
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": null,
            "clock": {
              "_offline": 6
            },
            "fieldClocks": {
              "title": {},
              "description": {},
              "projectId": {},
              "statusId": {
                "_offline": 1
              },
              "parentId": {},
              "priority": {},
              "position": {
                "_offline": 1
              },
              "dueDate": {},
              "dueTime": {},
              "startDate": {},
              "repeatConfig": {},
              "repeatFrom": {},
              "sourceNoteId": {},
              "completedAt": {},
              "archivedAt": {
                "_offline": 4
              }
            },
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:25.648Z",
            "modifiedAt": "2026-10-07T11:17:32.257Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.reorder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set the positions of tasks.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.reorder(taskIds, positions)",
      "x-memry-params": [
        {
          "name": "taskIds",
          "required": true
        },
        {
          "name": "positions",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          ["<taskId>", "<task2Id>"],
          [0, 1]
        ],
        "reply": {
          "success": true
        }
      }
    },
    "tasks.duplicate": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Copy a task.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.duplicate(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<task2Id>"],
        "reply": {
          "success": true,
          "task": {
            "id": "0647OHyz5uaWiyH8vHQrv",
            "projectId": "<projectId>",
            "statusId": null,
            "parentId": null,
            "title": "Copy of Review the new design",
            "description": null,
            "priority": 0,
            "position": 2,
            "dueDate": "2026-10-07",
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": null,
            "clock": null,
            "fieldClocks": null,
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:32.284Z",
            "modifiedAt": "2026-10-07T11:17:32.284Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.convertToSubtask": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Make a task a subtask of another task.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.convertToSubtask(taskId, parentId)",
      "x-memry-params": [
        {
          "name": "taskId",
          "required": true
        },
        {
          "name": "parentId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<task4Id>", "<taskId>"],
        "reply": {
          "success": true,
          "task": {
            "id": "<task4Id>",
            "projectId": "<projectId>",
            "statusId": null,
            "parentId": "<taskId>",
            "title": "Check the meta descriptions",
            "description": null,
            "priority": 0,
            "position": 3,
            "dueDate": null,
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": null,
            "clock": {
              "_offline": 3
            },
            "fieldClocks": {
              "title": {},
              "description": {},
              "projectId": {},
              "statusId": {},
              "parentId": {
                "_offline": 2
              },
              "priority": {},
              "position": {},
              "dueDate": {},
              "dueTime": {},
              "startDate": {},
              "repeatConfig": {},
              "repeatFrom": {},
              "sourceNoteId": {},
              "completedAt": {},
              "archivedAt": {}
            },
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:25.657Z",
            "modifiedAt": "2026-10-07T11:17:32.302Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.convertToTask": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Make a subtask a top-level task.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.convertToTask(taskId)",
      "x-memry-params": [
        {
          "name": "taskId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<task4Id>"],
        "reply": {
          "success": true,
          "task": {
            "id": "<task4Id>",
            "projectId": "<projectId>",
            "statusId": null,
            "parentId": null,
            "title": "Check the meta descriptions",
            "description": null,
            "priority": 0,
            "position": 3,
            "dueDate": null,
            "dueTime": null,
            "startDate": null,
            "repeatConfig": null,
            "repeatFrom": null,
            "sourceNoteId": null,
            "completedAt": null,
            "archivedAt": null,
            "clock": {
              "_offline": 4
            },
            "fieldClocks": {
              "title": {},
              "description": {},
              "projectId": {},
              "statusId": {},
              "parentId": {
                "_offline": 3
              },
              "priority": {},
              "position": {},
              "dueDate": {},
              "dueTime": {},
              "startDate": {},
              "repeatConfig": {},
              "repeatFrom": {},
              "sourceNoteId": {},
              "completedAt": {},
              "archivedAt": {}
            },
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:25.657Z",
            "modifiedAt": "2026-10-07T11:17:32.318Z",
            "isRepeating": false,
            "tags": [],
            "linkedNoteIds": [],
            "linkedCanvasIds": [],
            "hasSubtasks": false,
            "subtaskCount": 0,
            "completedSubtaskCount": 0
          }
        }
      }
    },
    "tasks.createProject": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "description": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 500
                },
                {
                  "type": "null"
                }
              ]
            },
            "color": {
              "default": "#6366f1",
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}$"
            },
            "icon": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "statuses": {
              "minItems": 2,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 50
                  },
                  "color": {
                    "default": "#6b7280",
                    "type": "string",
                    "pattern": "^#[0-9a-fA-F]{6}$"
                  },
                  "type": {
                    "type": "string",
                    "enum": ["todo", "in_progress", "done"]
                  },
                  "order": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": ["name", "type", "order"],
                "additionalProperties": false
              }
            }
          },
          "required": ["name"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create a project, with its statuses.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.createProject(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "name": "Office move",
            "color": "#f97316"
          }
        ],
        "reply": {
          "success": true,
          "project": {
            "id": "hqTR3uE3UgKHdLv4wWJBK",
            "name": "Office move",
            "description": null,
            "color": "#f97316",
            "icon": null,
            "position": 7,
            "isInbox": false,
            "createdAt": "2026-10-07T11:17:32.341Z",
            "modifiedAt": "2026-10-07T11:17:32.341Z",
            "archivedAt": null,
            "homeNoteId": null,
            "clock": null,
            "fieldClocks": null,
            "syncedAt": null,
            "statuses": [
              {
                "id": "hqTR3uE3UgKHdLv4wWJBK-todo",
                "projectId": "hqTR3uE3UgKHdLv4wWJBK",
                "name": "To Do",
                "color": "#6b7280",
                "position": 0,
                "isDefault": true,
                "isDone": false,
                "createdAt": "2026-10-07T11:17:32.341Z"
              },
              {
                "id": "hqTR3uE3UgKHdLv4wWJBK-in-progress",
                "projectId": "hqTR3uE3UgKHdLv4wWJBK",
                "name": "In Progress",
                "color": "#F59E0B",
                "position": 1,
                "isDefault": false,
                "isDone": false,
                "createdAt": "2026-10-07T11:17:32.341Z"
              },
              {
                "id": "hqTR3uE3UgKHdLv4wWJBK-done",
                "projectId": "hqTR3uE3UgKHdLv4wWJBK",
                "name": "Done",
                "color": "#22c55e",
                "position": 2,
                "isDefault": false,
                "isDone": true,
                "createdAt": "2026-10-07T11:17:32.341Z"
              }
            ]
          }
        }
      }
    },
    "tasks.updateProject": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "description": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 500
                },
                {
                  "type": "null"
                }
              ]
            },
            "color": {
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}$"
            },
            "icon": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "statuses": {
              "minItems": 2,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 50
                  },
                  "color": {
                    "default": "#6b7280",
                    "type": "string",
                    "pattern": "^#[0-9a-fA-F]{6}$"
                  },
                  "type": {
                    "type": "string",
                    "enum": ["todo", "in_progress", "done"]
                  },
                  "order": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": ["name", "type", "order"],
                "additionalProperties": false
              }
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a project’s name, description, color, icon or statuses.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.updateProject(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<project3Id>",
            "name": "Website relaunch v2"
          }
        ],
        "reply": {
          "success": true,
          "project": {
            "id": "<project3Id>",
            "name": "Website relaunch v2",
            "description": null,
            "color": "#6366f1",
            "icon": null,
            "position": 0,
            "isInbox": false,
            "createdAt": "2026-10-07T11:17:25.614Z",
            "modifiedAt": "2026-10-07T11:17:32.357Z",
            "archivedAt": null,
            "homeNoteId": null,
            "clock": {
              "_offline": 2
            },
            "fieldClocks": {
              "name": {
                "_offline": 1
              },
              "description": {
                "_offline": 1
              },
              "color": {
                "_offline": 1
              },
              "icon": {
                "_offline": 1
              },
              "position": {
                "_offline": 2
              },
              "isInbox": {
                "_offline": 1
              },
              "archivedAt": {
                "_offline": 1
              },
              "modifiedAt": {
                "_offline": 1
              },
              "homeNoteId": {
                "_offline": 1
              }
            },
            "syncedAt": null,
            "statuses": [
              {
                "id": "<project3Id>-todo",
                "projectId": "<project3Id>",
                "name": "To Do",
                "color": "#6b7280",
                "position": 0,
                "isDefault": true,
                "isDone": false,
                "createdAt": "2026-10-07T11:17:25.614Z"
              },
              {
                "id": "<project3Id>-in-progress",
                "projectId": "<project3Id>",
                "name": "In Progress",
                "color": "#F59E0B",
                "position": 1,
                "isDefault": false,
                "isDone": false,
                "createdAt": "2026-10-07T11:17:25.614Z"
              },
              {
                "id": "<project3Id>-done",
                "projectId": "<project3Id>",
                "name": "Done",
                "color": "#22c55e",
                "position": 2,
                "isDefault": false,
                "isDone": true,
                "createdAt": "2026-10-07T11:17:25.615Z"
              }
            ]
          }
        }
      }
    },
    "tasks.deleteProject": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a project and its tasks.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.deleteProject(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<deleteProjectId>"],
        "reply": {
          "success": true
        }
      }
    },
    "tasks.archiveProject": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Archive a project.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.archiveProject(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<project3Id>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<project3Id>",
            "name": "Website relaunch v2",
            "description": null,
            "color": "#6366f1",
            "icon": null,
            "position": 0,
            "isInbox": false,
            "createdAt": "2026-10-07T11:17:25.614Z",
            "modifiedAt": "2026-10-07T11:17:32.370Z",
            "archivedAt": "2026-10-07T11:17:32.370Z",
            "homeNoteId": null,
            "clock": {
              "_offline": 4
            },
            "fieldClocks": {
              "name": {
                "_offline": 2
              },
              "description": {
                "_offline": 1
              },
              "color": {
                "_offline": 1
              },
              "icon": {
                "_offline": 1
              },
              "position": {
                "_offline": 2
              },
              "isInbox": {
                "_offline": 1
              },
              "archivedAt": {
                "_offline": 2
              },
              "modifiedAt": {
                "_offline": 1
              },
              "homeNoteId": {
                "_offline": 1
              }
            },
            "syncedAt": null,
            "statuses": [
              {
                "id": "<project3Id>-todo",
                "projectId": "<project3Id>",
                "name": "To Do",
                "color": "#6b7280",
                "position": 0,
                "isDefault": true,
                "isDone": false,
                "createdAt": "2026-10-07T11:17:25.614Z"
              },
              {
                "id": "<project3Id>-in-progress",
                "projectId": "<project3Id>",
                "name": "In Progress",
                "color": "#F59E0B",
                "position": 1,
                "isDefault": false,
                "isDone": false,
                "createdAt": "2026-10-07T11:17:25.614Z"
              },
              {
                "id": "<project3Id>-done",
                "projectId": "<project3Id>",
                "name": "Done",
                "color": "#22c55e",
                "position": 2,
                "isDefault": false,
                "isDone": true,
                "createdAt": "2026-10-07T11:17:25.615Z"
              }
            ]
          }
        }
      }
    },
    "tasks.reorderProjects": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set the order of projects.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.reorderProjects(projectIds, positions)",
      "x-memry-params": [
        {
          "name": "projectIds",
          "required": true
        },
        {
          "name": "positions",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          ["<projectId>", "<project3Id>"],
          [0, 1]
        ],
        "reply": {
          "success": true
        }
      }
    },
    "tasks.linkProjectItem": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "projectId": {
              "type": "string"
            },
            "itemType": {
              "type": "string",
              "enum": ["note", "calendar_event", "file"]
            },
            "itemId": {
              "type": "string"
            }
          },
          "required": ["projectId", "itemType", "itemId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Link a note, file or calendar event to a project.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.linkProjectItem(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "projectId": "<projectId>",
            "itemType": "note",
            "itemId": "<note2Id>"
          }
        ],
        "reply": {
          "success": true,
          "stored": [
            {
              "id": "3454623d-903e-4fd6-987e-6f4fa789fc9d",
              "projectId": "<projectId>",
              "itemType": "note",
              "itemId": "<note2Id>",
              "position": 0,
              "pinned": 0,
              "createdAt": "2026-10-07T11:17:32.412Z"
            }
          ]
        }
      }
    },
    "tasks.unlinkProjectItem": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "projectId": {
              "type": "string"
            },
            "itemType": {
              "type": "string",
              "enum": ["note", "calendar_event", "file"]
            },
            "itemId": {
              "type": "string"
            }
          },
          "required": ["projectId", "itemType", "itemId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Unlink a note, file or calendar event from a project.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.unlinkProjectItem(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "projectId": "<projectId>",
            "itemType": "note",
            "itemId": "<note2Id>"
          }
        ],
        "reply": {
          "success": true,
          "stored": []
        }
      }
    },
    "tasks.setProjectLinkPinned": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "projectId": {
              "type": "string"
            },
            "itemId": {
              "type": "string"
            },
            "pinned": {
              "type": "boolean"
            }
          },
          "required": ["projectId", "itemId", "pinned"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Pin or unpin a linked item in a project’s hub.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.setProjectLinkPinned(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "projectId": "<projectId>",
            "itemId": "<note2Id>",
            "pinned": true
          }
        ],
        "reply": {
          "success": true,
          "stored": [
            {
              "id": "3454623d-903e-4fd6-987e-6f4fa789fc9d",
              "projectId": "<projectId>",
              "itemType": "note",
              "itemId": "<note2Id>",
              "position": 0,
              "pinned": 1,
              "createdAt": "2026-10-07T11:17:32.412Z"
            }
          ]
        }
      }
    },
    "tasks.setProjectHomeNote": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "projectId": {
              "type": "string"
            },
            "noteId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": ["projectId", "noteId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set or clear (null) a project’s home note.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.setProjectHomeNote(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "projectId": "<projectId>",
            "noteId": "<noteId>"
          }
        ],
        "reply": {
          "success": true,
          "project": {
            "id": "<projectId>",
            "name": "Website relaunch",
            "description": null,
            "color": "#6366f1",
            "icon": null,
            "position": 0,
            "isInbox": false,
            "createdAt": "2026-10-07T11:17:25.610Z",
            "modifiedAt": "2026-10-07T11:17:32.486Z",
            "archivedAt": null,
            "homeNoteId": "<noteId>",
            "clock": {
              "_offline": 14
            },
            "fieldClocks": {
              "name": {
                "_offline": 1
              },
              "description": {
                "_offline": 1
              },
              "color": {
                "_offline": 1
              },
              "icon": {
                "_offline": 1
              },
              "position": {
                "_offline": 3
              },
              "isInbox": {
                "_offline": 1
              },
              "archivedAt": {
                "_offline": 1
              },
              "modifiedAt": {
                "_offline": 1
              },
              "homeNoteId": {
                "_offline": 1
              }
            },
            "syncedAt": null,
            "statuses": [
              {
                "id": "<statusTodoId>",
                "projectId": "<projectId>",
                "name": "To Do",
                "color": "#6b7280",
                "position": 0,
                "isDefault": true,
                "isDone": false,
                "createdAt": "2026-10-07T11:17:25.610Z"
              },
              {
                "id": "<statusDoingId>",
                "projectId": "<projectId>",
                "name": "Doing",
                "color": "#F59E0B",
                "position": 1,
                "isDefault": false,
                "isDone": false,
                "createdAt": "2026-10-07T11:17:25.610Z"
              },
              {
                "id": "<projectId>-done",
                "projectId": "<projectId>",
                "name": "Done",
                "color": "#22c55e",
                "position": 2,
                "isDefault": false,
                "isDone": true,
                "createdAt": "2026-10-07T11:17:25.610Z"
              }
            ]
          }
        }
      }
    },
    "tasks.captureUrlToProject": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "projectId": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          },
          "required": ["projectId", "url"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Save a web page as a bookmark note linked to a project.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.captureUrlToProject(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "projectId": "<projectId>",
            "url": "https://example.com/"
          }
        ],
        "reply": {
          "success": true,
          "noteId": "64fcl4zr2nul"
        }
      }
    },
    "tasks.importFilesToProject": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "projectId": {
              "type": "string"
            },
            "sourcePaths": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": ["projectId", "sourcePaths"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Import files from this device into the vault, linked to a project.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.importFilesToProject(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "projectId": "<projectId>",
            "sourcePaths": ["/Users/me/Downloads/brief.md"]
          }
        ],
        "reply": {
          "success": true,
          "linked": ["ozkylhbuuo5b"],
          "failed": []
        }
      }
    },
    "tasks.createStatus": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "projectId": {
              "type": "string"
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 50
            },
            "color": {
              "default": "#6b7280",
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}$"
            },
            "isDone": {
              "default": false,
              "type": "boolean"
            }
          },
          "required": ["projectId", "name"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Add a status to a project.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.createStatus(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "projectId": "<projectId>",
            "name": "Review",
            "color": "#a855f7"
          }
        ],
        "reply": {
          "success": true,
          "status": {
            "id": "EKOWCDnf29SVH-RZ08H1K",
            "projectId": "<projectId>",
            "name": "Review",
            "color": "#a855f7",
            "position": 6,
            "isDefault": false,
            "isDone": false,
            "createdAt": "2026-10-07T11:17:32.849Z"
          }
        }
      }
    },
    "tasks.updateStatus": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 50
            },
            "color": {
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}$"
            },
            "position": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "isDefault": {
              "type": "boolean"
            },
            "isDone": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a status’s name, color, position or done state.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.updateStatus(id, updates)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        },
        {
          "name": "updates",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "<statusDoingId>",
          {
            "name": "In progress"
          }
        ],
        "reply": {
          "success": true,
          "status": {
            "id": "<statusDoingId>",
            "projectId": "<projectId>",
            "name": "In progress",
            "color": "#F59E0B",
            "position": 1,
            "isDefault": false,
            "isDone": false,
            "createdAt": "2026-10-07T11:17:25.610Z"
          }
        }
      }
    },
    "tasks.deleteStatus": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a status.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.deleteStatus(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<statusSpareId>"],
        "reply": {
          "success": true
        }
      }
    },
    "tasks.reorderStatuses": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set the order of a project’s statuses.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.reorderStatuses(statusIds, positions)",
      "x-memry-params": [
        {
          "name": "statusIds",
          "required": true
        },
        {
          "name": "positions",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          ["<statusDoingId>", "<statusTodoId>"],
          [0, 1]
        ],
        "reply": {
          "success": true
        }
      }
    },
    "tasks.bulkComplete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Mark several tasks done.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.bulkComplete(ids)",
      "x-memry-params": [
        {
          "name": "ids",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [["<task5Id>", "<task6Id>"]],
        "reply": {
          "success": true,
          "count": 2
        }
      }
    },
    "tasks.bulkDelete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete several tasks.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.bulkDelete(ids)",
      "x-memry-params": [
        {
          "name": "ids",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [["<task6Id>"]],
        "reply": {
          "success": true,
          "count": 1
        }
      }
    },
    "tasks.bulkMove": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Move several tasks to a project.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.bulkMove(ids, projectId)",
      "x-memry-params": [
        {
          "name": "ids",
          "required": true
        },
        {
          "name": "projectId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [["<task5Id>", "<task6Id>"], "<project3Id>"],
        "reply": {
          "success": true,
          "count": 2
        }
      }
    },
    "tasks.bulkArchive": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Archive several tasks.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tasks.bulkArchive(ids)",
      "x-memry-params": [
        {
          "name": "ids",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [["<task5Id>"]],
        "reply": {
          "success": true,
          "count": 1
        }
      }
    },
    "inbox.captureText": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "content": {
              "type": "string",
              "minLength": 1,
              "maxLength": 50000
            },
            "title": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "force": {
              "type": "boolean"
            },
            "source": {
              "type": "string",
              "enum": ["quick-capture", "inline", "browser-extension", "api", "reminder"]
            }
          },
          "required": ["content"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Capture a text note into the inbox.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.captureText(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "content": "Ask Sam for the hero photo",
            "title": "Hero photo",
            "tags": ["website"]
          }
        ],
        "reply": {
          "success": true,
          "item": {
            "id": "ynx3ZVUaAzXpIcwvhbQGH",
            "type": "note",
            "title": "Hero photo",
            "content": "Ask Sam for the hero photo",
            "createdAt": "2026-10-07T11:17:33.411Z",
            "modifiedAt": "2026-10-07T11:17:33.411Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": ["website"],
            "isStale": false
          }
        }
      }
    },
    "inbox.captureLink": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "url": {
              "type": "string",
              "maxLength": 2000
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "force": {
              "type": "boolean"
            },
            "source": {
              "type": "string",
              "enum": ["quick-capture", "inline", "browser-extension", "api", "reminder"]
            }
          },
          "required": ["url"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Capture a link into the inbox; its title and preview are fetched.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.captureLink(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "url": "https://example.com/",
            "tags": ["reading"]
          }
        ],
        "reply": {
          "success": true,
          "item": {
            "id": "zpg61qUCdyQN-1KAZpz-X",
            "type": "link",
            "title": "example.com",
            "content": null,
            "createdAt": "2026-10-07T11:17:33.500Z",
            "modifiedAt": "2026-10-07T11:17:33.500Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "pending",
            "processingError": null,
            "metadata": {
              "url": "https://example.com/",
              "fetchStatus": "pending"
            },
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": "https://example.com/",
            "sourceTitle": null,
            "captureSource": null,
            "tags": ["reading"],
            "isStale": false
          }
        }
      }
    },
    "inbox.captureImage": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "data": {},
            "filename": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255
            },
            "mimeType": {
              "type": "string",
              "enum": [
                "image/png",
                "image/jpeg",
                "image/gif",
                "image/webp",
                "image/svg+xml",
                "audio/mpeg",
                "audio/mp3",
                "audio/wav",
                "audio/ogg",
                "audio/mp4",
                "audio/x-m4a",
                "audio/flac",
                "audio/aac",
                "audio/webm",
                "video/mp4",
                "video/webm",
                "video/quicktime",
                "video/x-msvideo",
                "video/x-matroska",
                "application/pdf"
              ]
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "source": {
              "type": "string",
              "enum": ["quick-capture", "inline", "browser-extension", "api", "reminder"]
            }
          },
          "required": ["data", "filename", "mimeType"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Capture an image, audio, video or PDF file into the inbox. Over JSON, data is the bytes as an object of byte values: { \"0\": 137, \"1\": 80, ... }.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.captureImage(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "data": {
              "0": 137,
              "1": 80,
              "2": 78,
              "3": 71,
              "4": 13,
              "5": 10,
              "6": 26,
              "7": 10,
              "8": 0,
              "9": 0,
              "10": 0,
              "11": 13,
              "12": 73,
              "13": 72,
              "14": 68,
              "15": 82,
              "16": 0,
              "17": 0,
              "18": 0,
              "19": 1,
              "20": 0,
              "21": 0,
              "22": 0,
              "23": 1,
              "24": 8,
              "25": 2,
              "26": 0,
              "27": 0,
              "28": 0,
              "29": 144,
              "30": 119,
              "31": 83,
              "32": 222,
              "33": 0,
              "34": 0,
              "35": 0,
              "36": 12,
              "37": 73,
              "38": 68,
              "39": 65,
              "40": 84,
              "41": 120,
              "42": 156,
              "43": 99,
              "44": 208,
              "45": 136,
              "46": 58,
              "47": 1,
              "48": 0,
              "49": 1,
              "50": 248,
              "51": 1,
              "52": 75,
              "53": 41,
              "54": 207,
              "55": 215,
              "56": 94,
              "57": 0,
              "58": 0,
              "59": 0,
              "60": 0,
              "61": 73,
              "62": 69,
              "63": 78,
              "64": 68,
              "65": 174,
              "66": 66,
              "67": 96,
              "68": 130
            },
            "filename": "whiteboard.png",
            "mimeType": "image/png"
          }
        ],
        "reply": {
          "success": true,
          "item": {
            "id": "0RxpqQyHzkFImi0FIPoQW",
            "type": "image",
            "title": "whiteboard",
            "content": null,
            "createdAt": "2026-10-07T11:17:33.514Z",
            "modifiedAt": "2026-10-07T11:17:33.514Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": {
              "originalFilename": "whiteboard.png",
              "format": "png",
              "width": 1,
              "height": 1,
              "fileSize": 69,
              "hasExif": false
            },
            "attachmentPath": "attachments/inbox/0RxpqQyHzkFImi0FIPoQW/ou2eba-whiteboard.png",
            "attachmentUrl": "memry-file://local<vault>/attachments/inbox/0RxpqQyHzkFImi0FIPoQW/ou2eba-whiteboard.png",
            "thumbnailPath": "attachments/inbox/0RxpqQyHzkFImi0FIPoQW/thumbnail.jpg",
            "thumbnailUrl": "memry-file://local<vault>/attachments/inbox/0RxpqQyHzkFImi0FIPoQW/thumbnail.jpg",
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.captureVoice": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "data": {},
            "duration": {
              "type": "number",
              "minimum": 0,
              "maximum": 300
            },
            "format": {
              "type": "string",
              "enum": ["webm", "mp3", "wav"]
            },
            "transcribe": {
              "default": true,
              "type": "boolean"
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "source": {
              "type": "string",
              "enum": ["quick-capture", "inline", "browser-extension", "api", "reminder"]
            },
            "waveform": {
              "maxItems": 120,
              "type": "array",
              "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              }
            }
          },
          "required": ["data", "duration", "format"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Capture a voice memo into the inbox. Over JSON, data is the bytes as an object of byte values: { \"0\": 26, \"1\": 69, ... }.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.captureVoice(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "data": {
              "0": 26,
              "1": 69,
              "2": 223,
              "3": 163,
              "4": 159,
              "5": 66,
              "6": 134,
              "7": 129,
              "8": 1,
              "9": 66,
              "10": 247,
              "11": 129,
              "12": 1,
              "13": 66,
              "14": 242,
              "15": 129,
              "16": 4,
              "17": 66,
              "18": 243,
              "19": 129,
              "20": 8,
              "21": 66,
              "22": 130,
              "23": 132,
              "24": 119,
              "25": 101,
              "26": 98,
              "27": 109,
              "28": 66,
              "29": 135,
              "30": 129,
              "31": 4,
              "32": 66,
              "33": 133,
              "34": 129,
              "35": 2
            },
            "duration": 1,
            "format": "webm",
            "transcribe": false
          }
        ],
        "reply": {
          "success": true,
          "item": {
            "id": "GOO0Zut0GwDtMBHfDf_-C",
            "type": "voice",
            "title": "Voice memo (0:01)",
            "content": null,
            "createdAt": "2026-10-07T11:17:33.623Z",
            "modifiedAt": "2026-10-07T11:17:33.623Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": {
              "duration": 1,
              "format": "webm",
              "fileSize": 36
            },
            "attachmentPath": "attachments/inbox/GOO0Zut0GwDtMBHfDf_-C/m8cp5r-voice-memo.webm",
            "attachmentUrl": "memry-file://local<vault>/attachments/inbox/GOO0Zut0GwDtMBHfDf_-C/m8cp5r-voice-memo.webm",
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.captureClip": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "html": {
              "type": "string",
              "maxLength": 100000
            },
            "text": {
              "type": "string",
              "maxLength": 50000
            },
            "sourceUrl": {
              "type": "string",
              "maxLength": 2000
            },
            "sourceTitle": {
              "type": "string",
              "maxLength": 200
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "source": {
              "type": "string",
              "enum": ["quick-capture", "inline", "browser-extension", "api", "reminder"]
            }
          },
          "required": ["html", "text", "sourceUrl", "sourceTitle"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Web clips are not built yet: this replies { success: false, error: \"Not implemented yet\" }.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.captureClip(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "html": "<p>Launch on a Tuesday.</p>",
            "text": "Launch on a Tuesday.",
            "sourceUrl": "https://example.com/launch-tips",
            "sourceTitle": "Launch tips"
          }
        ],
        "reply": {
          "success": false,
          "item": null,
          "error": "Not implemented yet"
        }
      }
    },
    "inbox.capturePdf": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "data": {},
            "filename": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255
            },
            "extractText": {
              "default": true,
              "type": "boolean"
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            }
          },
          "required": ["data", "filename"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Capture a PDF into the inbox. data must be a Buffer, which JSON cannot carry, so this fails for agents; use inbox.captureImage with mimeType application/pdf.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.capturePdf(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "data": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCAzMDAgMTQ0XSAvQ29udGVudHMgNCAwIFIgL1Jlc291cmNlcyA8PCAvRm9udCA8PCAvRjEgNSAwIFIgPj4gPj4gPj4KZW5kb2JqCjQgMCBvYmoKPDwgL0xlbmd0aCA0NiA+PgpzdHJlYW0KQlQgL0YxIDE4IFRmIDI0IDcyIFRkIChRdWFydGVybHkgcmVwb3J0KSBUaiBFVAplbmRzdHJlYW0KZW5kb2JqCjUgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+CmVuZG9iagp4cmVmCjAgNgowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCjAwMDAwMDAyNDEgMDAwMDAgbiAKMDAwMDAwMDMzNyAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDYgL1Jvb3QgMSAwIFIgPj4Kc3RhcnR4cmVmCjQwNwolJUVPRgo=",
            "filename": "report.pdf",
            "extractText": false
          }
        ],
        "reply": {
          "code": "VALIDATION",
          "message": "inbox.capturePdf arguments do not match its schema: input.data: expected any, got \"JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAw...\". Nothing was run. vault_desktop_describe with operation \"inbox.capturePdf\" returns the full argument schema.",
          "details": {
            "operation": "inbox.capturePdf",
            "params": ["input"],
            "issues": [
              {
                "field": "input.data",
                "expected": "any",
                "received": "\"JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAw...\""
              }
            ]
          }
        },
        "is_error": true
      }
    },
    "inbox.update": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "title": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "content": {
              "type": "string",
              "maxLength": 50000
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change an inbox item’s title or content.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.update(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<inboxId>",
            "content": "Call the printer about 500 flyers."
          }
        ],
        "reply": {
          "success": true,
          "item": {
            "id": "<inboxId>",
            "type": "note",
            "title": "Call the printer about flyers",
            "content": "Call the printer about 500 flyers.",
            "createdAt": "2026-10-07T11:17:25.759Z",
            "modifiedAt": "2026-10-07T11:17:33.648Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.archive": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Archive an inbox item.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.archive(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inbox10Id>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<inbox10Id>",
            "type": "note",
            "title": "Idea 10",
            "content": "Idea 10: follow up on the launch",
            "createdAt": "2026-10-07T11:17:25.838Z",
            "modifiedAt": "2026-10-07T11:17:25.838Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": "2026-10-07T11:17:33.888Z",
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.file": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemId": {
              "type": "string"
            },
            "destination": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": ["folder", "note", "new-note"]
                },
                "path": {
                  "type": "string"
                },
                "noteId": {
                  "type": "string"
                },
                "noteIds": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "noteTitle": {
                  "type": "string",
                  "maxLength": 200
                },
                "targets": {
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "note"
                          },
                          "noteId": {
                            "type": "string"
                          }
                        },
                        "required": ["kind", "noteId"],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "new"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          }
                        },
                        "required": ["kind", "title"],
                        "additionalProperties": false
                      }
                    ]
                  }
                }
              },
              "required": ["type"],
              "additionalProperties": false
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            },
            "imageMode": {
              "type": "string",
              "enum": ["embed", "link"]
            }
          },
          "required": ["itemId", "destination"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "File an inbox item into a folder or note.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.file(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemId": "<inbox5Id>",
            "destination": {
              "type": "folder",
              "path": "Projects"
            }
          }
        ],
        "reply": {
          "success": true,
          "filedTo": "Projects/Idea 5.md",
          "noteId": "7ygufoejkbr9"
        }
      }
    },
    "inbox.trackSuggestion": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemId": {
              "type": "string"
            },
            "itemType": {
              "type": "string"
            },
            "suggestedTo": {
              "type": "string"
            },
            "actualTo": {
              "type": "string"
            },
            "confidence": {
              "type": "number"
            },
            "suggestedTags": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "actualTags": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": ["itemId", "itemType", "suggestedTo", "actualTo", "confidence"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Record whether a filing suggestion was taken, to improve later ones.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.trackSuggestion(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemId": "<inboxId>",
            "itemType": "note",
            "suggestedTo": "Projects",
            "actualTo": "Projects",
            "confidence": 0.8
          }
        ],
        "reply": {
          "success": true
        }
      }
    },
    "inbox.convertToNote": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Turn an inbox item into a note.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.convertToNote(itemId)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inbox6Id>"],
        "reply": {
          "success": true,
          "filedTo": "Idea 6.md",
          "noteId": "w2rkmmubeo94"
        }
      }
    },
    "inbox.convertToTask": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "projectId": {
                  "type": "string"
                },
                "dueDate": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "dueTime": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "priority": {
                  "type": "number"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 1,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Turn an inbox item into a task.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.convertToTask(itemId, input?)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        },
        {
          "name": "input",
          "required": false
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "<inbox7Id>",
          {
            "projectId": "<projectId>",
            "dueDate": "2026-10-14",
            "priority": 2
          }
        ],
        "reply": {
          "success": true,
          "taskId": "KtJWVfXIR5cqfA7ppZstZ"
        }
      }
    },
    "inbox.convertToEvent": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "properties": {
            "startAt": {
              "type": "string"
            },
            "endAt": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "isAllDay": {
              "type": "boolean"
            },
            "location": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": ["startAt"],
          "additionalProperties": false
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Turn an inbox item into a calendar event.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.convertToEvent(itemId, input)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        },
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "<inbox8Id>",
          {
            "startAt": "2026-10-14T13:00:00.000Z",
            "endAt": "2026-10-14T14:00:00.000Z",
            "location": "Studio"
          }
        ],
        "reply": {
          "success": true,
          "eventId": "r74UCZ3Cp2Ep7LYrnp3UT"
        }
      }
    },
    "inbox.convertToReminder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "properties": {
            "remindAt": {
              "type": "string"
            }
          },
          "required": ["remindAt"],
          "additionalProperties": false
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Turn an inbox item into a reminder.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.convertToReminder(itemId, input)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        },
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "<inbox9Id>",
          {
            "remindAt": "2026-10-13T08:00:00.000Z"
          }
        ],
        "reply": {
          "success": true,
          "noteId": "wmc14eac88vz"
        }
      }
    },
    "inbox.linkToNote": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "string"
        },
        {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 2,
      "maxItems": 3,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Append an inbox item to a note and file it there.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.linkToNote(itemId, noteId, tags?)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        },
        {
          "name": "noteId",
          "required": true
        },
        {
          "name": "tags",
          "required": false
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inbox4Id>", "<noteId>", ["website"]],
        "reply": {
          "success": true,
          "linkedCount": 1,
          "noteIds": ["<noteId>"],
          "stored": {
            "id": "<inbox4Id>",
            "type": "note",
            "title": "Idea 4",
            "content": "Idea 4: follow up on the launch",
            "createdAt": "2026-10-07T11:17:25.789Z",
            "modifiedAt": "2026-10-07T11:17:33.731Z",
            "filedAt": "2026-10-07T11:17:33.731Z",
            "filedTo": "Projects/Website relaunch plan.md",
            "filedAction": "linked",
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.addTag": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Add a tag to an inbox item.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.addTag(itemId, tag)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        },
        {
          "name": "tag",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inboxId>", "errands"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<inboxId>",
            "type": "note",
            "title": "Call the printer about flyers",
            "content": "Call the printer about 500 flyers.",
            "createdAt": "2026-10-07T11:17:25.759Z",
            "modifiedAt": "2026-10-07T11:17:33.657Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": "2026-10-07T11:17:33.657Z",
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": ["errands"],
            "isStale": false
          }
        }
      }
    },
    "inbox.removeTag": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Remove a tag from an inbox item.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.removeTag(itemId, tag)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        },
        {
          "name": "tag",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inboxId>", "errands"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<inboxId>",
            "type": "note",
            "title": "Call the printer about flyers",
            "content": "Call the printer about 500 flyers.",
            "createdAt": "2026-10-07T11:17:25.759Z",
            "modifiedAt": "2026-10-07T11:17:33.657Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": "2026-10-07T11:17:33.657Z",
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.snooze": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemId": {
              "type": "string"
            },
            "snoozeUntil": {
              "type": "string"
            },
            "reason": {
              "type": "string",
              "maxLength": 200
            }
          },
          "required": ["itemId", "snoozeUntil"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Hide an inbox item until a time.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.snooze(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemId": "<inbox4Id>",
            "snoozeUntil": "2026-10-12T09:00:00.000Z"
          }
        ],
        "reply": {
          "success": true,
          "item": {
            "id": "<inbox4Id>",
            "type": "note",
            "title": "Idea 4",
            "content": "Idea 4: follow up on the launch",
            "createdAt": "2026-10-07T11:17:25.789Z",
            "modifiedAt": "2026-10-07T11:17:33.676Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": "2026-10-12T09:00:00.000Z",
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          },
          "stored": {
            "id": "<inbox4Id>",
            "type": "note",
            "title": "Idea 4",
            "content": "Idea 4: follow up on the launch",
            "createdAt": "2026-10-07T11:17:25.789Z",
            "modifiedAt": "2026-10-07T11:17:33.676Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": "2026-10-12T09:00:00.000Z",
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.unsnooze": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Bring a snoozed inbox item back now.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.unsnooze(itemId)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inbox4Id>"],
        "reply": {
          "success": true,
          "item": {
            "id": "<inbox4Id>",
            "type": "note",
            "title": "Idea 4",
            "content": "Idea 4: follow up on the launch",
            "createdAt": "2026-10-07T11:17:25.789Z",
            "modifiedAt": "2026-10-07T11:17:33.686Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          },
          "stored": {
            "id": "<inbox4Id>",
            "type": "note",
            "title": "Idea 4",
            "content": "Idea 4: follow up on the launch",
            "createdAt": "2026-10-07T11:17:25.789Z",
            "modifiedAt": "2026-10-07T11:17:33.686Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.markViewed": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Mark an inbox item as viewed.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.markViewed(itemId)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inboxId>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<inboxId>",
            "type": "note",
            "title": "Call the printer about flyers",
            "content": "Call the printer about 500 flyers.",
            "createdAt": "2026-10-07T11:17:25.759Z",
            "modifiedAt": "2026-10-07T11:17:33.657Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": "2026-10-07T11:17:33.657Z",
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.bulkFile": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemIds": {
              "minItems": 1,
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "destination": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": ["folder", "note", "new-note"]
                },
                "path": {
                  "type": "string"
                },
                "noteId": {
                  "type": "string"
                }
              },
              "required": ["type"],
              "additionalProperties": false
            },
            "tags": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            }
          },
          "required": ["itemIds", "destination"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "File several inbox items into one place.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.bulkFile(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemIds": ["<inbox12Id>"],
            "destination": {
              "type": "folder",
              "path": "Projects"
            }
          }
        ],
        "reply": {
          "success": true,
          "processedCount": 1,
          "errors": []
        }
      }
    },
    "inbox.bulkArchive": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemIds": {
              "minItems": 1,
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": ["itemIds"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Archive several inbox items.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.bulkArchive(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemIds": ["<inbox13Id>"]
          }
        ],
        "reply": {
          "success": true,
          "processedCount": 1,
          "errors": []
        }
      }
    },
    "inbox.bulkTag": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemIds": {
              "minItems": 1,
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "tags": {
              "minItems": 1,
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              }
            }
          },
          "required": ["itemIds", "tags"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Add tags to several inbox items.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.bulkTag(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemIds": ["<inboxId>", "<inbox2Id>"],
            "tags": ["launch"]
          }
        ],
        "reply": {
          "success": true,
          "processedCount": 2,
          "errors": []
        }
      }
    },
    "inbox.bulkSnooze": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "snoozeUntil": {
              "type": "string"
            },
            "reason": {
              "type": "string"
            }
          },
          "required": ["itemIds", "snoozeUntil"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Snooze several inbox items until a time.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.bulkSnooze(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemIds": ["<inbox11Id>"],
            "snoozeUntil": "2026-10-12T09:00:00.000Z"
          }
        ],
        "reply": {
          "success": true,
          "processedCount": 1,
          "errors": []
        }
      }
    },
    "inbox.fileAllStale": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "File every stale inbox item into the Unsorted folder.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.fileAllStale()",
      "x-memry-params": [],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [],
        "reply": {
          "success": true,
          "processedCount": 0,
          "errors": []
        }
      }
    },
    "inbox.retryTranscription": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Run transcription of a voice memo again.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.retryTranscription(itemId)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<voiceInboxId>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<voiceInboxId>",
            "type": "voice",
            "title": "Voice memo (0:01)",
            "content": null,
            "createdAt": "2026-10-07T11:17:25.946Z",
            "modifiedAt": "2026-10-07T11:17:34.329Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": {
              "duration": 1,
              "format": "webm",
              "fileSize": 4
            },
            "attachmentPath": "attachments/inbox/<voiceInboxId>/lh7b52-voice-memo.webm",
            "attachmentUrl": "memry-file://local<vault>/attachments/inbox/<voiceInboxId>/lh7b52-voice-memo.webm",
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": "processing",
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.retryMetadata": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Fetch a link’s title and preview again.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.retryMetadata(itemId)",
      "x-memry-params": [
        {
          "name": "itemId",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<linkInboxId>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<linkInboxId>",
            "type": "link",
            "title": "Pricing",
            "content": null,
            "createdAt": "2026-10-07T11:17:25.922Z",
            "modifiedAt": "2026-10-07T11:17:34.404Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "processing",
            "processingError": null,
            "metadata": {
              "url": "https://example.com/pricing",
              "fetchStatus": "failed",
              "error": "HTTP 404"
            },
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": "https://example.com/pricing",
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.setStaleThreshold": {
      "type": "array",
      "prefixItems": [
        {
          "type": "number"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set after how many days an unfiled inbox item counts as stale.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.setStaleThreshold(days)",
      "x-memry-params": [
        {
          "name": "days",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [14],
        "reply": {
          "success": true,
          "stored": 14
        }
      }
    },
    "inbox.unarchive": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Bring an archived inbox item back.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.unarchive(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inbox13Id>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<inbox13Id>",
            "type": "note",
            "title": "Idea 13",
            "content": "Idea 13: follow up on the launch",
            "createdAt": "2026-10-07T11:17:25.874Z",
            "modifiedAt": "2026-10-07T11:17:34.215Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.deletePermanent": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete an archived inbox item for good.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.deletePermanent(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inbox14Id>"],
        "reply": {
          "success": true
        }
      }
    },
    "inbox.undoFile": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Undo filing an inbox item.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.undoFile(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inbox5Id>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<inbox5Id>",
            "type": "note",
            "title": "Idea 5",
            "content": "Idea 5: follow up on the launch",
            "createdAt": "2026-10-07T11:17:25.800Z",
            "modifiedAt": "2026-10-07T11:17:33.771Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "inbox.undoArchive": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Undo archiving an inbox item.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "inbox.undoArchive(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<inbox10Id>"],
        "reply": {
          "success": true,
          "stored": {
            "id": "<inbox10Id>",
            "type": "note",
            "title": "Idea 10",
            "content": "Idea 10: follow up on the launch",
            "createdAt": "2026-10-07T11:17:25.838Z",
            "modifiedAt": "2026-10-07T11:17:33.900Z",
            "filedAt": null,
            "filedTo": null,
            "filedAction": null,
            "snoozedUntil": null,
            "snoozeReason": null,
            "viewedAt": null,
            "archivedAt": null,
            "processingStatus": "complete",
            "processingError": null,
            "metadata": null,
            "attachmentPath": null,
            "attachmentUrl": null,
            "thumbnailPath": null,
            "thumbnailUrl": null,
            "transcription": null,
            "transcriptionStatus": null,
            "sourceUrl": null,
            "sourceTitle": null,
            "captureSource": null,
            "tags": [],
            "isStale": false
          }
        }
      }
    },
    "journal.createEntry": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            },
            "content": {
              "default": "",
              "type": "string"
            },
            "tags": {
              "default": [],
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "properties": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "required": ["date"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create the journal entry for a date.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "journal.createEntry(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "date": "2026-10-08",
            "content": "Launch day prep.\n",
            "tags": ["launch"]
          }
        ],
        "reply": {
          "id": "j2026-10-08",
          "date": "2026-10-08",
          "content": "Launch day prep.",
          "wordCount": 3,
          "characterCount": 16,
          "tags": ["launch"],
          "createdAt": "2026-10-07T11:17:34.438Z",
          "modifiedAt": "2026-10-07T11:17:34.438Z"
        }
      }
    },
    "journal.updateEntry": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            },
            "content": {
              "type": "string"
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "properties": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "required": ["date"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change the content, tags or properties of a journal entry.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "journal.updateEntry(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "date": "2026-10-08",
            "content": "Launch day prep went well.\n"
          }
        ],
        "reply": {
          "id": "j2026-10-08",
          "date": "2026-10-08",
          "content": "Launch day prep went well.",
          "wordCount": 5,
          "characterCount": 26,
          "tags": ["launch"],
          "createdAt": "2026-10-07T11:17:34.567Z",
          "modifiedAt": "2026-10-07T11:17:34.568Z"
        }
      }
    },
    "journal.deleteEntry": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete the journal entry for a date.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "journal.deleteEntry(date)",
      "x-memry-params": [
        {
          "name": "date",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["2026-10-08"],
        "reply": {
          "success": true
        }
      }
    },
    "properties.set": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Replace the whole property record of a note or journal entry; a property left out is deleted.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "properties.set(entityId, properties)",
      "x-memry-params": [
        {
          "name": "entityId",
          "required": true
        },
        {
          "name": "properties",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "<noteId>",
          {
            "stage": "draft",
            "owner": "Sam"
          }
        ],
        "reply": {
          "success": true,
          "properties": {
            "stage": "draft",
            "owner": "Sam"
          },
          "removed": []
        }
      }
    },
    "properties.rename": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "minLength": 1
        }
      ],
      "minItems": 3,
      "maxItems": 3,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Rename a property on one note or journal entry.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "properties.rename(entityId, oldName, newName)",
      "x-memry-params": [
        {
          "name": "entityId",
          "required": true
        },
        {
          "name": "oldName",
          "required": true
        },
        {
          "name": "newName",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<noteId>", "owner", "lead"],
        "reply": {
          "success": true,
          "stored": [
            {
              "name": "stage",
              "value": "draft",
              "type": "select"
            },
            {
              "name": "lead",
              "value": "Sam",
              "type": "text"
            }
          ]
        }
      }
    },
    "templates.create": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": {
              "type": "string"
            },
            "icon": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "tags": {
              "default": [],
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "properties": {
              "default": [],
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "text",
                      "number",
                      "checkbox",
                      "date",
                      "select",
                      "multiselect",
                      "url",
                      "rating",
                      "project"
                    ]
                  },
                  "value": {},
                  "options": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": ["name", "type", "value"],
                "additionalProperties": false
              }
            },
            "content": {
              "default": "",
              "type": "string"
            }
          },
          "required": ["name"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create a note template.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "templates.create(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "name": "Retro",
            "content": "## Went well\n\n## To change\n",
            "tags": ["meeting"]
          }
        ],
        "reply": {
          "success": true,
          "template": {
            "id": "lpcf7y31w0jk",
            "name": "Retro",
            "icon": null,
            "isBuiltIn": false,
            "tags": ["meeting"],
            "properties": [],
            "content": "## Went well\n\n## To change\n",
            "createdAt": "2026-10-07T11:17:34.821Z",
            "modifiedAt": "2026-10-07T11:17:34.821Z"
          }
        }
      }
    },
    "templates.update": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": {
              "type": "string"
            },
            "icon": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "properties": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "text",
                      "number",
                      "checkbox",
                      "date",
                      "select",
                      "multiselect",
                      "url",
                      "rating",
                      "project"
                    ]
                  },
                  "value": {},
                  "options": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": ["name", "type", "value"],
                "additionalProperties": false
              }
            },
            "content": {
              "type": "string"
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a template.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "templates.update(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<templateId>",
            "description": "Agenda, notes, action items."
          }
        ],
        "reply": {
          "success": true,
          "template": {
            "id": "<templateId>",
            "name": "Meeting",
            "description": "Agenda, notes, action items.",
            "icon": null,
            "isBuiltIn": false,
            "tags": [],
            "properties": [],
            "content": "## Agenda\n\n## Notes\n\n## Action items\n",
            "createdAt": "2026-10-07T11:17:26.022Z",
            "modifiedAt": "2026-10-07T11:17:34.836Z"
          }
        }
      }
    },
    "templates.delete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a template.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "templates.delete(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<deleteTemplateId>"],
        "reply": {
          "success": true
        }
      }
    },
    "templates.duplicate": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Copy a template under a new name.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "templates.duplicate(id, newName)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        },
        {
          "name": "newName",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<templateId>", "Meeting (short)"],
        "reply": {
          "success": true,
          "template": {
            "id": "nb17e67c618j",
            "name": "Meeting (short)",
            "description": "Agenda, notes, action items.",
            "icon": null,
            "isBuiltIn": false,
            "tags": [],
            "properties": [],
            "content": "## Agenda\n\n## Notes\n\n## Action items\n",
            "createdAt": "2026-10-07T11:17:34.849Z",
            "modifiedAt": "2026-10-07T11:17:34.849Z"
          }
        }
      }
    },
    "savedFilters.create": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "config": {
              "type": "object",
              "properties": {
                "filters": {
                  "type": "object",
                  "properties": {
                    "search": {
                      "default": "",
                      "type": "string"
                    },
                    "projectIds": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "priorities": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": ["urgent", "high", "medium", "low", "none"]
                      }
                    },
                    "tags": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dueDate": {
                      "default": {
                        "type": "any",
                        "customStart": null,
                        "customEnd": null
                      },
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "any",
                            "none",
                            "overdue",
                            "today",
                            "tomorrow",
                            "this-week",
                            "next-week",
                            "this-month",
                            "custom"
                          ]
                        },
                        "customStart": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "customEnd": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": ["type"],
                      "additionalProperties": false
                    },
                    "statusIds": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "completion": {
                      "default": "active",
                      "type": "string",
                      "enum": ["active", "completed", "all", "archived"]
                    },
                    "repeatType": {
                      "default": "all",
                      "type": "string",
                      "enum": ["all", "repeating", "one-time"]
                    },
                    "hasTime": {
                      "default": "all",
                      "type": "string",
                      "enum": ["all", "with-time", "without-time"]
                    },
                    "folderPaths": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "noteIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "sort": {
                  "type": "object",
                  "properties": {
                    "field": {
                      "type": "string",
                      "enum": [
                        "dueDate",
                        "priority",
                        "status",
                        "createdAt",
                        "title",
                        "project",
                        "completedAt",
                        "folder",
                        "note"
                      ]
                    },
                    "direction": {
                      "type": "string",
                      "enum": ["asc", "desc"]
                    }
                  },
                  "required": ["field", "direction"],
                  "additionalProperties": false
                },
                "starred": {
                  "type": "boolean"
                }
              },
              "required": ["filters"],
              "additionalProperties": false
            }
          },
          "required": ["name", "config"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Save a task filter.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "savedFilters.create(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "name": "Urgent website tasks",
            "config": {
              "filters": {
                "priorities": ["urgent", "high"],
                "tags": ["website"]
              }
            }
          }
        ],
        "reply": {
          "success": true,
          "savedFilter": {
            "id": "NY9b3hiCGefHG1tagepc9",
            "name": "Urgent website tasks",
            "config": {
              "filters": {
                "search": "",
                "projectIds": [],
                "priorities": ["urgent", "high"],
                "tags": ["website"],
                "dueDate": {
                  "type": "any",
                  "customStart": null,
                  "customEnd": null
                },
                "statusIds": [],
                "completion": "active",
                "repeatType": "all",
                "hasTime": "all"
              }
            },
            "position": 1,
            "createdAt": "2026-10-07T11:17:34.869Z"
          }
        }
      }
    },
    "savedFilters.update": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "config": {
              "type": "object",
              "properties": {
                "filters": {
                  "type": "object",
                  "properties": {
                    "search": {
                      "default": "",
                      "type": "string"
                    },
                    "projectIds": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "priorities": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": ["urgent", "high", "medium", "low", "none"]
                      }
                    },
                    "tags": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dueDate": {
                      "default": {
                        "type": "any",
                        "customStart": null,
                        "customEnd": null
                      },
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "any",
                            "none",
                            "overdue",
                            "today",
                            "tomorrow",
                            "this-week",
                            "next-week",
                            "this-month",
                            "custom"
                          ]
                        },
                        "customStart": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "customEnd": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": ["type"],
                      "additionalProperties": false
                    },
                    "statusIds": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "completion": {
                      "default": "active",
                      "type": "string",
                      "enum": ["active", "completed", "all", "archived"]
                    },
                    "repeatType": {
                      "default": "all",
                      "type": "string",
                      "enum": ["all", "repeating", "one-time"]
                    },
                    "hasTime": {
                      "default": "all",
                      "type": "string",
                      "enum": ["all", "with-time", "without-time"]
                    },
                    "folderPaths": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "noteIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "sort": {
                  "type": "object",
                  "properties": {
                    "field": {
                      "type": "string",
                      "enum": [
                        "dueDate",
                        "priority",
                        "status",
                        "createdAt",
                        "title",
                        "project",
                        "completedAt",
                        "folder",
                        "note"
                      ]
                    },
                    "direction": {
                      "type": "string",
                      "enum": ["asc", "desc"]
                    }
                  },
                  "required": ["field", "direction"],
                  "additionalProperties": false
                },
                "starred": {
                  "type": "boolean"
                }
              },
              "required": ["filters"],
              "additionalProperties": false
            },
            "position": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a saved task filter.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "savedFilters.update(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<savedFilterId>",
            "name": "Due this week"
          }
        ],
        "reply": {
          "success": true,
          "savedFilter": {
            "id": "<savedFilterId>",
            "name": "Due this week",
            "config": {
              "filters": {
                "search": "",
                "projectIds": [],
                "priorities": [],
                "tags": [],
                "dueDate": {
                  "type": "any",
                  "customStart": null,
                  "customEnd": null
                },
                "statusIds": [],
                "completion": "active",
                "repeatType": "all",
                "hasTime": "all"
              }
            },
            "position": 0,
            "createdAt": "2026-10-07T11:17:26.030Z"
          }
        }
      }
    },
    "savedFilters.delete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a saved task filter.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "savedFilters.delete(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<savedFilterId>"],
        "reply": {
          "success": true
        }
      }
    },
    "savedFilters.reorder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set the order of saved task filters.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "savedFilters.reorder(ids, positions)",
      "x-memry-params": [
        {
          "name": "ids",
          "required": true
        },
        {
          "name": "positions",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [["<savedFilterId>"], [0]],
        "reply": {
          "success": true
        }
      }
    },
    "bookmarks.create": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemType": {
              "type": "string"
            },
            "itemId": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["itemType", "itemId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Bookmark an item.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "bookmarks.create(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemType": "note",
            "itemId": "<note2Id>"
          }
        ],
        "reply": {
          "success": true,
          "bookmark": {
            "id": "bmk_note_<note2Id>",
            "itemType": "note",
            "itemId": "<note2Id>",
            "position": 2,
            "createdAt": "2026-10-07T11:17:34.887Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "bookmarks.delete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a bookmark.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "bookmarks.delete(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<bookmarkId>"],
        "reply": {
          "success": true
        }
      }
    },
    "bookmarks.toggle": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemType": {
              "type": "string"
            },
            "itemId": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["itemType", "itemId"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Bookmark an item, or remove its bookmark when it has one.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "bookmarks.toggle(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemType": "note",
            "itemId": "<meetingNoteId>"
          }
        ],
        "reply": {
          "success": true,
          "isBookmarked": true,
          "bookmark": {
            "id": "bmk_note_<meetingNoteId>",
            "itemType": "note",
            "itemId": "<meetingNoteId>",
            "position": 3,
            "createdAt": "2026-10-07T11:17:34.901Z",
            "clock": null,
            "syncedAt": null
          }
        }
      }
    },
    "bookmarks.reorder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set the order of bookmarks.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "bookmarks.reorder(bookmarkIds)",
      "x-memry-params": [
        {
          "name": "bookmarkIds",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [["<bookmarkId>"]],
        "reply": {
          "success": true
        }
      }
    },
    "bookmarks.bulkDelete": {
      "type": "array",
      "prefixItems": [
        {
          "minItems": 1,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete several bookmarks.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "bookmarks.bulkDelete(bookmarkIds)",
      "x-memry-params": [
        {
          "name": "bookmarkIds",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [["<bookmark2Id>"]],
        "reply": {
          "success": true,
          "deletedCount": 1
        }
      }
    },
    "bookmarks.bulkCreate": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "itemType": {
                "type": "string"
              },
              "itemId": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": ["itemType", "itemId"],
            "additionalProperties": false
          }
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Bookmark several items.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "bookmarks.bulkCreate(items)",
      "x-memry-params": [
        {
          "name": "items",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          [
            {
              "itemType": "task",
              "itemId": "<taskId>"
            }
          ]
        ],
        "reply": {
          "success": true,
          "createdCount": 1
        }
      }
    },
    "tags.pinNoteToTag": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "noteId": {
              "type": "string",
              "minLength": 1
            },
            "tag": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["noteId", "tag"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Pin a note to the top of a tag’s note list.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.pinNoteToTag(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "noteId": "<noteId>",
            "tag": "website"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "id": "<noteId>",
            "path": "Projects/Website relaunch plan.md",
            "title": "Website relaunch plan",
            "created": "2026-10-07T11:17:24.017Z",
            "modified": "2026-10-07T11:17:34.737Z",
            "tags": ["website", "planning"],
            "wordCount": 30,
            "isPinned": true,
            "pinnedAt": "2026-10-07T11:17:34.929Z",
            "emoji": null
          }
        }
      }
    },
    "tags.unpinNoteFromTag": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "noteId": {
              "type": "string",
              "minLength": 1
            },
            "tag": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["noteId", "tag"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Unpin a note from a tag.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.unpinNoteFromTag(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "noteId": "<noteId>",
            "tag": "website"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "id": "<noteId>",
            "path": "Projects/Website relaunch plan.md",
            "title": "Website relaunch plan",
            "created": "2026-10-07T11:17:24.017Z",
            "modified": "2026-10-07T11:17:34.737Z",
            "tags": ["website", "planning"],
            "wordCount": 30,
            "isPinned": false,
            "pinnedAt": null,
            "emoji": null
          }
        }
      }
    },
    "tags.renameTag": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "oldName": {
              "type": "string",
              "minLength": 1
            },
            "newName": {
              "type": "string",
              "minLength": 1,
              "maxLength": 50
            }
          },
          "required": ["oldName", "newName"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Rename a tag everywhere it is used.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.renameTag(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "oldName": "draft",
            "newName": "drafts"
          }
        ],
        "reply": {
          "success": true,
          "affectedNotes": 1,
          "stored": {
            "name": "drafts",
            "count": 1,
            "color": "cyan",
            "icon": null,
            "categoryId": null,
            "sortOrder": 0
          }
        }
      }
    },
    "tags.updateTagColor": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "tag": {
              "type": "string",
              "minLength": 1
            },
            "color": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["tag", "color"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a tag’s color.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.updateTagColor(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "tag": "website",
            "color": "blue"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "name": "website",
            "count": 7,
            "color": "blue",
            "icon": null,
            "categoryId": null,
            "sortOrder": 0
          }
        }
      }
    },
    "tags.deleteTag": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Remove a tag from every note that carries it.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.deleteTag(tag)",
      "x-memry-params": [
        {
          "name": "tag",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["obsolete"],
        "reply": {
          "success": true,
          "affectedNotes": 1
        }
      }
    },
    "tags.removeTagFromNote": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "noteId": {
              "type": "string",
              "minLength": 1
            },
            "tag": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["noteId", "tag"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Remove a tag from one note.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.removeTagFromNote(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "noteId": "<note2Id>",
            "tag": "website"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "id": "<note2Id>",
            "tags": ["obsolete"]
          }
        }
      }
    },
    "tags.mergeTag": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "source": {
              "type": "string",
              "minLength": 1
            },
            "target": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["source", "target"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Merge one tag into another; notes with the first get the second.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.mergeTag(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "source": "drafts",
            "target": "planning"
          }
        ],
        "reply": {
          "success": true,
          "affectedItems": 1,
          "stored": {
            "name": "planning",
            "count": 4,
            "color": "indigo",
            "icon": null,
            "categoryId": null,
            "sortOrder": 0
          }
        }
      }
    },
    "tags.updateTagIcon": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "tag": {
              "type": "string",
              "minLength": 1
            },
            "icon": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": ["tag", "icon"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a tag’s icon.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.updateTagIcon(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "tag": "website",
            "icon": "globe"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "name": "website",
            "count": 7,
            "color": "blue",
            "icon": "globe",
            "categoryId": null,
            "sortOrder": 0
          }
        }
      }
    },
    "tags.createCategory": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            }
          },
          "required": ["name"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create a tag category.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.createCategory(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "name": "Areas"
          }
        ],
        "reply": {
          "success": true,
          "category": {
            "id": "8a014eb0-37e9-4917-ac4e-088a3f9aef56",
            "name": "Areas",
            "sortOrder": 1,
            "tagCount": 0
          }
        }
      }
    },
    "tags.renameCategory": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "required": ["id", "name"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Rename a tag category.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.renameCategory(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<categoryId>",
            "name": "Work areas"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "id": "<categoryId>",
            "name": "Work areas",
            "sortOrder": 0,
            "tagCount": 0
          }
        }
      }
    },
    "tags.deleteCategory": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a tag category; its tags become uncategorized.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.deleteCategory(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<categoryId>"
          }
        ],
        "reply": {
          "success": true
        }
      }
    },
    "tags.reorder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "tag": {
                    "type": "string"
                  },
                  "categoryId": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sortOrder": {
                    "type": "number"
                  }
                },
                "required": ["tag", "categoryId", "sortOrder"],
                "additionalProperties": false
              }
            },
            "categories": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "sortOrder": {
                    "type": "number"
                  }
                },
                "required": ["id", "sortOrder"],
                "additionalProperties": false
              }
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Move tags into categories and order tags and categories; the only way to categorize a tag.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "tags.reorder(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "tags": [
              {
                "tag": "website",
                "categoryId": "<categoryId>",
                "sortOrder": 0
              }
            ]
          }
        ],
        "reply": {
          "success": true
        }
      }
    },
    "folderView.setConfig": {
      "type": "array",
      "$defs": {
        "__schema0": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "object",
              "properties": {
                "and": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema0"
                  }
                }
              },
              "required": ["and"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "or": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema0"
                  }
                }
              },
              "required": ["or"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "not": {
                  "$ref": "#/$defs/__schema0"
                }
              },
              "required": ["not"],
              "additionalProperties": false
            }
          ]
        }
      },
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "properties": {
            "path": {
              "type": "string"
            },
            "template": {
              "type": "string"
            },
            "inherit": {
              "type": "boolean"
            },
            "formulas": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {
                "type": "string"
              }
            },
            "properties": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {
                "type": "object",
                "properties": {
                  "displayName": {
                    "type": "string"
                  },
                  "color": {
                    "type": "boolean"
                  },
                  "dateFormat": {
                    "type": "string"
                  },
                  "numberFormat": {
                    "type": "string"
                  },
                  "hidden": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            },
            "summaries": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "sum",
                      "average",
                      "min",
                      "max",
                      "count",
                      "countBy",
                      "countUnique",
                      "custom"
                    ]
                  },
                  "label": {
                    "type": "string"
                  },
                  "expression": {
                    "type": "string"
                  }
                },
                "required": ["type"],
                "additionalProperties": false
              }
            },
            "views": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1
                  },
                  "type": {
                    "default": "table",
                    "type": "string",
                    "enum": ["table", "grid", "list"]
                  },
                  "default": {
                    "type": "boolean"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 50,
                          "maximum": 800
                        },
                        "displayName": {
                          "type": "string"
                        },
                        "showSummary": {
                          "type": "boolean"
                        }
                      },
                      "required": ["id"],
                      "additionalProperties": false
                    }
                  },
                  "filters": {
                    "$ref": "#/$defs/__schema0"
                  },
                  "order": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "property": {
                          "type": "string",
                          "minLength": 1
                        },
                        "direction": {
                          "type": "string",
                          "enum": ["asc", "desc"]
                        }
                      },
                      "required": ["property", "direction"],
                      "additionalProperties": false
                    }
                  },
                  "groupBy": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      },
                      "direction": {
                        "type": "string",
                        "enum": ["asc", "desc"]
                      },
                      "collapsed": {
                        "type": "boolean"
                      },
                      "showSummary": {
                        "type": "boolean"
                      }
                    },
                    "required": ["property"],
                    "additionalProperties": false
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 10000
                  },
                  "showSummaries": {
                    "type": "boolean"
                  },
                  "columnBorders": {
                    "type": "boolean"
                  }
                },
                "required": ["name"],
                "additionalProperties": false
              }
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Save a folder view’s configuration.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "folderView.setConfig(folderPath, config)",
      "x-memry-params": [
        {
          "name": "folderPath",
          "required": true
        },
        {
          "name": "config",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          "Projects",
          {
            "properties": {
              "stage": {
                "displayName": "Stage"
              }
            }
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "config": {
              "path": "Projects",
              "views": [
                {
                  "name": "Default",
                  "type": "table",
                  "default": true,
                  "columns": [
                    {
                      "id": "title",
                      "width": 250
                    },
                    {
                      "id": "folder",
                      "width": 120
                    },
                    {
                      "id": "tags",
                      "width": 150
                    }
                  ],
                  "order": [
                    {
                      "property": "title",
                      "direction": "asc"
                    }
                  ],
                  "showSummaries": true
                }
              ]
            },
            "isDefault": true
          }
        }
      }
    },
    "folderView.setView": {
      "type": "array",
      "$defs": {
        "__schema0": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "object",
              "properties": {
                "and": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema0"
                  }
                }
              },
              "required": ["and"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "or": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema0"
                  }
                }
              },
              "required": ["or"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "not": {
                  "$ref": "#/$defs/__schema0"
                }
              },
              "required": ["not"],
              "additionalProperties": false
            }
          ]
        }
      },
      "prefixItems": [
        {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "folder"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": ["kind", "path"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "tag"
                },
                "tag": {
                  "type": "string",
                  "minLength": 1
                },
                "andTags": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              },
              "required": ["kind", "tag"],
              "additionalProperties": false
            }
          ]
        },
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1
            },
            "type": {
              "default": "table",
              "type": "string",
              "enum": ["table", "grid", "list"]
            },
            "default": {
              "type": "boolean"
            },
            "columns": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1
                  },
                  "width": {
                    "type": "integer",
                    "minimum": 50,
                    "maximum": 800
                  },
                  "displayName": {
                    "type": "string"
                  },
                  "showSummary": {
                    "type": "boolean"
                  }
                },
                "required": ["id"],
                "additionalProperties": false
              }
            },
            "filters": {
              "$ref": "#/$defs/__schema0"
            },
            "order": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "property": {
                    "type": "string",
                    "minLength": 1
                  },
                  "direction": {
                    "type": "string",
                    "enum": ["asc", "desc"]
                  }
                },
                "required": ["property", "direction"],
                "additionalProperties": false
              }
            },
            "groupBy": {
              "type": "object",
              "properties": {
                "property": {
                  "type": "string",
                  "minLength": 1
                },
                "direction": {
                  "type": "string",
                  "enum": ["asc", "desc"]
                },
                "collapsed": {
                  "type": "boolean"
                },
                "showSummary": {
                  "type": "boolean"
                }
              },
              "required": ["property"],
              "additionalProperties": false
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000
            },
            "showSummaries": {
              "type": "boolean"
            },
            "columnBorders": {
              "type": "boolean"
            }
          },
          "required": ["name"],
          "additionalProperties": false
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 3,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create or change a saved view of a folder or tag scope.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "folderView.setView(scope, view, previousName?)",
      "x-memry-params": [
        {
          "name": "scope",
          "required": true
        },
        {
          "name": "view",
          "required": true
        },
        {
          "name": "previousName",
          "required": false
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "kind": "folder",
            "path": "Projects"
          },
          {
            "name": "By stage",
            "type": "table",
            "columns": [
              {
                "id": "title"
              },
              {
                "id": "stage"
              }
            ]
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "name": "By stage",
            "type": "table",
            "columns": [
              {
                "id": "title"
              },
              {
                "id": "stage"
              }
            ]
          }
        }
      }
    },
    "folderView.deleteView": {
      "type": "array",
      "prefixItems": [
        {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "folder"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": ["kind", "path"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "tag"
                },
                "tag": {
                  "type": "string",
                  "minLength": 1
                },
                "andTags": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              },
              "required": ["kind", "tag"],
              "additionalProperties": false
            }
          ]
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a saved view.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "folderView.deleteView(scope, viewName)",
      "x-memry-params": [
        {
          "name": "scope",
          "required": true
        },
        {
          "name": "viewName",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "kind": "folder",
            "path": "Projects"
          },
          "By stage"
        ],
        "reply": {
          "success": true
        }
      }
    },
    "reminders.create": {
      "type": "array",
      "prefixItems": [
        {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "targetType": {
                  "type": "string",
                  "const": "note"
                },
                "targetId": {
                  "type": "string",
                  "minLength": 1
                },
                "remindAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "title": {
                  "type": "string",
                  "maxLength": 200
                },
                "note": {
                  "type": "string",
                  "maxLength": 1000
                }
              },
              "required": ["targetType", "targetId", "remindAt"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "targetType": {
                  "type": "string",
                  "const": "journal"
                },
                "targetId": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                "remindAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "title": {
                  "type": "string",
                  "maxLength": 200
                },
                "note": {
                  "type": "string",
                  "maxLength": 1000
                }
              },
              "required": ["targetType", "targetId", "remindAt"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "targetType": {
                  "type": "string",
                  "const": "highlight"
                },
                "targetId": {
                  "type": "string",
                  "minLength": 1
                },
                "highlightText": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 5000
                },
                "highlightStart": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "highlightEnd": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "remindAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "title": {
                  "type": "string",
                  "maxLength": 200
                },
                "note": {
                  "type": "string",
                  "maxLength": 1000
                }
              },
              "required": [
                "targetType",
                "targetId",
                "highlightText",
                "highlightStart",
                "highlightEnd",
                "remindAt"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "targetType": {
                  "type": "string",
                  "const": "task"
                },
                "targetId": {
                  "type": "string",
                  "minLength": 1
                },
                "remindAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "title": {
                  "type": "string",
                  "maxLength": 200
                },
                "note": {
                  "type": "string",
                  "maxLength": 1000
                }
              },
              "required": ["targetType", "targetId", "remindAt"],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "targetType": {
                  "type": "string",
                  "const": "note_date"
                },
                "targetId": {
                  "type": "string",
                  "minLength": 1
                },
                "anchorId": {
                  "type": "string",
                  "minLength": 1
                },
                "remindAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "title": {
                  "type": "string",
                  "maxLength": 200
                },
                "note": {
                  "type": "string",
                  "maxLength": 1000
                }
              },
              "required": ["targetType", "targetId", "anchorId", "remindAt"],
              "additionalProperties": false
            }
          ]
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set a reminder on a note, journal entry or highlight.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "reminders.create(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "targetType": "note",
            "targetId": "<note2Id>",
            "remindAt": "2026-10-10T08:00:00.000Z",
            "title": "Check DNS"
          }
        ],
        "reply": {
          "success": true,
          "reminder": {
            "id": "rem_gCkvCdq-Keus5oTm7UlKW",
            "targetType": "note",
            "targetId": "<note2Id>",
            "remindAt": "2026-10-10T08:00:00.000Z",
            "anchorId": null,
            "highlightText": null,
            "highlightStart": null,
            "highlightEnd": null,
            "title": "Check DNS",
            "note": null,
            "status": "pending",
            "triggeredAt": null,
            "dismissedAt": null,
            "snoozedUntil": null,
            "createdAt": "2026-10-07T11:17:35.000Z",
            "modifiedAt": "2026-10-07T11:17:35.000Z"
          }
        }
      }
    },
    "reminders.update": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "remindAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
            },
            "title": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 200
                },
                {
                  "type": "null"
                }
              ]
            },
            "note": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 1000
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a reminder’s time, title or note.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "reminders.update(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<reminderId>",
            "remindAt": "2026-10-11T08:00:00.000Z"
          }
        ],
        "reply": {
          "success": true,
          "reminder": {
            "id": "<reminderId>",
            "targetType": "note",
            "targetId": "<noteId>",
            "remindAt": "2026-10-11T08:00:00.000Z",
            "anchorId": null,
            "highlightText": null,
            "highlightStart": null,
            "highlightEnd": null,
            "title": "Review the plan",
            "note": null,
            "status": "pending",
            "triggeredAt": null,
            "dismissedAt": null,
            "snoozedUntil": null,
            "createdAt": "2026-10-07T11:17:26.057Z",
            "modifiedAt": "2026-10-07T11:17:35.011Z"
          }
        }
      }
    },
    "reminders.delete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a reminder.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "reminders.delete(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<reminderId>"],
        "reply": {
          "success": true
        }
      }
    },
    "reminders.dismiss": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Dismiss a reminder that fired.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "reminders.dismiss(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<reminder2Id>"],
        "reply": {
          "success": true,
          "reminder": {
            "id": "<reminder2Id>",
            "targetType": "note",
            "targetId": "<noteId>",
            "remindAt": "2026-10-09T08:00:00.000Z",
            "anchorId": null,
            "highlightText": null,
            "highlightStart": null,
            "highlightEnd": null,
            "title": "Send the plan",
            "note": null,
            "status": "dismissed",
            "triggeredAt": null,
            "dismissedAt": "2026-10-07T11:17:35.032Z",
            "snoozedUntil": null,
            "createdAt": "2026-10-07T11:17:26.066Z",
            "modifiedAt": "2026-10-07T11:17:35.032Z"
          }
        }
      }
    },
    "reminders.snooze": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "snoozeUntil": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
            }
          },
          "required": ["id", "snoozeUntil"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Snooze a reminder until a time.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "reminders.snooze(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<reminderId>",
            "snoozeUntil": "2026-10-12T08:00:00.000Z"
          }
        ],
        "reply": {
          "success": true,
          "reminder": {
            "id": "<reminderId>",
            "targetType": "note",
            "targetId": "<noteId>",
            "remindAt": "2026-10-11T08:00:00.000Z",
            "anchorId": null,
            "highlightText": null,
            "highlightStart": null,
            "highlightEnd": null,
            "title": "Review the plan",
            "note": null,
            "status": "snoozed",
            "triggeredAt": null,
            "dismissedAt": null,
            "snoozedUntil": "2026-10-12T08:00:00.000Z",
            "createdAt": "2026-10-07T11:17:26.057Z",
            "modifiedAt": "2026-10-07T11:17:35.022Z"
          }
        }
      }
    },
    "reminders.bulkDismiss": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "reminderIds": {
              "minItems": 1,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "required": ["reminderIds"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Dismiss several reminders.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "reminders.bulkDismiss(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "reminderIds": ["<reminder3Id>"]
          }
        ],
        "reply": {
          "success": true,
          "dismissedCount": 1
        }
      }
    },
    "calendar.createEvent": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "title": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 5000
                },
                {
                  "type": "null"
                }
              ]
            },
            "location": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 500
                },
                {
                  "type": "null"
                }
              ]
            },
            "startAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
            },
            "endAt": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "timezone": {
              "default": "UTC",
              "type": "string",
              "minLength": 1
            },
            "isAllDay": {
              "default": false,
              "type": "boolean"
            },
            "recurrenceRule": {
              "anyOf": [
                {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "recurrenceExceptions": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "targetCalendarId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "color": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "tomato",
                    "flamingo",
                    "tangerine",
                    "banana",
                    "sage",
                    "basil",
                    "peacock",
                    "blueberry",
                    "lavender",
                    "grape",
                    "graphite"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": ["title", "startAt"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create a memrynote calendar event.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "calendar.createEvent(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "title": "Launch party",
            "startAt": "2026-10-22T17:00:00.000Z",
            "endAt": "2026-10-22T20:00:00.000Z",
            "location": "Office"
          }
        ],
        "reply": {
          "success": true,
          "event": {
            "id": "z35ISErj9ks6pAg0VVfRI",
            "title": "Launch party",
            "description": null,
            "location": "Office",
            "startAt": "2026-10-22T17:00:00.000Z",
            "endAt": "2026-10-22T20:00:00.000Z",
            "timezone": "UTC",
            "isAllDay": false,
            "recurrenceRule": null,
            "recurrenceExceptions": null,
            "attendees": null,
            "reminders": null,
            "visibility": null,
            "colorId": null,
            "color": null,
            "conferenceData": null,
            "parentEventId": null,
            "originalStartTime": null,
            "targetCalendarId": null,
            "archivedAt": null,
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:35.050Z",
            "modifiedAt": "2026-10-07T11:17:35.050Z",
            "href": "memry://calendar/event/z35ISErj9ks6pAg0VVfRI?date=2026-10-22",
            "source_ref": {
              "kind": "calendar_event",
              "id": "z35ISErj9ks6pAg0VVfRI",
              "title": "Launch party",
              "href": "memry://calendar/event/z35ISErj9ks6pAg0VVfRI?date=2026-10-22"
            }
          },
          "sources": [
            {
              "kind": "calendar_event",
              "id": "z35ISErj9ks6pAg0VVfRI",
              "title": "Launch party",
              "href": "memry://calendar/event/z35ISErj9ks6pAg0VVfRI?date=2026-10-22"
            }
          ]
        }
      }
    },
    "calendar.updateEvent": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "title": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 5000
                },
                {
                  "type": "null"
                }
              ]
            },
            "location": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 500
                },
                {
                  "type": "null"
                }
              ]
            },
            "startAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
            },
            "endAt": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "timezone": {
              "type": "string",
              "minLength": 1
            },
            "isAllDay": {
              "type": "boolean"
            },
            "recurrenceRule": {
              "anyOf": [
                {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "recurrenceExceptions": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "targetCalendarId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "color": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "tomato",
                    "flamingo",
                    "tangerine",
                    "banana",
                    "sage",
                    "basil",
                    "peacock",
                    "blueberry",
                    "lavender",
                    "grape",
                    "graphite"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a memrynote calendar event.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "calendar.updateEvent(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<eventId>",
            "location": "Room 4"
          }
        ],
        "reply": {
          "success": true,
          "event": {
            "id": "<eventId>",
            "title": "Design review",
            "description": null,
            "location": "Room 4",
            "startAt": "2026-10-08T10:00:00.000Z",
            "endAt": "2026-10-08T11:00:00.000Z",
            "timezone": "UTC",
            "isAllDay": false,
            "recurrenceRule": null,
            "recurrenceExceptions": null,
            "attendees": null,
            "reminders": null,
            "visibility": null,
            "colorId": null,
            "color": null,
            "conferenceData": null,
            "parentEventId": null,
            "originalStartTime": null,
            "targetCalendarId": null,
            "archivedAt": null,
            "syncedAt": null,
            "createdAt": "2026-10-07T11:17:26.084Z",
            "modifiedAt": "2026-10-07T11:17:35.061Z",
            "href": "memry://calendar/event/<eventId>?date=2026-10-08",
            "source_ref": {
              "kind": "calendar_event",
              "id": "<eventId>",
              "title": "Design review",
              "href": "memry://calendar/event/<eventId>?date=2026-10-08"
            }
          },
          "sources": [
            {
              "kind": "calendar_event",
              "id": "<eventId>",
              "title": "Design review",
              "href": "memry://calendar/event/<eventId>?date=2026-10-08"
            }
          ]
        }
      }
    },
    "calendar.deleteEvent": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a memrynote calendar event.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "calendar.deleteEvent(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<event2Id>"],
        "reply": {
          "success": true
        }
      }
    },
    "settings.set": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        },
        {
          "type": "string"
        }
      ],
      "minItems": 2,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Store one setting by key, as a string.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.set(key, value)",
      "x-memry-params": [
        {
          "name": "key",
          "required": true
        },
        {
          "name": "value",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["agent-api-example", "off"],
        "reply": {
          "success": true,
          "stored": "off"
        }
      }
    },
    "settings.setJournalSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "defaultTemplate": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "weekdayTemplates": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "showSchedule": {
              "type": "boolean"
            },
            "showTasks": {
              "type": "boolean"
            },
            "showAIConnections": {
              "type": "boolean"
            },
            "showStatsFooter": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change journal settings.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setJournalSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "showSchedule": true
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "defaultTemplate": null,
            "weekdayTemplates": {},
            "showSchedule": true,
            "showTasks": true,
            "showAIConnections": true,
            "showStatsFooter": false
          }
        }
      }
    },
    "settings.setAISettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Turn AI features on or off.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setAISettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "enabled": true
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "enabled": true
          }
        }
      }
    },
    "settings.setVoiceTranscriptionSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "provider": {
              "type": "string",
              "enum": ["local", "openai"]
            },
            "memoNameMode": {
              "type": "string",
              "enum": ["transcript", "timestamp", "none"]
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change voice transcription settings.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setVoiceTranscriptionSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "memoNameMode": "timestamp"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "provider": "local",
            "memoNameMode": "timestamp"
          }
        }
      }
    },
    "settings.setTabSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "restoreSessionOnStart": {
              "type": "boolean"
            },
            "tabCloseButton": {
              "type": "string",
              "enum": ["always", "hover", "active"]
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change tab settings.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setTabSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "tabCloseButton": "hover"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "restoreSessionOnStart": true,
            "tabCloseButton": "hover"
          }
        }
      }
    },
    "settings.setNoteEditorSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "toolbarMode": {
              "type": "string",
              "enum": ["floating", "sticky"]
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change the note editor toolbar mode.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setNoteEditorSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "toolbarMode": "floating"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "toolbarMode": "floating"
          }
        }
      }
    },
    "settings.setGeneralSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "theme": {
              "type": "string",
              "enum": ["light", "dark", "white", "system"]
            },
            "fontSize": {
              "type": "string",
              "enum": ["small", "medium", "large"]
            },
            "fontSizePx": {
              "type": "integer",
              "minimum": 12,
              "maximum": 24
            },
            "fontFamily": {
              "type": "string",
              "enum": ["system", "serif", "sans-serif", "monospace", "gelasio", "geist", "inter"]
            },
            "customFontFamily": {
              "type": "string",
              "maxLength": 64
            },
            "accentColor": {
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}$"
            },
            "colorTheme": {
              "type": "string",
              "maxLength": 64
            },
            "useThemeAccent": {
              "type": "boolean"
            },
            "backgroundLight": {
              "anyOf": [
                {
                  "type": "string",
                  "const": ""
                },
                {
                  "type": "string",
                  "pattern": "^#[0-9a-fA-F]{6}$"
                }
              ]
            },
            "foregroundLight": {
              "anyOf": [
                {
                  "type": "string",
                  "const": ""
                },
                {
                  "type": "string",
                  "pattern": "^#[0-9a-fA-F]{6}$"
                }
              ]
            },
            "backgroundDark": {
              "anyOf": [
                {
                  "type": "string",
                  "const": ""
                },
                {
                  "type": "string",
                  "pattern": "^#[0-9a-fA-F]{6}$"
                }
              ]
            },
            "foregroundDark": {
              "anyOf": [
                {
                  "type": "string",
                  "const": ""
                },
                {
                  "type": "string",
                  "pattern": "^#[0-9a-fA-F]{6}$"
                }
              ]
            },
            "reduceMotion": {
              "type": "string",
              "enum": ["system", "on"]
            },
            "pointerCursors": {
              "type": "boolean"
            },
            "fontSmoothing": {
              "type": "boolean"
            },
            "startOnBoot": {
              "type": "boolean"
            },
            "language": {
              "type": "string",
              "enum": [
                "ar",
                "cs",
                "da",
                "en",
                "de",
                "el",
                "es",
                "fi",
                "fil",
                "fr",
                "he",
                "hr",
                "hu",
                "id",
                "it",
                "ja",
                "ko",
                "ms",
                "nl",
                "no",
                "pl",
                "pt",
                "ro",
                "ru",
                "sk",
                "sv",
                "th",
                "tr",
                "uk",
                "vi",
                "zh-CN",
                "zh-TW"
              ]
            },
            "onboardingCompleted": {
              "type": "boolean"
            },
            "createInSelectedFolder": {
              "type": "boolean"
            },
            "openPagesInNewTab": {
              "type": "boolean"
            },
            "minimizeToTray": {
              "type": "boolean"
            },
            "clockFormat": {
              "type": "string",
              "enum": ["12h", "24h"]
            },
            "dateFormat": {
              "type": "string",
              "enum": ["MM/DD/YYYY", "DD/MM/YYYY", "YYYY-MM-DD", "DD.MM.YYYY"]
            },
            "zoomFactor": {
              "type": "number",
              "minimum": 0.5,
              "maximum": 2
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change general settings; any subset of them.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setGeneralSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "theme": "system"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "theme": "system",
            "fontSize": "medium",
            "fontSizePx": 16,
            "fontFamily": "system",
            "customFontFamily": "",
            "accentColor": "#f97316",
            "colorTheme": "memrynote",
            "useThemeAccent": true,
            "backgroundLight": "",
            "foregroundLight": "",
            "backgroundDark": "",
            "foregroundDark": "",
            "reduceMotion": "system",
            "pointerCursors": false,
            "fontSmoothing": false,
            "startOnBoot": false,
            "language": "en",
            "onboardingCompleted": true,
            "createInSelectedFolder": true,
            "openPagesInNewTab": false,
            "minimizeToTray": false,
            "clockFormat": "12h",
            "dateFormat": "DD.MM.YYYY",
            "zoomFactor": 1
          }
        }
      }
    },
    "settings.setEditorSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "width": {
              "type": "string",
              "enum": ["normal", "full"]
            },
            "toolbarMode": {
              "type": "string",
              "enum": ["floating", "sticky"]
            },
            "spellCheck": {
              "type": "boolean"
            },
            "pdfAdaptToTheme": {
              "type": "boolean"
            },
            "convertChecklistsToTasks": {
              "type": "boolean"
            },
            "convertAgentChecklistsToTasks": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change editor settings; any subset of them.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setEditorSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "spellCheck": true
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "width": "normal",
            "toolbarMode": "floating",
            "spellCheck": true,
            "pdfAdaptToTheme": false,
            "convertChecklistsToTasks": true,
            "convertAgentChecklistsToTasks": false
          }
        }
      }
    },
    "settings.setTaskSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "defaultProjectId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "defaultSortOrder": {
              "type": "string",
              "enum": ["manual", "dueDate", "priority", "createdAt"]
            },
            "defaultView": {
              "type": "string",
              "enum": ["today", "tomorrow", "next7", "all"]
            },
            "staleInboxDays": {
              "type": "integer",
              "minimum": 1,
              "maximum": 90
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change task settings; any subset of them.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setTaskSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "defaultSortOrder": "dueDate"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "defaultProjectId": null,
            "defaultSortOrder": "dueDate",
            "defaultView": "all",
            "staleInboxDays": 7
          }
        }
      }
    },
    "settings.setKeyboardSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "overrides": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string",
                    "minLength": 1
                  },
                  "modifiers": {
                    "type": "object",
                    "properties": {
                      "meta": {
                        "type": "boolean"
                      },
                      "ctrl": {
                        "type": "boolean"
                      },
                      "shift": {
                        "type": "boolean"
                      },
                      "alt": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "required": ["key", "modifiers"],
                "additionalProperties": false
              }
            },
            "globalCapture": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "minLength": 1
                    },
                    "modifiers": {
                      "type": "object",
                      "properties": {
                        "meta": {
                          "type": "boolean"
                        },
                        "ctrl": {
                          "type": "boolean"
                        },
                        "shift": {
                          "type": "boolean"
                        },
                        "alt": {
                          "type": "boolean"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "required": ["key", "modifiers"],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change keyboard shortcut overrides.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setKeyboardSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "overrides": {}
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "overrides": {},
            "globalCapture": null
          }
        }
      }
    },
    "settings.resetKeyboardSettings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Reset every keyboard shortcut to its default.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.resetKeyboardSettings()",
      "x-memry-params": [],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [],
        "reply": {
          "success": true,
          "stored": {
            "overrides": {},
            "globalCapture": null
          }
        }
      }
    },
    "settings.setSyncSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "autoSync": {
              "type": "boolean"
            },
            "attachmentAutoDownload": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change sync settings.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setSyncSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "attachmentAutoDownload": true
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "enabled": true,
            "autoSync": true,
            "attachmentAutoDownload": true
          }
        }
      }
    },
    "settings.setBackupSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "autoBackup": {
              "type": "boolean"
            },
            "frequencyHours": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 6
                },
                {
                  "type": "number",
                  "const": 12
                },
                {
                  "type": "number",
                  "const": 24
                }
              ]
            },
            "maxBackups": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50
            },
            "lastBackupAt": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change backup settings.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setBackupSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "frequencyHours": 24
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "autoBackup": false,
            "frequencyHours": 24,
            "maxBackups": 5,
            "lastBackupAt": null
          }
        }
      }
    },
    "settings.setGraphSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "layout": {
              "type": "string",
              "enum": ["forceatlas2", "circular", "random"]
            },
            "showLabels": {
              "type": "boolean"
            },
            "showEdgeLabels": {
              "type": "boolean"
            },
            "animateLayout": {
              "type": "boolean"
            },
            "showTagEdges": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change graph view settings.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setGraphSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "showLabels": true
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "layout": "forceatlas2",
            "showLabels": true,
            "showEdgeLabels": false,
            "animateLayout": true,
            "showTagEdges": false
          }
        }
      }
    },
    "settings.setCalendarSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "dayCellClickBehavior": {
              "type": "string",
              "enum": ["journal", "calendar"]
            },
            "calendarPageClickOverride": {
              "type": "string",
              "enum": ["inherit", "journal", "calendar"]
            },
            "weekStartDay": {
              "type": "string",
              "enum": ["sunday", "monday"]
            },
            "showNotesOnCalendar": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change calendar settings.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setCalendarSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "dayCellClickBehavior": "journal"
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "dayCellClickBehavior": "journal",
            "calendarPageClickOverride": "calendar",
            "weekStartDay": "monday",
            "showNotesOnCalendar": false
          }
        }
      }
    },
    "settings.setFeaturesSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "home": {
              "type": "boolean"
            },
            "inbox": {
              "type": "boolean"
            },
            "journal": {
              "type": "boolean"
            },
            "tasks": {
              "type": "boolean"
            },
            "calendar": {
              "type": "boolean"
            },
            "graph": {
              "type": "boolean"
            },
            "spatialCanvas": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Turn surfaces on or off: home, inbox, journal, tasks and more.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setFeaturesSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "graph": true
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "home": true,
            "inbox": true,
            "journal": true,
            "tasks": true,
            "calendar": true,
            "graph": true,
            "spatialCanvas": true
          }
        }
      }
    },
    "settings.setInboxSettings": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "reviewReminderEnabled": {
              "type": "boolean"
            },
            "reviewReminderTime": {
              "type": "string",
              "pattern": "^([01]\\d|2[0-3]):([0-5]\\d)$"
            },
            "imageFilingMode": {
              "default": "embed",
              "type": "string",
              "enum": ["embed", "link"]
            },
            "imageFilingModeRemembered": {
              "default": false,
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change inbox settings.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "settings.setInboxSettings(settings)",
      "x-memry-params": [
        {
          "name": "settings",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "reviewReminderEnabled": false
          }
        ],
        "reply": {
          "success": true,
          "stored": {
            "reviewReminderEnabled": false,
            "reviewReminderTime": "18:00",
            "imageFilingMode": "embed",
            "imageFilingModeRemembered": false
          }
        }
      }
    },
    "search.rebuildIndex": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Rebuild the search index from the vault files.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "search.rebuildIndex()",
      "x-memry-params": [],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [],
        "reply": {
          "started": true,
          "notes": 25,
          "tasks": 15,
          "inbox": 22,
          "durationMs": 889
        }
      }
    },
    "search.addReason": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "itemId": {
              "type": "string",
              "minLength": 1
            },
            "itemType": {
              "type": "string",
              "enum": ["note", "journal", "task", "inbox"]
            },
            "itemTitle": {
              "type": "string",
              "minLength": 1
            },
            "itemIcon": {
              "default": null,
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "searchQuery": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": ["itemId", "itemType", "itemTitle", "searchQuery"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Record that a search result was opened, for recent results.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "search.addReason(params)",
      "x-memry-params": [
        {
          "name": "params",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "itemId": "<noteId>",
            "itemType": "note",
            "itemTitle": "Website relaunch plan",
            "searchQuery": "relaunch"
          }
        ],
        "reply": {
          "id": "mcLPP_dMlQQM7LcoIVemt",
          "itemId": "<noteId>",
          "itemType": "note",
          "itemTitle": "Website relaunch plan",
          "itemIcon": null,
          "searchQuery": "relaunch",
          "visitedAt": "2026-10-07T11:17:35.162Z"
        }
      }
    },
    "search.clearReasons": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Forget the recently opened search results.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "search.clearReasons()",
      "x-memry-params": [],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [],
        "reply": {
          "cleared": true
        }
      }
    },
    "homePages.create": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1
            },
            "icon": {
              "type": "string"
            },
            "position": {
              "default": 0,
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "widgets": {
              "default": [],
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1
                  },
                  "type": {
                    "type": "string",
                    "minLength": 1
                  },
                  "x": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "y": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "w": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "h": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "config": {
                    "default": {},
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                },
                "required": ["id", "type", "x", "y", "w", "h"],
                "additionalProperties": false
              }
            }
          },
          "required": ["name"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create a home page.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "homePages.create(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "name": "Launch week",
            "icon": "rocket"
          }
        ],
        "reply": {
          "id": "75Z3gaodyzaSQCm6TnYAh",
          "name": "Launch week",
          "icon": "rocket",
          "position": 0,
          "widgets": []
        }
      }
    },
    "homePages.update": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "name": {
              "type": "string",
              "minLength": 1
            },
            "icon": {
              "type": "string"
            },
            "position": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "widgets": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1
                  },
                  "type": {
                    "type": "string",
                    "minLength": 1
                  },
                  "x": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "y": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "w": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "h": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "config": {
                    "default": {},
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                },
                "required": ["id", "type", "x", "y", "w", "h"],
                "additionalProperties": false
              }
            }
          },
          "required": ["id"],
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change a home page.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "homePages.update(input)",
      "x-memry-params": [
        {
          "name": "input",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "id": "<homePageId>",
            "name": "Today"
          }
        ],
        "reply": {
          "id": "<homePageId>",
          "name": "Today",
          "position": 0,
          "widgets": []
        }
      }
    },
    "homePages.delete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a home page.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "homePages.delete(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<homePage2Id>"],
        "reply": {
          "success": true
        }
      }
    },
    "homePages.reorder": {
      "type": "array",
      "prefixItems": [
        {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Set the order of home pages.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "homePages.reorder(ids)",
      "x-memry-params": [
        {
          "name": "ids",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [["<homePageId>"]],
        "reply": {
          "success": true
        }
      }
    },
    "vault.switch": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Open another vault by path. The agent’s session ends with the old vault.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "vault.switch(vaultPath)",
      "x-memry-params": [
        {
          "name": "vaultPath",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["/Users/me/Documents/Other vault"],
        "not_run": "switching the open vault ends the agent session, so the example is not run."
      }
    },
    "vault.reindex": {
      "type": "array",
      "minItems": 0,
      "maxItems": 0,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Re-index the open vault from its files.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "vault.reindex()",
      "x-memry-params": [],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [],
        "reply": null
      }
    },
    "vault.updateConfig": {
      "type": "array",
      "prefixItems": [
        {
          "type": "object",
          "properties": {
            "excludePatterns": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "defaultNoteFolder": {
              "type": "string"
            },
            "journalFolder": {
              "type": "string"
            },
            "journalDateFormat": {
              "type": "string"
            },
            "attachmentsFolder": {
              "type": "string"
            },
            "journalShowInSidebar": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Change the open vault’s configuration.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "vault.updateConfig(config)",
      "x-memry-params": [
        {
          "name": "config",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "excludePatterns": [".git", "node_modules", ".trash"]
          }
        ],
        "reply": {
          "excludePatterns": [".git", "node_modules", ".trash"],
          "defaultNoteFolder": "",
          "journalFolder": "journal",
          "journalDateFormat": "YYYY-MM-DD",
          "attachmentsFolder": "attachments",
          "journalShowInSidebar": false
        }
      }
    },
    "vault.downloadRemote": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 2,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Download a vault of the signed-in account from the sync server.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "vault.downloadRemote(vaultUuid, parentPath?)",
      "x-memry-params": [
        {
          "name": "vaultUuid",
          "required": true
        },
        {
          "name": "parentPath",
          "required": false
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["3f6c2a1e-8b4d-4c1a-9e2f-5d7a8b9c0d1e", "/Users/me/Documents"],
        "not_run": "it needs a signed-in account with a vault on the sync server, so the example is not run."
      }
    },
    "canvas.create": {
      "type": "array",
      "prefixItems": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "scene": {
                  "type": "string"
                },
                "folder": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "icon": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "ownerNoteId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      ],
      "minItems": 0,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Create an empty canvas.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "canvas.create(input?)",
      "x-memry-params": [
        {
          "name": "input",
          "required": false
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": [
          {
            "title": "Sitemap"
          }
        ],
        "reply": {
          "id": "pnB8GGcsxY4P6rfo8Gzkh",
          "title": "Sitemap",
          "folder": null,
          "icon": null,
          "ownerNoteId": null,
          "createdAt": 1791371857488,
          "updatedAt": 1791371857488,
          "scene": "{\"type\":\"excalidraw\",\"version\":2,\"source\":\"memry\",\"elements\":[],\"appState\":{},\"files\":{}}"
        }
      }
    },
    "canvas.delete": {
      "type": "array",
      "prefixItems": [
        {
          "type": "string"
        }
      ],
      "minItems": 1,
      "maxItems": 1,
      "x-memry-kind": "desktop-operation",
      "x-memry-summary": "Delete a canvas.",
      "x-memry-tool": "vault_desktop_write",
      "x-memry-call": "canvas.delete(id)",
      "x-memry-params": [
        {
          "name": "id",
          "required": true
        }
      ],
      "x-memry-requires-approval": true,
      "x-memry-example": {
        "args": ["<deleteCanvasId>"],
        "reply": {
          "success": true
        }
      }
    }
  }
}
