symbol_occurrences
Retrieve symbol information at specific file locations to support code navigation and refactoring tasks in Xcode projects.
Instructions
Get symbols occurring at a specific location in a file.
Args: filePath: Absolute path to the file lineNumber: Line number in the file
Returns: Dict containing symbol information at the specified location
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": {
"filePath": "<filePath>",
"lineNumber": "<lineNumber>"
},
"name": "symbol_occurrences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | ||
| lineNumber | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |