apig__CreateAnApp
Create an application identity in Huawei Cloud API Gateway to authorize API access; provide a name and optional description, key, and secret for the app.
Instructions
[APIG] APP即应用,是一个可以访问API的身份标识。将API授权给APP后,APP即可调用API。
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": {
"name": "<name>"
},
"name": "apig__CreateAnApp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | APP的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64个字符。 | |
| remark | No | APP描述。字符长度不能大于255。 | |
| app_key | No | APP的key。支持英文,数字,“_”,“-”,且只能以英文或数字开头,8 ~ 64个字符。 | |
| app_secret | No | 密钥。支持英文,数字,“_”,“-”,“_”,“!”,“@”,“#”,“$”,“%”且只能以英文或数字开头,8 ~ 64个字符。 |