Skip to Content

restore_document

Bring a document back from the Trash (within its 30 days), as Restore does on the web.

asks firstChanges something in your workspace, so clients ask you before running it.

What it does

Bring a document back from the Trash (within its 30 days), as Restore does on the web. Find trashed ids with list_documents in_trash: true. A member may restore their own; owners and admins any. Returns { id, name }.

Inputs

NameTypeDescription
document_idrequiredstring

Call it

Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "restore_document",
    "arguments": {
      "document_id": "<document_id>"
    }
  }
}

Input schema

The JSON Schema the server lists for this tool in tools/list.

{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "document_id": {
      "type": "string"
    }
  },
  "required": [
    "document_id"
  ]
}

On this page