ncloud_validate_policy
Validate a user-defined policy definition against the Ncloud API before creation, returning INFO/WARNING/ERROR details to indicate whether it would be rejected. No policy is created.
Instructions
Validate a user-created policy definition on the SERVER before creating it. Unlike a dryRun preview, this actually calls the Ncloud validation API and returns success plus INFO/WARNING/ERROR details (an ERROR entry means the definition would be rejected). No policy is created.
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": {
"policyName": "<policyName>",
"permissions": "<permissions>"
},
"name": "ncloud_validate_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policyName | Yes | Policy name to validate (3-30 chars: Korean/Japanese/English letters, digits, '.', '_', '-'; must start with a letter) | |
| description | No | Description of the policy (0-300 bytes) | |
| permissions | Yes | Permission statements to validate |