memory_file_history
Retrieve past observations for comma-separated file paths before editing or investigating, searching up to 15 recent sessions and returning a context block to guide work.
Instructions
Retrieve context for comma-separated file paths before editing or investigating them. Searches up to 15 recent visible sessions and includes up to five important observations per file; sessionId excludes the current session. Omit project or use '*' to search across projects. Returns a context string containing an agentmemory-file-context block, or an empty string. Matching observations record retention access; use memory_recall for general topic searches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Comma-separated file paths | |
| agentId | No | Optional agent ID; omit for configured scope, or use '*' for a deliberate cross-agent read | |
| project | No | Exact project; use wildcard for all projects | |
| sessionId | No | Current session ID to exclude |