img_to_pdf
Converts JPG, PNG, or WebP images into a PDF document by specifying image paths and an output PDF file.
Instructions
Converts image(s) to a PDF document. [Input: JPG/PNG/WebP images | Output: PDF (.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": {
"inputs": "<inputs>",
"output": "<output>"
},
"name": "img_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | List of image paths. | |
| output | Yes | The output PDF file path. |