Skip to main content
Glama

unarchive_note

Restore archived notes in Bear Notes on macOS by providing the note identifier, making previously hidden content accessible again.

Instructions

Unarchive a note

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
note_idYesThe unique identifier of the note (ZUNIQUEIDENTIFIER)

Implementation Reference

  • The 'unarchive_note' function implements the logic to unarchive a note by calling the Bear x-callback-url 'unarchive'.
    def unarchive_note(note_id: str) -> dict[str, str]:
        """
        Unarchive a note.
    
        Args:
            note_id: The unique identifier of the note (ZUNIQUEIDENTIFIER)
    
        Returns:
            Dictionary with operation result
        """
        params = {"id": note_id}
    
        query_string = urllib.parse.urlencode(params)
        url = f"bear://x-callback-url/unarchive?{query_string}"
    
        return _open_bear_url(url)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maxim-ist/mcp-bear'

If you have feedback or need assistance with the MCP directory API, please join our Discord server