robovac_get_play_pause
Retrieve the current play or pause state of your Eufy RoboVac to monitor its cleaning status. Optionally force a refresh to ensure up-to-date information.
Instructions
Get the current play/pause state of the robovac
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force refresh of cached data |
Implementation Reference
- src/server.ts:759-771 (handler)Handler implementation for the robovac_get_play_pause MCP tool. Ensures RoboVac initialization and retrieves the play/pause state using the underlying robovac library.case "robovac_get_play_pause": this.ensureRoboVacInitialized(); const playPause = await this.robovac!.getPlayPause( args?.force as boolean ); return { content: [ { type: "text", text: `Play/Pause State: ${playPause}`, }, ], };
- src/server.ts:235-248 (registration)Tool registration in the MCP server's tools list, defining name, description, and input schema for parameter validation.{ name: "robovac_get_play_pause", description: "Get the current play/pause state of the robovac", inputSchema: { type: "object", properties: { force: { type: "boolean", description: "Force refresh of cached data", default: false, }, }, }, },
- src/server.ts:238-247 (schema)Input schema definition for the robovac_get_play_pause tool, specifying the optional 'force' boolean parameter.inputSchema: { type: "object", properties: { force: { type: "boolean", description: "Force refresh of cached data", default: false, }, }, },