Get upload

Return one upload's metadata by UUID or project-relative path. Requires project.uploads.read.

Arguments

  • project_referencestring · min length 1

    Project UUID, slug or configured domain. Omit when the request context selects a project.

  • upload_referencestring · min length 1required

    Upload UUID or project-relative path. A same-project storage prefix is accepted only when no literal relative path matches.

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__get_upload",    "arguments": {      "upload_reference": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"00000000-0000-0000-0000-000000000000\",\"path\":\"string\",\"file_name\":\"string\",\"content_type\":\"string\",\"size\":0,\"url\":\"string\",\"status\":\"pending\",\"visibility\":\"project\",\"created_at\":\"string\",\"updated_at\":\"string\",\"deleted_at\":\"string\",\"size_bytes\":0}"      }    ],    "structuredContent": {      "id": "00000000-0000-0000-0000-000000000000",      "path": "string",      "file_name": "string",      "content_type": "string",      "size": 0,      "url": "string",      "status": "pending",      "visibility": "project",      "created_at": "string",      "updated_at": "string",      "deleted_at": "string",      "size_bytes": 0    }  }}

The tool ran; its output is result.structuredContent.