search_pattern
Find symbol occurrences in Xcode projects using pattern matching to support code navigation and refactoring tasks.
Instructions
Search for symbol occurrences matching a pattern.
Args: pattern: The pattern to search for options: Optional list of search options. Valid options are: - anchorStart: Match pattern at start of symbol name - anchorEnd: Match pattern at end of symbol name - subsequence: Match pattern as subsequence (not exact match) - ignoreCase: Case-insensitive matching
Returns: Dict containing matching canonical symbol occurrences
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern": "<pattern>"
},
"name": "search_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| options | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |