build_swift_package
Compile Swift packages using Swift Package Manager, with options to build specific targets, products, test targets, set configuration, and control parallel jobs.
Instructions
Builds a Swift Package using Swift Package Manager.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_swift_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | No | Number of parallel build jobs | |
| target | No | Build a specific target | |
| product | No | Build a specific product | |
| verbose | No | Show verbose output | |
| buildTests | No | Also build test targets | |
| showBinPath | No | Show binary output path | |
| configuration | No | Build configuration (default: debug) |