Restore a soft-deleted upload. Requires project.uploads.write.
Arguments
upload_referencestring · min length 1Upload UUID selects that exact row; raw project-relative path selects an active row first, otherwise latest deletion then descending UUID. Active rows are rejected. No deletion-age cutoff is enforced; stored content availability is not checked. Requires upload write and path edit access. Do not URL-encode MCP values.
upload_idstring · min length 1Send upload_reference or this earlier spelling of it, not two different values.
project_referencestringProject UUID, slug or configured domain; optional when the selected context supplies a project.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__restore_upload", "arguments": {} }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"id\":\"string\",\"path\":\"string\",\"file_name\":\"string\",\"content_type\":\"string\",\"size_bytes\":0,\"url\":\"string\",\"status\":\"string\",\"visibility\":\"project\",\"created_at\":\"string\",\"updated_at\":\"string\",\"deleted_at\":\"string\",\"restored\":false}" } ], "structuredContent": { "id": "string", "path": "string", "file_name": "string", "content_type": "string", "size_bytes": 0, "url": "string", "status": "string", "visibility": "project", "created_at": "string", "updated_at": "string", "deleted_at": "string", "restored": false } }}The tool ran; its output is result.structuredContent.