robovac_get_work_status
Check the current cleaning status of your Eufy RoboVac to monitor progress and manage cleaning schedules.
Instructions
Get the current work status of the robovac
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "robovac_get_work_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force refresh of cached data |
Implementation Reference
- src/server.ts:745-757 (handler)The core handler for the 'robovac_get_work_status' tool. Ensures the RoboVac instance is initialized, calls getWorkStatus on the device library with optional force refresh, and formats the result 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)Registers the tool in the MCP server's listTools handler by defining its name, description, and input schema in the tools array.
{ 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)Defines the input schema for the tool, specifying an optional 'force' parameter of type boolean to control data caching.
inputSchema: { type: "object", properties: { force: { type: "boolean", description: "Force refresh of cached data", default: false, }, }, },