Skip to main content
Glama

XcodeBuildMCP

gesture

Execute preset gestures like scroll, swipe, or edge swipes on iOS simulators for testing and automation. Configure screen dimensions, duration, and delays for precise control.

Instructions

Perform gesture on iOS simulator using preset gestures: scroll-up, scroll-down, scroll-left, scroll-right, swipe-from-left-edge, swipe-from-right-edge, swipe-from-top-edge, swipe-from-bottom-edge

Input Schema

NameRequiredDescriptionDefault
deltaNoOptional: Distance to move in pixels.
durationNoOptional: Duration of the gesture in seconds.
postDelayNoOptional: Delay after completing the gesture in seconds.
preDelayNoOptional: Delay before starting the gesture in seconds.
presetYesThe gesture preset to perform. Must be one of: scroll-up, scroll-down, scroll-left, scroll-right, swipe-from-left-edge, swipe-from-right-edge, swipe-from-top-edge, swipe-from-bottom-edge.
screenHeightNoOptional: Screen height in pixels. Used for gesture calculations. Auto-detected if not provided.
screenWidthNoOptional: Screen width in pixels. Used for gesture calculations. Auto-detected if not provided.
simulatorUuidYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "delta": { "description": "Optional: Distance to move in pixels.", "minimum": 0, "type": "number" }, "duration": { "description": "Optional: Duration of the gesture in seconds.", "minimum": 0, "type": "number" }, "postDelay": { "description": "Optional: Delay after completing the gesture in seconds.", "minimum": 0, "type": "number" }, "preDelay": { "description": "Optional: Delay before starting the gesture in seconds.", "minimum": 0, "type": "number" }, "preset": { "description": "The gesture preset to perform. Must be one of: scroll-up, scroll-down, scroll-left, scroll-right, swipe-from-left-edge, swipe-from-right-edge, swipe-from-top-edge, swipe-from-bottom-edge.", "enum": [ "scroll-up", "scroll-down", "scroll-left", "scroll-right", "swipe-from-left-edge", "swipe-from-right-edge", "swipe-from-top-edge", "swipe-from-bottom-edge" ], "type": "string" }, "screenHeight": { "description": "Optional: Screen height in pixels. Used for gesture calculations. Auto-detected if not provided.", "minimum": 1, "type": "integer" }, "screenWidth": { "description": "Optional: Screen width in pixels. Used for gesture calculations. Auto-detected if not provided.", "minimum": 1, "type": "integer" }, "simulatorUuid": { "format": "uuid", "type": "string" } }, "required": [ "simulatorUuid", "preset" ], "type": "object" }
Install Server

Other Tools from XcodeBuildMCP

Related Tools

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/cameroncooke/XcodeBuildMCP'

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