@nbakka/mcp-appium 2.0.19 → 2.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/server.js +1 -1
- package/package.json +1 -1
package/lib/server.js
CHANGED
|
@@ -202,7 +202,7 @@ await new Promise(resolve => setTimeout(resolve, 5000));
|
|
|
202
202
|
return `Opened URL: ${url}`;
|
|
203
203
|
});
|
|
204
204
|
tool("swipe_on_screen", "Swipe on the screen", {
|
|
205
|
-
direction: zod_1.z.enum(["up", "down"]).describe("The direction to swipe"),
|
|
205
|
+
direction: zod_1.z.enum(["up", "down"]).describe("The direction to swipe, up direction means it will from bottom part of the screen to top part of screen, essentially moving the screen content up and opposite happens for down"),
|
|
206
206
|
}, async ({ direction }) => {
|
|
207
207
|
requireRobot();
|
|
208
208
|
await robot.swipe(direction);
|