msgsms__CreateApp
Creates a Huawei Cloud MSGSMS application and returns its app credentials, with options for callback URLs, enterprise projects, and test signature/template setup.
Instructions
[MSGSMS] 该接口用于用户创建应用信息。
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>",
"project_id": "<project_id>",
"region": "<region>"
},
"name": "msgsms__CreateApp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | 地域 | |
| app_name | Yes | 应用名称 | |
| project_id | Yes | 项目ID。获取方法请参见 [获取帐号、用户、项目的名称和ID](https://support.huaweicloud.com/api-msgsms/sms_05_0020.html)。 | |
| show_secret | No | 是否在返回体中显示app_secret字段 | |
| up_link_addr | No | 上行回调地址。只有地域为国内时, | |
| enterprise_project_id | No | 企业项目ID,默认为0 | |
| enterprise_project_name | No | 企业项目名称,默认为default | |
| create_sign_and_template | No | 是否创建测试签名和模板。只有地域为国内时,该字段有效 true:是 false:否 |