# Mem

Mem is a note-taking and knowledge management application that helps users capture, organize, and retrieve information efficiently.

- **Category:** notes
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 11
- **Triggers:** 0
- **Slug:** `MEM`
- **Version:** 20260316_00

## Tools

### Create Collection

**Slug:** `MEM_CREATE_COLLECTION`

Creates a new collection in Mem for organizing and grouping related notes. Collections are containers that help categorize notes by topic, project, or any organizational scheme. Each collection has a title and optional description. Use this action when you need to: - Create a new organizational container for notes - Set up a project workspace with a descriptive title - Organize notes by category or theme Returns the created collection's details including its unique ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Optional UUID for the collection. If not provided, a UUID will be auto-generated. |
| `title` | string | Yes | Title of the collection. Supports Markdown formatting (max ~1k characters). |
| `created_at` | string | No | Optional ISO 8601 datetime for the creation timestamp. Defaults to current time if not provided. |
| `updated_at` | string | No | Optional ISO 8601 datetime for the last update timestamp. Defaults to created_at if not provided. |
| `description` | string | No | Optional description for the collection. Supports Markdown formatting (max ~10k characters). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Note V2

**Slug:** `MEM_CREATE_NOTE_V2`

Tool to create a new note with markdown content and optional collection associations. The first line of content is automatically interpreted as the title. Use when you need to create a note and optionally add it to one or more collections by ID or title.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Custom note identifier (UUID); auto-generated if omitted |
| `content` | string | Yes | Markdown-formatted note body, max ~200k characters. The first line is automatically interpreted as the title. |
| `created_at` | string | No | ISO 8601 datetime for note creation timestamp; defaults to current time |
| `updated_at` | string | No | ISO 8601 datetime for last modification timestamp; defaults to created_at value |
| `collection_ids` | array | No | Array of existing collection UUIDs to associate with the note |
| `collection_titles` | array | No | Array of collection names for association (case-insensitive, max ~1k chars each) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Collection

**Slug:** `MEM_DELETE_COLLECTION`

Tool to permanently delete a Mem collection. Deletion is irreversible — only invoke after explicit user confirmation and verification of the correct collection_id.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collection_id` | string | Yes | The UUID of the collection to delete. Must be a valid UUID format (e.g., '550e8400-e29b-41d4-a716-446655440000'). The deletion is idempotent - deleting a non-existent collection will still succeed. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Note

**Slug:** `MEM_DELETE_NOTE`

Tool to permanently delete a specific note. Deletion is irreversible — obtain explicit user confirmation before calling. Use when you need to remove a note by its unique identifier after confirming the note_id.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `note_id` | string | Yes | UUID of the note to delete. Must be a valid UUID format (e.g., 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'). Obtain this from create_note or read_note responses. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Collection

**Slug:** `MEM_GET_COLLECTION`

Retrieve the details of a Mem collection by its UUID. Returns the collection's title, description, and timestamps. Use this when you need to fetch metadata for a specific collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collection_id` | string | Yes | UUID of the collection to retrieve. Obtained from MEM_CREATE_COLLECTION or other collection listing actions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Collections

**Slug:** `MEM_LIST_COLLECTIONS`

List collections with pagination support. Returns collections sorted by updated_at or created_at. Use this action to retrieve all collections or browse through collections page by page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Opaque cursor token for pagination, returned from a previous request's next_page field. Omit this parameter for the first page of results. |
| `limit` | integer | No | Maximum number of collections to return per page. Defaults to 50 if not specified. |
| `order_by` | string ("updated_at" | "created_at") | No | Sort order options for collection listing. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Notes

**Slug:** `MEM_LIST_NOTES`

Tool to list notes with pagination and filtering options. Supports filtering by collection, task presence, image presence, and file presence. Use when you need to retrieve multiple notes or search for notes matching specific criteria.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Opaque cursor returned from a previous request. Omit for the first page. |
| `limit` | integer | No | Maximum number of notes to return. Defaults to 50. |
| `order_by` | string | No | Sort order for results. Choose between 'updated_at' (default) or 'created_at'. |
| `collection_id` | string | No | Optional collection ID; when provided, only notes belonging to this collection are returned. |
| `contains_files` | boolean | No | When true, only notes containing at least one file/attachment are returned. |
| `contains_tasks` | boolean | No | When true, only notes containing at least one task (open or closed) are returned. |
| `contains_images` | boolean | No | When true, only notes containing at least one image are returned. |
| `contains_open_tasks` | boolean | No | When true, only notes containing at least one open task are returned. |
| `include_note_content` | boolean | No | When true, include the markdown content for each note in results. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Read Note

**Slug:** `MEM_READ_NOTE`

Retrieve the content and metadata of a Mem note by its UUID. Returns the note's title, markdown content, timestamps, and collection membership. Use this when you need to read or display an existing note's content.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `note_id` | string | Yes | UUID of the note to retrieve. Obtained from MEM_CREATE_NOTE or other note listing actions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Save Content

**Slug:** `MEM_SAVE_CONTENT`

Tool to process and remember any raw content using AI. Accepts web pages, emails, transcripts, articles, or simple text. Use when you want to save and process content with optional instructions on how to process it and context about how it relates to existing knowledge.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input` | string | Yes | Any raw content you want to remember - web pages, emails, transcripts, articles, or simple text. Common use cases: HTML from a webpage, email text (including headers), meeting transcript, text from a document, simple notes or thoughts. Maximum of ~1M characters (~1 MB). |
| `context` | string | No | Additional background information that helps Mem understand how this input relates to your existing knowledge. Examples: 'This is related to my Project Alpha research', 'This is from the quarterly planning meeting', 'This is a follow-up to our discussion yesterday'. Maximum of ~10k characters. |
| `timestamp` | string | No | When this information was encountered or created (ISO 8601 datetime string). Defaults to the current date and time if not provided. Examples: '2025-04-01T14:30:45Z', '2023-12-15T09:45:30+01:00'. |
| `instructions` | string | No | Optional guidance on how you want this information processed or remembered. Examples: 'Extract the key findings and save as a research note', 'Create a summary with action items and decisions', 'Add to my reading list'. Maximum size: approximately 10 KB. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Search Collections

**Slug:** `MEM_SEARCH_COLLECTIONS`

Tool to search collections using an optional query string. Use when you need to find or list collections by title or description.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | No | Optional query string used to filter collections by title or description. If not provided, returns all collections. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Search Notes

**Slug:** `MEM_SEARCH_NOTES`

Tool to search notes in Mem using a query string with optional filtering. Supports filtering by collection IDs, task presence, image presence, and file presence.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | No | Optional query string used to filter notes. When not provided, returns all notes matching the filters. |
| `config` | object | No | Configuration flags for the response payload. |
| `filter_by_collection_ids` | array | No | Optional list of collection IDs (UUIDs); when provided, only notes in any of the specified collections are returned. |
| `filter_by_contains_files` | boolean | No | When true, only notes containing at least one file/attachment are returned. Defaults to false. |
| `filter_by_contains_tasks` | boolean | No | When true, only notes containing at least one task (open or closed) are returned. Defaults to false. |
| `filter_by_contains_images` | boolean | No | When true, only notes containing at least one image are returned. Defaults to false. |
| `filter_by_contains_open_tasks` | boolean | No | When true, only notes containing at least one open task are returned. Defaults to false. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
