idt__Createauthorization
Create authorization records for data entities and instances by defining the principal and permitted operation codes in Huawei Cloud IDT.
Instructions
[IDT] 根据对象入参创建数据实体授权记录
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": {
"appName": "<appName>",
"entityId": "<entityId>",
"instanceId": "<instanceId>",
"operationCodes": "<operationCodes>",
"principalId": "<principalId>",
"principalType": "<principalType>"
},
"name": "idt__Createauthorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appName | Yes | appName | |
| entityId | Yes | 数据实体ID | |
| instanceId | Yes | 数据实例ID | |
| principalId | Yes | 参与者ID | |
| principalType | Yes | 参与者类型 | |
| operationCodes | Yes | 操作类型编码 |