@@ -36,13 +36,6 @@ struct McpConfig {
3636 moveFileToolName = " move_file " ,
3737 moveDirToolName = " move_dir "
3838
39- // ScriptingBridge tool names
40- static let openDocToolName = " open_doc " ,
41- createDocToolName = " create_doc " ,
42- readDocToolName = " read_doc " ,
43- saveDocToolName = " save_doc " ,
44- closeDocToolName = " close_doc "
45-
4639 // Tool descriptions
4740 static let listToolsDesc = " Lists all available tools on this server " ,
4841 xcfToolDesc = " Execute an \( AppConstants . appName ) action or command " ,
@@ -64,14 +57,6 @@ struct McpConfig {
6457 moveFileToolDesc = " Move a file from one location to another " ,
6558 moveDirToolDesc = " Move a directory from one location to another "
6659
67- // ScriptingBridge tool descriptions
68- static let openDocToolDesc = " Open a document in Xcode " ,
69- createDocToolDesc = " Create a new document in Xcode " ,
70- readDocToolDesc = " Read document content from Xcode " ,
71- saveDocToolDesc = " Save document in Xcode " ,
72-
73- closeDocToolDesc = " Close a document in Xcode "
74-
7560 // Standalone action tool names
7661 static let showHelpToolName = " show_help " ,
7762 grantPermissionToolName = " grant_permission " ,
@@ -84,20 +69,6 @@ struct McpConfig {
8469 selectProjectToolName = " select_project " ,
8570 analyzeSwiftCodeToolName = " analyze_swift_code "
8671
87- // Diff tool names
88- static let createDiffFromDocToolName = " create_diff_from_doc " ,
89- applyDiffToDocToolName = " apply_diff_to_doc " ,
90- applyUndoDiffToDocToolName = " apply_undo_diff_to_doc " ,
91- createDiff = " create_diff " ,
92- applyDiff = " apply_diff " ,
93- getAsciiDiff = " get_ascii_diff "
94-
95- // Diff tool descriptions
96- static let createDiffFromDocToolDesc = " Create a diff from a document and store it with a hash " ,
97- applyDiffToDocToolDesc = " Apply a diff to a document using a stored diff hash " ,
98- applyUndoDiffToDocToolDesc = " Apply undo diff to a document using a stored diff hash " ,
99- getAsciiDiffToolDesc = " Get ASCII diff representation from a stored diff hash "
100-
10172 // Standalone action tool descriptions
10273 static let showHelpToolDesc = " Display help information about available commands " ,
10374 grantPermissionToolDesc = " Grant Xcode automation permissions " ,
@@ -122,10 +93,6 @@ struct McpConfig {
12293 selectProjectPromptName = " selectProject " ,
12394 analyzeSwiftCodePromptName = " analyzeSwiftCode "
12495
125- // Diff tool parameter names
126- static let diffHashParamName = " diffHash " ,
127- diffHashParamDesc = " SHA256 hash of the diff to apply "
128-
12996 // Standalone action tool parameter names
13097 static let projectNumberParamName = " projectNumber " ,
13198 projectNumberParamDesc = " The number of the project to select " ,
@@ -206,13 +173,9 @@ struct McpConfig {
206173 integerType = " integer " ,
207174 booleanType = " boolean "
208175
209- // DiffTools
210- static let modifiedContentParamName = " modifiedContent " ,
211- modifiedContentParamNameDesc = " modified content to the file "
212-
213176 // Snippet tool parameters
214- static let filePathParamName = " filePath " , // Use from Diff Tools
215- filePathParamDesc = " Path to the file " , // Use from Diff Tools
177+ static let filePathParamName = " filePath " ,
178+ filePathParamDesc = " Path to the file " ,
216179 startLineParamName = " startLine " ,
217180 startLineParamDesc = " Starting line number (1-indexed) " ,
218181 endLineParamName = " endLine " ,
@@ -295,13 +258,7 @@ struct McpConfig {
295258 directoryReadSuccessfully = " Directory read successfully " ,
296259 directorySelectedSuccessfully = " Directory selected successfully " ,
297260 directoryChangedSuccessfully = " Directory changed successfully " ,
298- directoryRemovedSuccessfully = " Directory removed successfully " ,
299- documentOpenedSuccessfully = " Document opened successfully " ,
300- documentCreatedSuccessfully = " Document created successfully " ,
301- documentReadSuccessfully = " Document read successfully " ,
302- documentSavedSuccessfully = " Document saved successfully " ,
303- documentEditedSuccessfully = " Document edited successfully " ,
304- documentClosedSuccessfully = " Document closed successfully "
261+ directoryRemovedSuccessfully = " Directory removed successfully "
305262
306263 // Error messages
307264 static let errorChangingDirectory = " Error changing directory: %@ " ,
0 commit comments