Insert text into memory file
memory.insertInsert text at a 0-indexed line position within memory files. Content is screened before writing, blocking sensitive values from being stored.
Instructions
Insert text at a 0-indexed line position. The resulting file content is screened before the write.
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>",
"insert_line": "<insert_line>",
"insert_text": "<insert_text>"
},
"name": "memory.insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path under /memories. | |
| insert_line | Yes | 0 prepends; the line count appends. | |
| insert_text | Yes | Text to insert. |