create_workspace
Create a new Xcode workspace and add existing projects to it, setting it as active for immediate development.
Instructions
Creates a new Xcode workspace and optionally adds existing projects to it.
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": {
"name": "<name>",
"outputDirectory": "<outputDirectory>"
},
"name": "create_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the workspace to create | |
| projects | No | Optional array of project paths to add to the workspace | |
| setAsActive | No | Whether to set the new workspace as the active project (default: true) | |
| outputDirectory | Yes | Directory where the workspace will be created |