pmg_apt_update_refresh
Resynchronize the APT package index on a Proxmox Mail Gateway node to refresh available package information without installing updates. Idempotent dry-run by default; use confirm to execute.
Instructions
MUTATION: resynchronize the APT package index on a PMG node (apt-get update).
RISK_LOW: no package state change — refreshes the local index cache only. Proxmox's API deliberately does not expose upgrade execution; the upgrade itself happens at your console. This tool governs visibility only — it does NOT install or upgrade any package. Idempotent — safe to re-run any time. Dry-run by default (returns a PLAN); confirm=True executes (POST, Smoke-confirm) and returns {"status": "submitted"|"ok", "result": <task id | None>}. Needs PROXIMO_PMG_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | PMG node name; defaults to the configured node if omitted. | |
| quiet | No | If True, ask PMG to omit progress output suitable only for interactive logging. | |
| notify | No | If True, ask PMG to send a notification email about newly available packages. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the index refresh. | |
| 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 |