get_device_list
Retrieve a list of robot vacuum nicknames connected to the Ecovacs MCP Server, enabling AI assistants to manage and interact with devices using the MCP protocol.
Instructions
Query robot list
Returns: Dict: Dictionary containing list of robot nicknames
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- ecovacs_mcp/robot_mcp_stdio.py:106-114 (handler)The handler function for the 'get_device_list' tool. It is registered via the @mcp.tool() decorator and fetches the device list from the Ecovacs API using the call_api helper.@mcp.tool() async def get_device_list() -> dict: """ Query robot list Returns: Dict: Dictionary containing list of robot nicknames """ return await call_api(ENDPOINT_ROBOT_DEVICE_LIST, {}, method='get')