media_upload
Upload local image or video files to the iOS device's DCIM/100APPLE folder for camera roll import.
Instructions
[advanced] AFC upload PC file to /DCIM/100APPLE/{IMG|VID}_XXXX.ext. Needs Python + pymobiledevice3. stage=upload on failure.
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": {
"localPath": "<localPath>",
"mediaType": "<mediaType>"
},
"name": "media_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | ||
| localPath | Yes | Absolute path on this PC | |
| mediaType | Yes |