Baixar arquivo da turma
download_fileDownloads a SIGAA course file by fileId and turma handle, saves it locally, and returns its path, filename, content type, and size.
Instructions
Download a file published in a turma (a lesson-topic material or an Arquivos entry) by its fileId. Saves it locally and returns the path, filename, content type and size. fileIds come from get_turma (topics[].materials[].fileId or files[].fileId).
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": {
"frontEndIdTurma": "<frontEndIdTurma>",
"fileId": "<fileId>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The file id from get_turma | |
| frontEndIdTurma | Yes | The turma handle from get_portal |