Plan policy changes
plan_policy_changesPreview policy creates, updates, and deletes in a forced dry run without writing changes; prune marks missing policies for deletion. Requires org-wide LIVE API key and never applies the plan.
Instructions
Diff policy creates, updates, and deletes without writing them (POST /v1/policies/apply). dryRun is forced to true and cannot be turned off. Nothing is stored and no audit entry is written. prune only marks missing policies for deletion in the plan. Requires an org-wide LIVE API key; a TEST key or an agent-bound key is refused with 403. This tool does not apply the plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prune | No | When true, the plan marks stored policies whose names are missing from policies for deletion. Nothing is deleted. | |
| policies | Yes | Policies to diff against the stored set. Each item needs name, action, and decision. Nothing is written. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | Always true. The plan is not applied. | |
| changes | Yes | Creates, updates, deletes, and unchanged names. |