file_history
What hashn keeps of one file, oldest first: receipts (size, SHA-256 fingerprint, who, when; any
file) and, for markdown records with a YAML header, versions (fields and body). Since 2026-11-21 hashn
keeps a file as it is now and what was agreed, not every save: you see the saves before that day, any agreed
version, and the current one.
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": {
"workspace_id": "<workspace_id>",
"path": "<path>"
},
"name": "file_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The file whose saves and versions you want. | |
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. | |
| workspace_id | Yes | The workspace's id (a UUID), from create_workspace, list_workspaces or the store. |