image_to_pdf
Combine multiple images into a single PDF, with each image on a separate page in the order provided.
Instructions
Combine one or more images (.jpg, .jpeg, .png) into a single PDF, one image per page, in the order provided.
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": {
"input_files": "<input_files>"
},
"name": "image_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_files | Yes | One or more image files (.jpg, .jpeg, .png), in the order they should appear in the PDF. | |
| output_path | No | Optional output path. If it ends with the expected extension, the file is written there. If it is a directory, the file is placed inside with a timestamped name. Defaults to the same directory as the first input. |