# request_media_upload

Source: https://heyeveryone.ai/docs/mcp/request_media_upload

> Ask the person to upload an image or video from their device to the media library (you can't send file bytes). MCP Apps hosts show an upload box; otherwise give them uploadUrl (once, 15 min). Images ≤50 MB, videos ≤1 GB. Then get_media_upload_request gives mediaAssetId. Nothing is posted.

Ask the person to upload an image or video from their device to the media library (you can't send file bytes). MCP Apps hosts show an upload box; otherwise give them uploadUrl (once, 15 min). Images ≤50 MB, videos ≤1 GB. Then get_media_upload_request gives mediaAssetId. Nothing is posted.

## Access and cost

- Kind: mutation
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false

## Input schema

```json
{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "kind": {
      "enum": [
        "image",
        "video"
      ],
      "type": "string"
    },
    "note": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "workspaceId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "uploadRequest": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "workspaceId": {
          "format": "uuid",
          "type": "string"
        },
        "status": {
          "enum": [
            "waiting",
            "uploading",
            "finished",
            "expired"
          ],
          "type": "string"
        },
        "accepts": {
          "items": {
            "enum": [
              "image",
              "video"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "maxBytes": {
          "type": "integer"
        },
        "note": {
          "type": [
            "string",
            "null"
          ]
        },
        "expiresAt": {
          "format": "date-time",
          "type": "string"
        },
        "uploadExpiresAt": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "mediaAssetId": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "createdAt": {
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "id",
        "workspaceId",
        "status",
        "accepts",
        "maxBytes",
        "note",
        "expiresAt",
        "uploadExpiresAt",
        "mediaAssetId",
        "createdAt"
      ],
      "type": "object"
    },
    "uploadUrl": {
      "type": "string"
    }
  },
  "required": [
    "uploadRequest",
    "uploadUrl"
  ],
  "type": "object"
}
```

## Errors

```json
[]
```

## Annotations

```json
{
  "destructiveHint": false,
  "idempotentHint": false,
  "openWorldHint": false,
  "readOnlyHint": false,
  "title": "Ask the person for a file"
}
```
