memory_file_context_tool
Store or refresh a file's current-state TLDR keyed by content hash, and check before reading whether cached context is still fresh; unchanged files return fresh without writing.
Instructions
Return and refresh a file's current-state TLDR, keyed by content hash.
Use this after reading a file to store what the file now does, or before a
read to check whether a cached TLDR is still fresh. An unchanged file
returns fresh: true without writing.
Args: path: File path, relative to the project or absolute reason: Why the file state was captured statement: Optional override for the generated TLDR details: Optional additional details tags: Extra tags refresh: Update the stored TLDR when the content changed title: Optional title override project: Optional project root path
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>"
},
"name": "memory_file_context_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| tags | No | ||
| title | No | ||
| reason | No | ||
| details | No | ||
| project | No | ||
| refresh | No | ||
| statement | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |