memory_get_for_files
Retrieve stored memories about specific files before editing to uncover conventions, gotchas, and invariants, helping avoid breaking established codebase decisions.
Instructions
Get all memories relevant to specific files before editing them — conventions, gotchas, and invariants that apply to those paths.
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": {
"paths": "<paths>"
},
"name": "memory_get_for_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (1-50). Defaults to 20. | |
| paths | Yes | Repo-relative file paths you are about to read or edit |