Download Result
download_resultDownload result files for an OpenAaaS task and return each file’s full path, with options to select a file ID or download all results.
Instructions
下载任务结果文件并返回每个文件的完整路径
file_id: 指定要下载的文件 ID,不指定则默认下载第一个 zip 文件或第一个文件
download_all: 是否下载该任务的所有结果文件
返回结果中会明确列出每个文件的完整路径,读取文件时请直接使用这些路径,不要推测子目录。
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": {
"task_id": "<task_id>"
},
"name": "download_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | ||
| file_id | No | ||
| task_id | Yes | ||
| download_all | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |