download_material
Download course materials from Science Tokyo LMS by specifying course and material IDs, and get the saved file path.
Instructions
講義資料をダウンロードし,保存先パスを返す.
Args: course_id: コースの識別子. material_id: ダウンロードする資料の識別子. dest_dir: 保存先ディレクトリ.省略時は設定値を用いる.
Returns: 保存したファイルの絶対パス (文字列).
Raises: ValueError: 指定した資料が見つからない場合.
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": {
"course_id": "<course_id>",
"material_id": "<material_id>"
},
"name": "download_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_dir | No | ||
| course_id | Yes | ||
| material_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |