Education
Genera citas APA 7, MLA 9, Chicago, IEEE, BibTeX y RIS a partir de DOI, ISBN, URL o metadatos manuales.
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'https://api.elysiatools.com/es/api/tools/citation-generator' \
-H 'Content-Type: application/json' \
-d '{"lookup":"10.1038/nature12373 or 9780262533058","sourceType":"journal","title":"A Study on Renewable Energy Adoption","authors":"Smith, John\nDoe, Jane","year":"2024","journal":"Journal of Energy Policy","volume":"42","issue":"3","pages":"123-145","doi":"10.1234/example.2024.042","url":"https://..."}'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/citation-generator| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| lookup | text | No | — |
| sourceType | select | No | — |
| title | text | No | — |
| authors | textarea | No | — |
| year | text | No | — |
| journal |
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-citation-generator": {
"name": "citation-generator",
"description": "Genera citas APA 7, MLA 9, Chicago, IEEE, BibTeX y RIS a partir de DOI, ISBN, URL o metadatos manuales.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=citation-generator",
"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": "citation-generator",
"arguments": {
"lookup": "10.1038/nature12373 or 9780262533058",
"sourceType": "journal",
"title": "A Study on Renewable Energy Adoption",
"authors": "Smith, John\nDoe, Jane",
"year": "2024",
"journal": "Journal of Energy Policy",
"volume": "42",
"issue": "3",
"pages": "123-145",
"doi": "10.1234/example.2024.042",
"url": "https://..."
}
}
}| text |
| No |
| — |
| volume | text | No | — |
| issue | text | No | — |
| pages | text | No | — |
| doi | text | No | — |
| url | text | No | — |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}¿Dudas o problemas? Contacta con [email protected]