# Move upload

Tool: `veryfront__move_upload`

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

## Arguments

| Name                | Type   | Required | Description                                                                                  |
| ------------------- | ------ | -------- | -------------------------------------------------------------------------------------------- |
| `upload_reference`  | string |          | Current path of the upload. Must be URL-encoded if it contains special characters or spaces. |
| `source_path`       | string |          | Send upload\_reference or this earlier spelling of it, not two different values.             |
| `destination_path`  | string | Yes      | New file path. Must be URL-encoded if it contains special characters or spaces.              |
| `project_reference` | string |          | Project ID or slug                                                                           |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
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"
    }
  }
}'
```

## Example response

```json
{
  "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"
    }
  }
}
```
