leer_archivo
Downloads a Moodle file from a pluginfile URL and extracts text from PDF, Word, PowerPoint, HTML, or plain text; returns images and saves unsupported formats to disk.
Instructions
Descarga un archivo de Moodle (URL de pluginfile que aparece en ver_tarea, ver_curso o ver_discusion). Extrae el texto de PDF, Word (.docx), PowerPoint (.pptx), páginas HTML y texto; devuelve imágenes; otros formatos se guardan en disco.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "leer_archivo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | fileurl del archivo en Moodle |