Preview a Batch of UniFi Changes
unifi_preview_batchPreview up to 25 routine UniFi changes for a single approval code, returning each plan and rollback while refusing disruptive, destructive, or multi-change targets.
Instructions
Plans up to 25 routine changes, such as client renames, notes, or DNS record edits, for one approval code. Each change takes the same operation, params, and changes as unifi_preview_change and is planned exactly as it would be alone. Refuses disruptive or destructive changes and more than one change per target; preview those singly. Returns every plan and its rollback; the owner gets one code through sudo … pending.
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": {
"changes": "<changes>"
},
"name": "unifi_preview_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch | Yes | ||
| count | Yes | ||
| items | Yes | ||
| approval | Yes | ||
| changeId | Yes | ||
| rollback | Yes | ||
| approvalExpiresInSeconds | Yes |