Skip to main content
Glama

restore_file

Bring back an old version of a file. It is written as a new version; nothing in history is lost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe file to restore.
versionYesThe version number to bring back (see file_history); it's saved as a new version.
api_tokenNoYour hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set.
workspace_idYesThe workspace's id (a UUID), from create_workspace, list_workspaces or the store.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / api_token / description
      Added value: +"Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set."
    • addedInput schema / properties / path / description
      Added value: +"The file to restore."
    • addedInput schema / properties / version / description
      Added value: +"The version number to bring back (see file_history); it's saved as a new version."
    • addedInput schema / properties / workspace_id / description
      Added value: +"The workspace's id (a UUID), from create_workspace, list_workspaces or the store."
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources