pmg_when_object_add
Add a timeframe object (start/end times) to a PMG RuleDB 'when' object group. Supports dry-run planning before execution.
Instructions
MUTATION (LOW): add a timeframe object to a PMG RuleDB 'when' object group. Dry-run by default.
To create the group first use pmg_when_group_create; list its objects with pmg_when_group_objects. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Timeframe end time in H:i format (e.g. '17:00'). | |
| start | Yes | Timeframe start time in H:i format (e.g. '08:00'). | |
| ogroup | Yes | Numeric 'when' object group ID (e.g. '4') from pmg_when_groups_list. | |
| confirm | No | False (default) returns a dry-run PLAN; True executes the mutation. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |