doc_tools_images_to_pdf
One PDF from a set of images, one per page: scans, photos of documents, screenshots, slides. Pages sized to A4 or Letter with margins, or exactly to each image; phone photos are turned upright. Price: $0.01 USDC via x402, charged only on success. Part of Document tools: Work with PDFs and scans: read the text out of a PDF with page numbers and metadata, recognize the text in a scan, photo or screenshot, merge PDFs, take or reorder pages, split into parts, and turn images into a 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": {
"images": "<images>"
},
"name": "doc_tools_images_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| images | Yes | ||
| quality | No | JPEG quality for photos. Images with transparency stay lossless. | |
| marginMm | No | ||
| pageSize | No | fit makes each page exactly the size of its image. | A4 |
| orientation | No | auto turns the page to match each image. | auto |