Convert JPG to PDF
jpg_to_pdfPut photos, scans and screenshots (JPG, PNG, TIFF, WEBP…) into a single PDF, in the order you want and without losing quality. Returns a link to download the result (kept about an hour). Credits on paid plans: 1 per page.
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 |
|---|---|---|---|
| size | No | Page size Values: 'a4' = A4; 'carta' = Letter; 'imagen' = Same as the image | a4 |
| files | Yes | Input files (.bmp, .gif, .jfif, .jpe, .jpeg, .jpg, .png, .tif, .tiff, .webp). Each one is a public http(s) URL, or an object with `url`, or with `name` and `content_base64` (small files only: up to 20 MB in total). | |
| margin | No | Margin Values: 'no' = No margin; 'pequeno' = Small; 'grande' = Large | no |