robovac_get_work_status
Retrieve the current work status of your Eufy RoboVac, with an optional parameter to force a refresh of cached data for real-time accuracy.
Instructions
Get the current work status of the robovac
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force refresh of cached data |
Implementation Reference
- src/server.ts:745-757 (handler)The handler logic for the 'robovac_get_work_status' tool. It ensures the RoboVac instance is initialized, calls getWorkStatus on the library instance with optional force refresh, and returns the status as a text response.case "robovac_get_work_status": this.ensureRoboVacInitialized(); const workStatus = await this.robovac!.getWorkStatus( args?.force as boolean ); return { content: [ { type: "text", text: `Work Status: ${workStatus}`, }, ], };
- src/server.ts:221-234 (registration)Registration of the 'robovac_get_work_status' tool in the MCP server's listTools response, defining its name, description, and input schema (optional 'force' boolean parameter).{ name: "robovac_get_work_status", description: "Get the current work status of the robovac", inputSchema: { type: "object", properties: { force: { type: "boolean", description: "Force refresh of cached data", default: false, }, }, }, },
- src/server.ts:224-233 (schema)Input schema definition for the 'robovac_get_work_status' tool, specifying an optional 'force' boolean to refresh cached data.inputSchema: { type: "object", properties: { force: { type: "boolean", description: "Force refresh of cached data", default: false, }, }, },