App Restart
app_restartRestart a specified application on an fnOS NAS using its appName to reload or recover it after changes or issues.
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": {
"app_name": "<app_name>"
},
"name": "app_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| app_name | Yes | 应用 appName,取自 app_list 的 appName 字段(如 fn-codeserver),不是 name 显示名 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |