Document Tools
Convert PPT/PPTX to PDF and optionally render handout layout with multiple slides per page
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/libreoffice-ppt-to-pdf-handouts' \
-F 'file=@/path/to/sourceFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/libreoffice-ppt-to-pdf-handouts' \
-F 'sourceFile=/Users/quyue/www/elysia-tools/public/samples/ppt/business.pptx' \
-F 'slidesPerPage=4' \
-F 'pageSize=A4' \
-F 'orientation=portrait' \
-F 'margin=28' \
-F 'gap=10' \
-F 'drawFrame=true'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/libreoffice-ppt-to-pdf-handouts| Name | Type | Required | Description |
|---|---|---|---|
| sourceFile | fileupload required | Yes | — |
| slidesPerPage | select | No | — |
| pageSize | select | No | — |
| orientation | select | No | — |
| margin | number | No | — |
| gap | number | No | — |
| drawFrame | checkbox | No | — |
File result
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-libreoffice-ppt-to-pdf-handouts": {
"name": "libreoffice-ppt-to-pdf-handouts",
"description": "Convert PPT/PPTX to PDF and optionally render handout layout with multiple slides per page",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=libreoffice-ppt-to-pdf-handouts",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "libreoffice-ppt-to-pdf-handouts",
"arguments": {
"sourceFile": "/Users/quyue/www/elysia-tools/public/samples/ppt/business.pptx",
"slidesPerPage": "4",
"pageSize": "A4",
"orientation": "portrait",
"margin": 28,
"gap": 10,
"drawFrame": true
}
}
}Questions or issues? Contact [email protected]