workspaceapp__CreatePolicyTemplate
Create a WorkspaceApp policy template to define reusable policy configurations, enabling policy groups to be built by adjusting the template as needed.
Instructions
[WORKSPACEAPP] 新增策略模板。策略模板创建好后,用户在创建策略组的时候,就可以根据已有策略模板按需调整配置,快速完成策略组的创建。
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": {
"policy_group": "<policy_group>",
"project_id": "<project_id>"
},
"name": "workspaceapp__CreatePolicyTemplate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID。 | |
| policy_group | Yes | 策略模板。 |