download-document
Fetch a FamilySearch record image as a high-resolution JPG or PDF and return it inline so it can be read, then delete it from disk unless keep is set.
Instructions
Fetch a FamilySearch record image (original high-resolution JPG, or PDF through the official viewer) and return it inline so it can be read. By default the file is deleted from disk right after it is returned; pass keep: true to leave it in the download folder.
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": "download-document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dgs | No | DGS/image group number (use together with imageNumber) | |
| keep | No | Keep the file on disk after returning it (default false: deleted right away) | |
| format | No | jpg is the original high-resolution scan (default) | |
| imageId | No | FamilySearch 3:1 image ID or its ARK URL; alternatively use dgs plus imageNumber | |
| fileName | No | Optional file name; unsafe path characters are removed and existing files are never overwritten | |
| imageNumber | No | One-based image number within the DGS | |
| outputDirectory | No | Sub-folder inside the download root (default root: ~/Downloads/familysearch-mcp, override with FAMILYSEARCH_DOWNLOAD_DIR); paths outside the root are rejected |