add_project_package
Adds or updates a package in Unity's Packages/manifest.json by specifying name, version (SemVer, git URL, or file path), and project path. Requires confirmation to apply changes.
Instructions
Fügt ein Paket zu Packages/manifest.json hinzu/ändert die Version (Backup wird erstellt). version kann SemVer, git-URL oder 'file:'-Pfad sein. confirm=true nötig.
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": {
"project_path": "<project_path>",
"name": "<name>",
"version": "<version>"
},
"name": "add_project_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| name | Yes | ||
| version | Yes | ||
| confirm | No |