Office to PDF
OfficetoPDFOffice to PDF: Office to PDF converts Word, Excel, PowerPoint, OpenDocument, RTF, text and CSV files to PDF and returns a download link valid for 2 days, with the page count of the result. Upload the file or send its URL. Paid plans can convert only selected pages and set landscape orientation. (Cost: 30 credits)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "OfficetoPDF"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | The document to convert (up to 10 MB): doc, docx, xls, xlsx, ppt, pptx, odt, ods, odp, rtf, txt or csv, or a public URL to one | |
| landscape | No | Lay the pages out in landscape orientation | |
| pageRanges | No | Pages to convert, such as 1-3,5. Converts the whole document when omitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |