@nbakka/mcp-appium 4.0.2 → 4.0.3
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 +10 -1
- package/package.json +1 -1
package/lib/server.js
CHANGED
|
@@ -171,6 +171,15 @@ tool(
|
|
|
171
171
|
}
|
|
172
172
|
);
|
|
173
173
|
|
|
174
|
+
tool(
|
|
175
|
+
"guidelines_to_write_code",
|
|
176
|
+
"Read production-grade coding guidelines from the bundled mcp-production-grade.json file and use them when writing code. This ensures code follows established patterns and standards.",
|
|
177
|
+
{},
|
|
178
|
+
async () => {
|
|
179
|
+
return "Read production-grade coding guidelines from the bundled mcp-production-grade.json file and use them when writing code. This ensures code follows established patterns and standards.";
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
|
|
174
183
|
tool("mobile_list_elements_on_screen", "List elements on screen in a simplified, flattened structure. Returns only useful attributes: text, class, id (resource-id), accessibilityId (content-desc), and bounds. Do not cache this result.", {}, async ({}) => {
|
|
175
184
|
requireRobot();
|
|
176
185
|
const elements = await robot.getSimplifiedElements();
|
|
@@ -185,7 +194,7 @@ tool(
|
|
|
185
194
|
return `Pressed the button: ${button}`;
|
|
186
195
|
});
|
|
187
196
|
|
|
188
|
-
tool("
|
|
197
|
+
tool("mobile_open_deeplink", "Open a deeplink in app on device", {
|
|
189
198
|
url: zod_1.z.string().describe("The URL to open"),
|
|
190
199
|
}, async ({ url }) => {
|
|
191
200
|
requireRobot();
|