workspace__UploadApp
Adds an application to Huawei Cloud Workspace by registering its metadata, storage location, installation type, commands, and user authorization settings.
Instructions
[WORKSPACE] 添加应用应用。
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_file_store": "<app_file_store>",
"authorization_type": "<authorization_type>",
"catalog_id": "<catalog_id>",
"description": "<description>",
"install_type": "<install_type>",
"name": "<name>",
"project_id": "<project_id>",
"support_os": "<support_os>",
"version": "<version>"
},
"name": "workspace__UploadApp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 应用名称,名称需满足如下规则: | |
| version | Yes | 版本号。 | |
| catalog_id | Yes | 分类ID。 | |
| project_id | Yes | 项目ID。 | |
| support_os | Yes | 系统类型: | |
| description | Yes | 描述。 | |
| app_icon_url | No | 图片的路径,支持使用可访问的URL地址或DataURIscheme。 | |
| install_info | No | 安装信息。 | |
| install_type | Yes | 安装方式: | |
| app_file_store | Yes | 应用存储信息。 | |
| install_command | No | 安装命令(静默安装命令)。 | |
| uninstall_command | No | 卸载命令(静默卸载命令)。 | |
| authorization_type | Yes | * `ALL_USER` - 全部用户 |