read_file
Retrieve file contents from an active Xcode project to access code, configuration, or documentation for development tasks.
Instructions
Reads the contents of a file within the active Xcode project.
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>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Relative or absolute path to the file within the active project. |