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
feat: add visibility hints to boot and launch simulator tools
- Updated boot_sim description to mention using open_sim() after booting
- Updated launch_app_sim and launch_app_sim_name descriptions to hint about open_sim()
- Modified success messages in boot_sim and launch_app_sim to prominently suggest open_sim()
- Kept hints concise to preserve context while ensuring agents remember to make simulator visible
3. Launch an app: launch_app_sim({ simulatorUuid: "${params.simulatorUuid}", bundleId: "YOUR_APP_BUNDLE_ID" })`,
52
47
},
53
48
],
54
49
};
@@ -69,7 +64,7 @@ export async function boot_simLogic(
69
64
exportdefault{
70
65
name: 'boot_sim',
71
66
description:
72
-
"Boots an iOS simulator. IMPORTANT: You MUST provide the simulatorUuid parameter. Example: boot_sim({ simulatorUuid: 'YOUR_UUID_HERE' })",
67
+
"Boots an iOS simulator. After booting, use open_sim() to make the simulator visible. IMPORTANT: You MUST provide the simulatorUuid parameter. Example: boot_sim({ simulatorUuid: 'YOUR_UUID_HERE' })",
3. When done, use: stop_sim_log_cap({ logSessionId: 'SESSION_ID' })`,
177
170
},
178
171
],
179
172
};
@@ -194,7 +187,7 @@ export async function launch_app_simLogic(
194
187
exportdefault{
195
188
name: 'launch_app_sim',
196
189
description:
197
-
"Launches an app in an iOS simulator. IMPORTANT: You MUST provide both the simulatorUuid and bundleId parameters.\n\nNote: You must install the app in the simulator before launching. The typical workflow is: build → install → launch. Example: launch_app_sim({ simulatorUuid: 'YOUR_UUID_HERE', bundleId: 'com.example.MyApp' })",
190
+
"Launches an app in an iOS simulator. If simulator window isn't visible, use open_sim() first. IMPORTANT: You MUST provide both the simulatorUuid and bundleId parameters.\n\nNote: You must install the app in the simulator before launching. The typical workflow is: build → install → launch. Example: launch_app_sim({ simulatorUuid: 'YOUR_UUID_HERE', bundleId: 'com.example.MyApp' })",
Copy file name to clipboardExpand all lines: src/mcp/tools/simulator/launch_app_sim_name.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ type LaunchAppSimNameParams = z.infer<typeof launchAppSimNameSchema>;
18
18
exportdefault{
19
19
name: 'launch_app_sim_name',
20
20
description:
21
-
"Launches an app in an iOS simulator by simulator name. IMPORTANT: You MUST provide both the simulatorName and bundleId parameters.\n\nNote: You must install the app in the simulator before launching. The typical workflow is: build → install → launch. Example: launch_app_sim_name({ simulatorName: 'iPhone 16', bundleId: 'com.example.MyApp' })",
21
+
"Launches an app in an iOS simulator by simulator name. If simulator window isn't visible, use open_sim() first. IMPORTANT: You MUST provide both the simulatorName and bundleId parameters.\n\nNote: You must install the app in the simulator before launching. The typical workflow is: build → install → launch. Example: launch_app_sim_name({ simulatorName: 'iPhone 16', bundleId: 'com.example.MyApp' })",
0 commit comments