Add media to gallery
Copies an image or video into the phone gallery
Also available to AI agents and over MCP as a tool.
Parameters
Section titled “Parameters”phoneId
Phone · string · optional
The phone to use. Empty = the phone of the run’s target.
source
Source · string · required · default binary · one of binary, media
The file to copy to the phone: the item’s file or a media library item.
binaryProperty
File field · string · optional · default data
Shown when source is binary.
mediaId
Media · string · optional
Shown when source is media.
folder
Folder · string · optional · default /sdcard/DCIM/Camera/
Folder on the phone, e.g. /sdcard/DCIM/Camera (the gallery sees it).
fileName
File name · string · optional
Outputs
Section titled “Outputs”main