edit_memory
Replace specific content in memory files using literal or regex patterns to modify stored data within the Serena coding toolkit.
Instructions
Replace content in memory.
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": {
"memory_file_name": "<memory_file_name>",
"needle": "<needle>",
"repl": "<repl>",
"mode": "<mode>"
},
"name": "edit_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_file_name | Yes | ||
| needle | Yes | ||
| repl | Yes | ||
| mode | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |