---
title: "Fetch the full content of ONE memory item found via memory_search. source='paper' requires `id`; source='vault_file' accepts `id` or `path`. Only the authenticated user's own items are accessible. Returns { found: false } when the item does not exist (or belongs to another user)."
method: POST
path: "/api/mcp/tools/memory_get"
tags: ["misc"]
---

# Fetch the full content of ONE memory item found via memory_search. source='paper' requires \`id\`; source='vault_file' accepts \`id\` or \`path\`. Only the authenticated user's own items are accessible. Returns { found: false } when the item does not exist (or belongs to another user).

`POST /api/mcp/tools/memory_get`

## Request

- Base URL: `https://api.ainote.dev`
- URL: `https://api.ainote.dev/api/mcp/tools/memory_get`
- Auth: API key in header `Authorization`

Fetch the full content of ONE memory item found via memory_search. source='paper' requires `id`; source='vault_file' accepts `id` or `path`. Only the authenticated user's own items are accessible. Returns { found: false } when the item does not exist (or belongs to another user).

## Request body

- object
  - `source` 'paper' | 'vault_file', required: Which store the item lives in (use the `source` field from memory_search results)
  - `id` string: Item ID returned by memory_search
  - `path` string: vault_file only: file path inside the vault (e.g. 'global/MEMORY.md')

## Response `200`

Tool executed successfully

- ToolSuccessResponse: Successful tool invocation. `content` mirrors the MCP `tools/call` result shape: an array of content blocks (text and optionally a structured resource payload).
  - `content` object[]
    - `type` 'text' | 'resource'
    - `text` string

## Other responses

- `400`: Invalid arguments or business-rule violation
- `401`: Missing or invalid McpKey

---

[API](https://skmtc.dev/ainote/apis/ainote-mcp-openapi-mirror.md) · [All operations](https://skmtc.dev/ainote/apis/ainote-mcp-openapi-mirror/llms.txt) · [OpenAPI document](https://skmtc.dev/ainote/apis/ainote-mcp-openapi-mirror/revisions/f6c91d85e027?raw)
