Skip to main content
Glama

get_screen_rotation

Retrieve the current screen orientation of an Android device for automation testing and UI interaction workflows, returning rotation values in JSON format.

Instructions

Get the screen rotation
Returns:
    str: Screen rotation as JSON (0=portrait, 1=landscape-90, 2=inverted, 3=landscape-270)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yz0903/autobot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server