POST /ui/inspector
Schedule opening or closing the device inspector.
This is a device HTTP route. Set DEVICE_URL to your reachable device URL; connection and examples explain how. Do not append this path to the public MCP URL.
Parameters
| Parameter | Type | Meaning |
|---|---|---|
action | JSON string | open or close. |
Response
JSON {scheduled:action}.
Example
sh
curl --fail-with-body "$DEVICE_URL/ui/inspector" \
-H 'Content-Type: application/json' \
-d '{"action":"close"}'Notes
Scheduling is not proof the overlay has already changed. Close it before external UI mutations or observation screenshots.
Check the HTTP status and any JSON error. HTTP workflows and error handling explain shared limits. All endpoints.