doctor
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Check that the environment mobium needs is present, and say what is wrong with it. These call app_doctor.
doctor
def doctor() -> dict
Check the environment and return the report.
Needs no device: its whole job is to be runnable when nothing works yet, so it is the first thing to call when something fails for a reason that makes no sense.
Examples
Check the environment
report = device.doctor()
print(report)