Move upload folder

veryfront__move_upload_folder

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

FieldTypeRequiredDescription and constraints
folder_pathstringYesFolder path; a trailing slash is appended when absent. Minimum length: 1.
destination_pathstringYesUnused destination folder path; a trailing slash is appended when absent. Minimum length: 1.
project_referencestringNoProject 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.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__move_upload_folder",
    "arguments": {
      "folder_path": "example",
      "destination_path": "example"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
source_pathstringYesFolder path before the move, with a trailing slash.
destination_pathstringYesFolder path after the move, with a trailing slash.
folders_movedintegerYesFolder records moved, including the source folder. Minimum: 0.
uploads_movedintegerYesActive uploads moved. Minimum: 0.

Full schemas

json
{
  "type": "object",
  "properties": {
    "folder_path": {
      "type": "string",
      "minLength": 1,
      "description": "Folder path; a trailing slash is appended when absent."
    },
    "destination_path": {
      "type": "string",
      "minLength": 1,
      "description": "Unused destination folder path; a trailing slash is appended when absent."
    },
    "project_reference": {
      "type": "string",
      "description": "Project UUID, slug or configured domain; optional when the selected context supplies a project."
    }
  },
  "required": [
    "folder_path",
    "destination_path"
  ],
  "additionalProperties": false,
  "description": "Arguments for the move_upload_folder tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "source_path": {
      "type": "string",
      "description": "Folder path before the move, with a trailing slash."
    },
    "destination_path": {
      "type": "string",
      "description": "Folder path after the move, with a trailing slash."
    },
    "folders_moved": {
      "type": "integer",
      "minimum": 0,
      "description": "Folder records moved, including the source folder."
    },
    "uploads_moved": {
      "type": "integer",
      "minimum": 0,
      "description": "Active uploads moved."
    }
  },
  "required": [
    "source_path",
    "destination_path",
    "folders_moved",
    "uploads_moved"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the move_upload_folder tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}