List Course Files
virtuale_list_course_filesRetrieve a list of downloadable files for a Virtuale course, organized by section. Use the course ID to access resources.
Instructions
Lists the downloadable files/resources of a Virtuale course, grouped by section (cmid, name, modname, url), derived from core_courseformat_get_state. A slim, token-friendly view of the course contents (not the full state blob); pass a cmid to virtuale_get_resource to fetch a file's content. Read-only.
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": {
"courseid": "<courseid>"
},
"name": "virtuale_list_course_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseid | Yes | ||
| session_id | No |