Write a memory file
memory_writeCreate or replace one memory file with the full text given. Meant for a new file or a complete rewrite, not for adding a few lines to the end of a file. Replacing overwrites the whole text; recent versions stay restorable from the file's history in the dashboard. Folders in the path need not exist. A new file under a team's folder is created in that team. With ifMatch the write is refused when the file changed since it was read. Answers "Saved ". Docs: https://only-mcp.com/docs/what-is-onlymcp#what-sits-behind-the-one-address
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": {
"path": "<path>",
"content": "<content>"
},
"name": "memory_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the memory file. | |
| content | Yes | The full new content. | |
| ifMatch | No | The updatedAt memory_read answered in _meta. The write is refused when the file changed since. |