set_project_path
Set the active Xcode project by specifying the path to its .xcodeproj directory. Optionally open it in Xcode and set the active directory to the project's location.
Instructions
Sets the active Xcode project by specifying the path to its .xcodeproj directory.
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": {
"projectPath": "<projectPath>"
},
"name": "set_project_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| openInXcode | No | If true, also open the project in Xcode (default: false) | |
| projectPath | Yes | Path to the .xcodeproj directory for the desired project. Supports ~ for home directory and environment variables. | |
| setActiveDirectory | No | If true, also set the active directory to the project directory |