get_device_status
Retrieve the current power state and device information of a WeMo smart device by name or IP address after network discovery.
Instructions
Get the current status of a WeMo device.
Retrieves the current state and information for a device by name or IP address. The device must have been discovered via scan_network first.
Args:
device_identifier: Device name (e.g., "Office Light") or IP address (e.g., "192.168.1.100")Returns:
Dictionary containing:
- device_name: Name of the device
- state: Current state ("on" or "off")
- Additional device informationTool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_identifier": "<device_identifier>"
},
"name": "get_device_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_identifier | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||