Skip to content

Allow title-only updates without requiring markdown body #2

@fajarmf

Description

@fajarmf

Problem

Currently, slite_update_note requires the markdown parameter even when only updating the title. This forces users to:

  1. Fetch the full note content first
  2. Send the entire body back just to change the title

This is inefficient and error-prone for simple rename operations.

Current Behavior

required: ["noteId", "markdown"]
title: optional

Proposed Solution

Make markdown optional in slite_update_note. If not provided, only update the title while preserving existing content.

required: ["noteId"]
// At least one of title or markdown should be provided

Use Case

Renaming weekly notes from inconsistent naming to standardized format:

Current Name New Name
Week of Dec 22, 2025 2025 - W52 - Dec 22
weekly update 29 dec 2026 - W01 - Dec 29
Week of Jan 6, 2026 2026 - W02 - Jan 5

Currently this simple rename requires fetching and re-sending the full markdown body for each note.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions