fileforge_memory_action
Save and track web pages to find earlier visits, diff changes, and search saved pages for evidence. Use it to see what changed on a page.
Instructions
Remember pages over time: save a page, find earlier visits, diff it against a previous visit, and search saved pages or pull evidence for a question. Use this to see what changed on a page. Use fileforge_result_action to read tool results and fileforge_search_action to search history. Data stays in ~/.fileforge. save_page and diff_page need the extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Ref of a stored result. | |
| url | No | URL to look up in saved pages. | |
| limit | No | Maximum items to return. | |
| query | No | Search text. | |
| store | No | Save the result in ~/.fileforge and return a ref. | |
| tabId | No | Tab ID, or "active" for the active tab. | active |
| action | Yes | What to do. Required parameters are in brackets. save_page: Save the text of a tab's page to local memory. query (query): Search saved pages by keyword. semantic_search (query): Run the same keyword search as query. Embeddings are not configured. answer (question): Return saved pages relevant to a question as evidence. It doesn't write an answer. find_previous_visit (url): Find the saved copy of a URL. diff_page: Compare a tab's text with a stored result (ref) or the page's saved copy. Stores the diff by default. compact_result (ref): Summarize a stored result. get_result_slice (ref): Read part of a stored result using offset and limit. | |
| offset | No | Items to skip, for paging. | |
| project | No | Project name that groups stored results. | default |
| question | No | Question to answer from saved pages. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | False if the action failed or a check did not pass. | |
| ref | No | Stored result ID, for fileforge_result_action. | |
| data | No | The result. Its shape depends on the action. | |
| meta | No | Tool, action and context. | |
| error | No | Failure code and message. | |
| warnings | No | Notes about a call that still ran. |