share_download_material
Downloads a shared material file to a local directory and returns its path, size, and SHA-256 hash. Duplicate filenames are auto-renamed unless overwrite is enabled; redemption is not automatic.
Instructions
流式下载到本地并返回路径、大小、SHA-256;不会自动兑换。默认同名文件自动改名。
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": {
"material_id": "<material_id>"
},
"name": "share_download_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| overwrite | No | ||
| output_dir | No | ||
| material_id | Yes | 平台对象 ID,正整数 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||