Inspect Xcode Scheme
xcodebuild-inspect-schemeParse an Xcode scheme's .xcscheme file to reveal its build, run, and test configurations along with environment and launch arguments.
Instructions
xcodebuild-inspect-scheme
Parse and display an Xcode scheme's build, run, and test configurations from its
.xcscheme file.
Parameters
projectPath(required): Path to the .xcodeproj or .xcworkspacescheme(required): Scheme name to inspect
Returns
Parsed scheme information: build targets, run configuration, test configuration, and environment/launch arguments where present.
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>",
"scheme": "<scheme>"
},
"name": "xcodebuild-inspect-scheme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | ||
| projectPath | Yes |