opnsense_firmware_upgrade_status
Retrieve the progress and log of a running or last completed firmware upgrade on OPNsense.
Instructions
Get the progress/log of a currently running or last completed firmware upgrade (long-running operation status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/firmware.ts:188-191 (handler)Handler for 'opnsense_firmware_upgrade_status': calls GET /core/firmware/upgradestatus on the OPNsense API and returns the result as formatted JSON.
case "opnsense_firmware_upgrade_status": { const result = await client.get("/core/firmware/upgradestatus"); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } - src/tools/firmware.ts:114-118 (registration)Tool definition (registration) for 'opnsense_firmware_upgrade_status': defines name, description, and empty input schema (no parameters).
name: "opnsense_firmware_upgrade_status", description: "Get the progress/log of a currently running or last completed firmware upgrade (long-running operation status).", inputSchema: { type: "object" as const, properties: {} }, }, - src/index.ts:66-66 (registration)Registration step that maps each firmware tool definition name (including 'opnsense_firmware_upgrade_status') to the handleFirmwareTool handler function.
for (const def of firmwareToolDefinitions) toolHandlers.set(def.name, handleFirmwareTool);