Get Media File
get_media_fileGet a media file by ID. With verifyUpload=true, also checks that the uploaded image/video exists in storage with its declared type and size. Read-only: does not change the file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_media_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | File UUID | |
| verifyUpload | No | Check uploaded object type and size (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| size | Yes | File size in bytes. | |
| fileSrc | No | ||
| filename | No | ||
| folderId | No | ||
| mimetype | Yes | ||
| createdAt | No | ||
| updatedAt | No | ||
| previewUrl | No | A small WebP preview (about 400 px; a video's poster frame). Null until it is made, or when the file could not be read. | |
| originalName | No | ||
| uploadVerified | No | True only after storage metadata verification. |