Document Tools
Batch-generate certificate PDFs from CSV rows (name/date/course fields)
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/pdf-certificates-batch' \
-H 'Content-Type: application/json' \
-d '{"csvContent":"name,date,course,score\nAlice Zhang,2026-02-01,TS Bootcamp,98\nBob Chen,2026-02-01,TS Bootcamp,95","certificateTitle":"Certificate of Achievement","organizationName":"Elysia Academy","awardText":"This certifies that","signatoryName":"Program Director","signatureLabel":"Authorized Signature","datePrefix":"Date:","nameField":"name","dateField":"date","courseField":"course","scoreField":"score","themeColor":"#1d4ed8","pageSize":"A4","landscape":false,"waitUntil":"networkidle0","waitTime":0}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/pdf-certificates-batch| Name | Type | Required | Description |
|---|---|---|---|
| csvContent | textarea | Yes | — |
| certificateTitle | text | No | — |
| organizationName | text | No | — |
| awardText | text | No | — |
| signatoryName | text | No | — |
| signatureLabel | text | No | — |
| datePrefix | text | No | — |
| nameField | text | No | — |
| dateField | text | No | — |
| courseField | text | No | — |
| scoreField | text | No | — |
| themeColor | color | No | — |
| pageSize | select | No | — |
| landscape | checkbox | No | — |
| waitUntil | select | No | — |
| waitTime | number | 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-pdf-certificates-batch": {
"name": "pdf-certificates-batch",
"description": "Batch-generate certificate PDFs from CSV rows (name/date/course fields)",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pdf-certificates-batch",
"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": "pdf-certificates-batch",
"arguments": {
"csvContent": "name,date,course,score\nAlice Zhang,2026-02-01,TS Bootcamp,98\nBob Chen,2026-02-01,TS Bootcamp,95",
"certificateTitle": "Certificate of Achievement",
"organizationName": "Elysia Academy",
"awardText": "This certifies that",
"signatoryName": "Program Director",
"signatureLabel": "Authorized Signature",
"datePrefix": "Date:",
"nameField": "name",
"dateField": "date",
"courseField": "course",
"scoreField": "score",
"themeColor": "#1d4ed8",
"pageSize": "A4",
"landscape": false,
"waitUntil": "networkidle0",
"waitTime": 0
}
}
}Questions or issues? Contact [email protected]