Move upload

Move an upload to another path in the same project, keeping its ID. Requires project.uploads.write.

Arguments

  • upload_referencestring

    Current path of the upload. Must be URL-encoded if it contains special characters or spaces.

  • source_pathstring

    Send upload_reference or this earlier spelling of it, not two different values.

  • destination_pathstringrequired

    New file path. Must be URL-encoded if it contains special characters or spaces.

  • project_referencestring

    Project ID or slug

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__move_upload",    "arguments": {      "destination_path": "string"    }  }}'
{  "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\",\"source_path\":\"string\",\"destination_path\":\"string\"}"      }    ],    "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",      "source_path": "string",      "destination_path": "string"    }  }}

The tool ran; its output is result.structuredContent.