photos_import_file
Imports an image or small video file to iOS Photos via AFC upload, PhotoKit import, and optional sqlite verification.
Instructions
[advanced] One-shot: AFC upload + Photos ensure + PhotoKit import + optional sqlite verify. Preferred for AI. Needs FRIDA_MCP_PYTHON with pymobiledevice3 (no auto pip). Missing deps → stage=afc in ≤5s. Accepts image or small mp4 (mediaType=video). Video: avoid parallel session_open other apps or expect needsRetry + photos_list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | ||
| verify | No | Default true — confirm localIdentifier in Photos.sqlite | |
| localPath | Yes | PC file path | |
| mediaType | Yes |