veryfront__restore_upload
Requires project.uploads.write.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
upload_reference | string | No | Upload 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. Minimum length: 1. |
upload_id | string | No | Send upload_reference or this earlier spelling of it, not two different values. Minimum length: 1. |
project_reference | string | No | Project UUID, slug or configured domain; optional when the selected context supplies a project. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__restore_upload",7 "arguments": {}8 }9}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string | Yes | Upload UUID. |
path | string | Yes | Project-relative upload path. |
file_name | string | Yes | File name from the upload record. |
content_type | string or null | Yes | Stored MIME type, or null when unspecified. |
size_bytes | number | Yes | File size in bytes. |
url | string or null | Yes | API URL that serves the upload; access depends on its visibility. |
status | string | Yes | pending, active or failed. |
visibility | string | Yes | Effective visibility of the upload. Values: "project", "public", "private". |
created_at | string | Yes | Creation time. |
updated_at | string | Yes | Last update time. |
deleted_at | string or null | Yes | Soft-deletion time, or null for an upload that is not deleted. |
restored | boolean | Yes | Always true. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "upload_reference": {5 "type": "string",6 "minLength": 1,7 "description": "Upload 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."8 },9 "upload_id": {10 "type": "string",11 "minLength": 1,12 "description": "Send upload_reference or this earlier spelling of it, not two different values."13 },14 "project_reference": {15 "type": "string",16 "description": "Project UUID, slug or configured domain; optional when the selected context supplies a project."17 }18 },19 "additionalProperties": false,20 "description": "Arguments for the restore_upload tool.",21 "$schema": "http://json-schema.org/draft-07/schema#"22}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "description": "Upload UUID."7 },8 "path": {9 "type": "string",10 "description": "Project-relative upload path."11 },12 "file_name": {13 "type": "string",14 "description": "File name from the upload record."15 },16 "content_type": {17 "type": [18 "string",19 "null"20 ],21 "description": "Stored MIME type, or null when unspecified."22 },23 "size_bytes": {24 "type": "number",25 "description": "File size in bytes."26 },27 "url": {28 "type": [29 "string",30 "null"31 ],32 "description": "API URL that serves the upload; access depends on its visibility."33 },34 "status": {35 "type": "string",36 "description": "pending, active or failed."37 },38 "visibility": {39 "type": "string",40 "enum": [41 "project",42 "public",43 "private"44 ],45 "description": "Effective visibility of the upload."46 },47 "created_at": {48 "type": "string",49 "description": "Creation time."50 },51 "updated_at": {52 "type": "string",53 "description": "Last update time."54 },55 "deleted_at": {56 "type": [57 "string",58 "null"59 ],60 "description": "Soft-deletion time, or null for an upload that is not deleted."61 },62 "restored": {63 "type": "boolean",64 "description": "Always true."65 }66 },67 "required": [68 "id",69 "path",70 "file_name",71 "content_type",72 "size_bytes",73 "url",74 "status",75 "visibility",76 "created_at",77 "updated_at",78 "deleted_at",79 "restored"80 ],81 "additionalProperties": false,82 "description": "Structured restore upload output schema for MCP tools.",83 "$schema": "http://json-schema.org/draft-07/schema#"84}