AtlaSent — Create Policy
atlasent_create_policyCreate a draft policy bundle with ordered rules to define access control or approval requirements before publishing.
Instructions
Create a new constraint bundle for an action. The bundle starts in 'draft' status — call update_policy to publish it.
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": {
"org_id": "<org_id>",
"policy_id": "<policy_id>",
"title": "<title>",
"policy_type": "<policy_type>",
"rules": "<rules>"
},
"name": "atlasent_create_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Ordered list of rules — first match wins. | |
| title | Yes | Human-readable policy title. | |
| org_id | Yes | Organization ID that will own the policy. | |
| actions | No | Action-specific configuration. | |
| version | No | Semantic version string (e.g. '1.0.0'). | |
| priority | No | Evaluation priority (lower number = higher priority). | |
| policy_id | Yes | Client-assigned unique ID for this policy bundle (e.g. 'production-change'). | |
| applies_to | No | Scope selector controlling which requests this policy applies to. | |
| expires_at | No | ISO-8601 timestamp when the policy expires. | |
| description | No | Optional human-readable description. | |
| policy_type | Yes | Policy type (e.g. 'access_control', 'approval_gate'). | |
| effective_at | No | ISO-8601 timestamp when the policy becomes effective. |