fetch
[ChatGPT Connector compat] Fetch memory by ID.
Exists to satisfy ChatGPT Deep Research's required `search`/`fetch` tool
contract. Native MCP clients should fetch via `recall` + memory_id, or
use the API's GET /memories/{id} endpoint directly.
Returns a single memory with citation support (id, title, url, text fields).
Args:
id: Memory UUID to fetch
ctx: MCP context
Returns:
Dict with id, title, url, text, metadata fields
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |