list_photos
List photo files from Android device directories. Specify a folder or use the default camera directory, with an option to limit results.
Instructions
List photo files in a directory.
Args: directory: Directory to list photos from (default: phone camera folder) limit: Maximum number of files to list
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | /storage/emulated/0/DCIM/Camera | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |