App Task Action
app_task_actionCancel fnOS NAS app tasks by type—download, install, update, or task—using a task ID through fnos-mcp.
Instructions
按类型取消应用任务(写操作,聚合入口)。
action 对应 CLI 子命令:task-cancel / install-cancel / update-cancel / app download cancel。
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>",
"action": "<action>"
},
"name": "app_task_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| action | Yes | ||
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| task_id | Yes | 任务 ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |