image_to_pdf
Combine JPG/PNG images into a multi-page PDF.
Instructions
Convert one or more images (JPG/PNG) into a multi-page PDF.
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": {
"files": "<files>"
},
"name": "image_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of absolute paths to image files (JPG or PNG) | |
| page_size | No | Page size: "fit" = match image, "a4", or "letter" (default: fit) | |
| output_name | No | Output file path (defaults to same dir with suffix) |