ios_add_media
Adds photos or videos from a local file path to an iOS Simulator photo library using the simulator UDID and media path.
Instructions
Add photos or videos to the Simulator photo library.
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": {
"deviceId": "<deviceId>",
"localPath": "<localPath>"
},
"name": "ios_add_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | Simulator UDID | |
| localPath | Yes | Local path to the media file |