JPG/PNG to PDF
jpg_to_pdfTurn 1-20 JPG or PNG images into one PDF, one image per page, in the order given. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.
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": "jpg_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | The files, each with file_url or file_base64 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| file_name | Yes | ||
| download_url | Yes | Link to download the result | |
| expires_in_minutes | Yes | The link stops working after this time (or 3 minutes after the first download) |