analyze_dependency_tree
Analyze SPM and CocoaPods dependency trees to reveal direct and transitive dependencies, version details, and tree structure from an Xcode project path.
Instructions
Analyze SPM (Package.resolved) and CocoaPods (Podfile.lock) dependency trees. Shows direct and transitive dependencies, version info, and tree structure.
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": "analyze_dependency_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Xcode project root directory | |
| packageManager | No | Package manager to analyze (default: auto-detect) | |
| showTransitive | No | Show transitive dependency tree (default: true) |