Download Add Uri
download_add_uriCreate a new fnOS NAS download task by providing a source URI (HTTP, FTP, or magnet) and target save directory.
Instructions
新建下载任务(写操作)。
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": {
"uri": "<uri>",
"save_dir": "<save_dir>"
},
"name": "download_add_uri"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | 下载地址(http/ftp/magnet 等) | |
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| save_dir | Yes | 保存目录,如 /vol1/1000/downloads |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |