robovac_get_all_statuses
Retrieve comprehensive status details from Eufy RoboVac in one operation, including cleaning mode, battery level, and schedule. Optionally force a refresh of cached data.
Instructions
Get all status information from the robovac at once
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force refresh of cached data |
Implementation Reference
- src/server.ts:785-801 (handler)The handler function for the 'robovac_get_all_statuses' tool. It ensures the RoboVac is initialized, fetches all statuses using the library's getStatuses method (with optional force refresh), and returns a JSON-formatted string of the statuses.case "robovac_get_all_statuses": this.ensureRoboVacInitialized(); const allStatuses = await this.robovac!.getStatuses( args?.force as boolean ); return { content: [ { type: "text", text: `All RoboVac Statuses:\n${JSON.stringify( allStatuses, null, 2 )}`, }, ], };
- src/server.ts:258-271 (registration)The tool registration in the ListTools handler, including name, description, and input schema for optional 'force' boolean parameter.{ name: "robovac_get_all_statuses", description: "Get all status information from the robovac at once", inputSchema: { type: "object", properties: { force: { type: "boolean", description: "Force refresh of cached data", default: false, }, }, }, },
- src/server.ts:261-270 (schema)The input schema definition for the 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, }, }, },