n2_brain_write
Writes files into shared memory so AI agents can persist and share context across sessions and coordinate handoffs.
Instructions
Write a file to shared memory (data/memory/). Share information between agents.
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": {
"filename": "<filename>",
"content": "<content>"
},
"name": "n2_brain_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | File content | |
| filename | Yes | File path relative to memory directory |