list_devices()- List all devices with status/IPs/typestest_device(device_id)- Test connectivity (ping/SSH)ssh_to_device(device_id, command, username?)- Execute SSH command
vpn_status()- Get WireGuard connection statusconnect_vpn()- Connect to VPNdisconnect_vpn()- Disconnect from VPN
start_power_monitoring(device_id?, test_name?, duration?, monitor_type?)- Start monitoring session- Supports both DMM (Digital Multimeter) and Tasmota devices
monitor_type: "dmm" (default) or "tasmota" (auto-detected from device type)- DMM: Direct power measurement via SCPI commands
- Tasmota: Power monitoring via Tasmota energy monitoring (requires energy monitoring enabled)
get_power_logs(test_name?, limit=10)- Get recent logstasmota_control(device_id, "energy")- Get current power consumption from Tasmota device
tasmota_control(device_id, action)- Control device (on|off|toggle|status|energy)list_tasmota_devices()- List all Tasmota devices and devices they controlpower_cycle_device(device_id, off_duration=5)- Power cycle device via mapped Tasmota switch (turns off, waits, turns on)
check_ota_status(device_id)- Check Foundries.io OTA update statustrigger_ota_update(device_id, target?)- Trigger OTA updatelist_containers(device_id)- List Docker containers (supports Foundries and local devices, VPN server fallback)get_container_logs(device_id, container_name, tail=100, follow=false, timestamps=false)- Get container logs for debuggingrestart_container(device_id, container_name)- Restart a container (useful for applying config changes)start_container(device_id, container_name)- Start a stopped containerstop_container(device_id, container_name)- Stop a running containerexec_container(device_id, container_name, command)- Execute command inside a running container (docker exec)inspect_container(device_id, container_name)- Inspect container (get detailed info: config, state, network)get_container_stats(device_id, container_name)- Get container resource usage (CPU, memory, network)deploy_container(device_id, container_name, image)- Deploy/update containerget_system_status(device_id)- Get system status (uptime, load, memory, disk, kernel)get_firmware_version(device_id)- Get firmware/OS version from /etc/os-releaseget_foundries_registration_status(device_id)- Check Foundries.io registration, connection, update statusget_secure_boot_status(device_id)- Get detailed secure boot status (U-Boot, kernel, EFI, HAB/CAAM)get_device_identity(device_id)- Get device identity: hostname, SOC unique ID, Foundries registration name
batch_operation(device_ids[], operation, max_concurrent=5, ...)- Execute operation on multiple devices in parallelregression_test(device_group?|device_ids[], test_sequence?, max_concurrent=5)- Run regression test sequence in parallelget_device_groups()- Get devices organized by groups/tags
analyze_power_logs(test_name?, device_id?, threshold_mw?)- Analyze for low power/suspend detectionmonitor_low_power(device_id, duration?, threshold_mw?, sample_rate?)- Monitor low power consumptioncompare_power_profiles(test_names[], device_id?)- Compare power across test runs
kill_stale_processes(device_id, process_pattern, force?)- Kill stale/duplicate processes that might interfere
create_ssh_tunnel(device_id, local_port?, remote_port=22, tunnel_type=local)- Create SSH tunnel through VPNlist_ssh_tunnels()- List active SSH tunnelsclose_ssh_tunnel(local_port?|device_id)- Close an SSH tunnelaccess_serial_port(remote_laptop_id, serial_device=/dev/ttyACM0, baud_rate=115200)- Access serial port on remote laptoplist_serial_devices(remote_laptop_id)- List available serial devices on remote laptop
get_change_history(device_id, include_reverted?)- Get change history for security/debuggingrevert_changes(device_id, change_id?, force?)- Revert changes made to device
create_network_map(networks?, scan_networks?, test_configured_devices?, max_hosts_per_network?)- Create visual map showing device type, uptime, friendly names, power switchesverify_device_identity(device_id, ip?)- Verify device identity by hostname/unique ID (for DHCP)verify_device_by_ip(ip, username?, ssh_port?)- Identify device at IP by checking hostname/unique IDupdate_device_ip(device_id, new_ip)- Verify and update device IP if changed (DHCP)
help(topic?)- Get help documentation (topic:all|tools|resources|workflows|troubleshooting|examples)
device://inventory- Device inventory JSONnetwork://status- Network/VPN statusconfig://lab_devices- Raw config filehelp://usage- Complete help documentationhealth://status- Server health, metrics, SSH pool status, uptime