You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For better readability when descriptions are long, use template literals with proper indentation:
354
+
355
+
**Bad (hard to read):**
356
+
```typescript
357
+
description: 'REQUIRED: First ASK THE USER which mobile platform they want to use (Android or iOS) before creating a session. DO NOT assume or default to any platform. You MUST explicitly prompt the user to choose between Android or iOS. This is mandatory before proceeding to use the create_session tool.',
358
+
```
359
+
360
+
**Good (readable):**
361
+
```typescript
362
+
description: `REQUIRED: First ASK THE USER which mobile platform they want to use (Android or iOS) before creating a session.
363
+
DO NOT assume or default to any platform.
364
+
You MUST explicitly prompt the user to choose between Android or iOS.
365
+
This is mandatory before proceeding to use the create_session tool.
366
+
`,
367
+
```
368
+
369
+
### Parameter Descriptions
370
+
371
+
For long parameter descriptions, also use template literals:
372
+
373
+
```typescript
374
+
parameters: z.object({
375
+
platform: z
376
+
.enum(['ios', 'android'])
377
+
.describe(
378
+
`REQUIRED: Must match the platform the user explicitly selected via the select_platform tool.
379
+
DO NOT default to Android or iOS without asking the user first.`
description: `Query Appium documentation using RAG (Retrieval-Augmented Generation). This tool searches through indexed Appium documentation to answer questions about Appium features, setup, configuration, drivers, and usage.`,
13
+
description: `Query Appium documentation using RAG (Retrieval-Augmented Generation).
14
+
This tool searches through indexed Appium documentation to answer questions about Appium features, setup, configuration, drivers, and usage.
'Create a new mobile session with Android or iOS device (MUST use select_platform tool first to ask the user which platform they want - DO NOT assume or default to any platform)',
39
+
description: `Create a new mobile session with Android or iOS device.
40
+
MUST use select_platform tool first to ask the user which platform they want.
41
+
DO NOT assume or default to any platform.
42
+
`,
41
43
parameters: z.object({
42
44
platform: z
43
45
.enum(['ios','android'])
44
46
.describe(
45
-
'REQUIRED: Must match the platform the user explicitly selected via the select_platform tool. DO NOT default to Android or iOS without asking the user first.'
47
+
`REQUIRED: Must match the platform the user explicitly selected via the select_platform tool.
48
+
DO NOT default to Android or iOS without asking the user first.`
'Install and launch the WebDriverAgent (WDA) app on a booted iOS simulator using the app path from setup_wda. This tool requires WDA to be already set up using setup_wda and at least one simulator to be booted.',
161
+
description: `Install and launch the WebDriverAgent (WDA) app on a booted iOS simulator using the app path from setup_wda.
162
+
This tool requires WDA to be already set up using setup_wda and at least one simulator to be booted.
0 commit comments