| search_by_keywordA | Search notes by keyword against title and text content.
Args:
query (str, optional): A string to match against the title and text
include_archived (bool, optional): Include archived notes in results (default: True)
include_trashed (bool, optional): Include trashed notes in results (default: False)
Returns:
str: JSON string containing the matching notes with their id, title, text, pinned status, color, labels and timestamps
|
| findA | Find notes based on a search query. Alias for search_by_keyword.
Args:
query (str, optional): A string to match against the title and text
include_archived (bool, optional): Include archived notes in results (default: True)
include_trashed (bool, optional): Include trashed notes in results (default: False)
Returns:
str: JSON string containing the matching notes
|
| search_by_labelA | Search notes by label name.
Args:
label_name (str): The label name to filter by (case-insensitive)
include_archived (bool, optional): Include archived notes in results (default: True)
include_trashed (bool, optional): Include trashed notes in results (default: False)
Returns:
str: JSON string containing the matching notes with their id, title, text, pinned status, color, labels and timestamps
|
| get_pinned_notesA | Get only pinned notes (active, non-archived, non-trashed).
Args:
query (str, optional): A string to match against the title and text
Returns:
str: JSON string containing pinned notes
|
| get_archived_notesB | Get only archived notes.
Args:
query (str, optional): A string to match against the title and text
Returns:
str: JSON string containing archived notes
|
| get_trashed_notesA | Get only trashed notes.
Args:
query (str, optional): A string to match against the title and text
Returns:
str: JSON string containing trashed notes
|
| create_noteC | Create a new note with title and text.
Args:
title (str, optional): The title of the note
text (str, optional): The content of the note
Returns:
str: JSON string containing the created note's data
|
| update_noteA | Update a note's properties.
Args:
note_id (str): The ID of the note to update
title (str, optional): New title for the note
text (str, optional): New text content for the note
Returns:
str: JSON string containing the updated note's data
Raises:
ValueError: If the note doesn't exist or cannot be modified
|
| set_note_colorA | Set the color of a note.
Args:
note_id (str): The ID of the note to update
color (str): The color to set. Valid values: WHITE, RED, ORANGE, YELLOW, GREEN, TEAL, BLUE, CERULEAN, PURPLE, PINK, BROWN, GRAY
Returns:
str: Success message
Raises:
ValueError: If the note doesn't exist, color is invalid, or note cannot be modified
|
| archive_noteA | Archive an active note.
Args:
note_id (str): The ID of the note to archive
Returns:
str: Success message
Raises:
ValueError: If the note doesn't exist, is already archived, or cannot be modified
|
| unarchive_noteA | Unarchive a note (move it back to active notes).
Args:
note_id (str): The ID of the archived note to unarchive
Returns:
str: Success message
Raises:
ValueError: If the note doesn't exist, is not archived, or cannot be modified
|
| restore_noteA | Restore a trashed note back to active notes.
Args:
note_id (str): The ID of the trashed note to restore
Returns:
str: Success message
Raises:
ValueError: If the note doesn't exist, is not trashed, or cannot be modified
|
| delete_noteC | Delete a note (mark for deletion).
Args:
note_id (str): The ID of the note to delete
Returns:
str: Success message
Raises:
ValueError: If the note doesn't exist or cannot be modified
|
| delete_archived_noteB | Permanently delete an archived note (moves to trash).
Args:
note_id (str): The ID of the archived note to delete
Returns:
str: Success message
Raises:
ValueError: If the note doesn't exist, is not archived, or cannot be modified
|
| get_labelsA | Analyze all labels across notes and return counts for label management.
Args:
include_archived (bool, optional): Include archived notes in analysis (default: True)
include_trashed (bool, optional): Include trashed notes in analysis (default: False)
Returns:
str: JSON string containing label analysis with counts, sorted by usage
|
| get_note_colorsA | Get available note colors and their current usage statistics.
Returns:
str: JSON string containing available colors and usage statistics
|