take_photo
Use the phone camera to capture a photo, selecting back or front camera and saving to a specified file path.
Instructions
Take a photo using the phone camera.
Args: camera_id: Camera ID - '0' for back camera, '1' for front camera output_path: Where to save the photo
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera_id | No | 0 | |
| output_path | No | /data/data/com.termux/files/home/photo.jpg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |