Skip to main content
Glama
appleton
by appleton

robovac_set_work_mode

Control your Eufy RoboVac's cleaning behavior by selecting from modes like AUTO, SPOT, or EDGE for targeted vacuuming tasks.

Instructions

Set the cleaning mode of the robovac

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesThe work mode to set

Implementation Reference

  • src/server.ts:120-133 (registration)
    Tool registration in the listTools response, including name, description, and input schema defining the 'mode' parameter with allowed enum values.
    name: "robovac_set_work_mode", description: "Set the cleaning mode of the robovac", inputSchema: { type: "object", properties: { mode: { type: "string", description: "The work mode to set", enum: ["AUTO", "SMALL_ROOM", "SPOT", "EDGE", "NO_SWEEP"], }, }, required: ["mode"], }, },
  • The handler logic in the CallToolRequest switch statement: ensures RoboVac is initialized, calls setWorkMode on the instance with the provided mode, and returns a success message.
    case "robovac_set_work_mode": this.ensureRoboVacInitialized(); await this.robovac!.setWorkMode(args?.mode as WorkMode); return { content: [ { type: "text", text: `Work mode set to: ${args?.mode}`, }, ], };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/appleton/sam'

If you have feedback or need assistance with the MCP directory API, please join our Discord server