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
Copy file name to clipboardExpand all lines: src/mcp/tools/discovery/discover_tools.ts
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -175,12 +175,9 @@ The user wants to perform the following task: "${sanitizedTaskDescription}"
175
175
IMPORTANT: Select EXACTLY ONE workflow that best matches the user's task. In most cases, users are working with a project or workspace. Use this selection guide:
176
176
177
177
Primary (project/workspace-based) workflows:
178
-
- iOS simulator with .xcworkspace: choose "simulator-workspace"
179
-
- iOS simulator with .xcodeproj: choose "simulator-project"
180
-
- iOS physical device with .xcworkspace: choose "device-workspace"
181
-
- iOS physical device with .xcodeproj: choose "device-project"
182
-
- macOS with .xcworkspace: choose "macos-workspace"
183
-
- macOS with .xcodeproj: choose "macos-project"
178
+
- iOS simulator (supports both .xcworkspace and .xcodeproj): choose "simulator"
179
+
- iOS physical device (supports both .xcworkspace and .xcodeproj): choose "device"
180
+
- macOS (supports both .xcworkspace and .xcodeproj): choose "macos"
184
181
- Swift Package Manager (no Xcode project): choose "swift-package"
185
182
186
183
Secondary (task-based, no project/workspace needed):
@@ -189,11 +186,13 @@ Secondary (task-based, no project/workspace needed):
189
186
- UI automation/gestures/screenshots on a simulator app: choose "ui-testing"
190
187
- System/environment diagnostics or validation: choose "doctor"
191
188
- Create new iOS/macOS projects from templates: choose "project-scaffolding"
189
+
- Project discovery and analysis: choose "project-discovery"
190
+
- General utilities: choose "utilities"
192
191
193
192
All available workflows:
194
193
${workflowDescriptions}
195
194
196
-
Respond with ONLY a JSON array containing ONE workflow name that best matches the task (e.g., ["simulator-workspace"]).`;
195
+
Respond with ONLY a JSON array containing ONE workflow name that best matches the task (e.g., ["simulator"]).`;
197
196
198
197
// 4. Send sampling request with configurable parameters
0 commit comments