import_batch
Import a folder of photos into darktable's library as a film roll, making copied images visible and trackable. Returns the number of newly imported photos.
Instructions
Register a folder as a film roll in the user's darktable library. Useful when you've copied photos from a card or external drive and want darktable to know about them. Returns the count of newly-imported photos. Requires darktable to be running with the darktable-mcp Lua plugin installed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | Recurse into subdirectories (default true) | |
| source_path | Yes | Absolute path to the folder of photos to import |