veryfront__restore_uploadAccess
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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__restore_upload",
"arguments": {}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError 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
{
"type": "object",
"properties": {
"upload_reference": {
"type": "string",
"minLength": 1,
"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."
},
"upload_id": {
"type": "string",
"minLength": 1,
"description": "Send upload_reference or this earlier spelling of it, not two different values."
},
"project_reference": {
"type": "string",
"description": "Project UUID, slug or configured domain; optional when the selected context supplies a project."
}
},
"additionalProperties": false,
"description": "Arguments for the restore_upload tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Upload UUID."
},
"path": {
"type": "string",
"description": "Project-relative upload path."
},
"file_name": {
"type": "string",
"description": "File name from the upload record."
},
"content_type": {
"type": [
"string",
"null"
],
"description": "Stored MIME type, or null when unspecified."
},
"size_bytes": {
"type": "number",
"description": "File size in bytes."
},
"url": {
"type": [
"string",
"null"
],
"description": "API URL that serves the upload; access depends on its visibility."
},
"status": {
"type": "string",
"description": "pending, active or failed."
},
"visibility": {
"type": "string",
"enum": [
"project",
"public",
"private"
],
"description": "Effective visibility of the upload."
},
"created_at": {
"type": "string",
"description": "Creation time."
},
"updated_at": {
"type": "string",
"description": "Last update time."
},
"deleted_at": {
"type": [
"string",
"null"
],
"description": "Soft-deletion time, or null for an upload that is not deleted."
},
"restored": {
"type": "boolean",
"description": "Always true."
}
},
"required": [
"id",
"path",
"file_name",
"content_type",
"size_bytes",
"url",
"status",
"visibility",
"created_at",
"updated_at",
"deleted_at",
"restored"
],
"additionalProperties": false,
"description": "Structured restore upload output schema for MCP tools.",
"$schema": "http://json-schema.org/draft-07/schema#"
}