Rename memory file or directory
memory.renameMove or rename a file or directory in the shared knowledge store without overwriting; the destination path is screened before writing to prevent unsafe content.
Instructions
Move a file or directory. Never overwrites. The new path 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": {
"old_path": "<old_path>",
"new_path": "<new_path>"
},
"name": "memory.rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_path | Yes | New path under /memories; must not exist. | |
| old_path | Yes | Current path under /memories. |