Document Tools
Genera checklist PDF con casillas simuladas
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'https://api.elysiatools.com/es/api/tools/pdf-checklist-form' \
-H 'Content-Type: application/json' \
-d '{"title":"Site Inspection Checklist","subtitle":"Week 6 Review","checklistItems":"[x] Check safety signs\n[ ] Verify extinguisher\n[ ] Confirm exits\n[ ] Archive report","checkedIndexes":"2","columns":"1","showIndex":true,"showFooter":true,"pageSize":"A4","landscape":false,"printBackground":true,"waitUntil":"networkidle0","waitTime":0}'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/pdf-checklist-form| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| title | text | Sí | — |
| subtitle | text | No | — |
| checklistItems | textarea | No | — |
| checkedIndexes | text | No | — |
| columns | select | No | — |
| showIndex |
Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-pdf-checklist-form": {
"name": "pdf-checklist-form",
"description": "Genera checklist PDF con casillas simuladas",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pdf-checklist-form",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "pdf-checklist-form",
"arguments": {
"title": "Site Inspection Checklist",
"subtitle": "Week 6 Review",
"checklistItems": "[x] Check safety signs\n[ ] Verify extinguisher\n[ ] Confirm exits\n[ ] Archive report",
"checkedIndexes": "2",
"columns": "1",
"showIndex": true,
"showFooter": true,
"pageSize": "A4",
"landscape": false,
"printBackground": true,
"waitUntil": "networkidle0",
"waitTime": 0
}
}
}| checkbox |
| No |
| — |
| showFooter | checkbox | No | — |
| pageSize | select | No | — |
| landscape | checkbox | No | — |
| printBackground | checkbox | No | — |
| waitUntil | select | No | — |
| waitTime | number | No | — |
Resultado de archivo
{
"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)"
}¿Dudas o problemas? Contacta con [email protected]