Remove (uninstall) a package from the Unity project. This removes the package from the project's manifest.json and triggers package resolution. Note: Built-in packages and packages that are dependencies of other installed packages cannot be removed. Note: Package removal may trigger a domain reload. The result will be sent after the reload completes. Use 'package-list' tool to list installed packages first.
Remove (uninstall) a package from the Unity project. This removes the package from the project's manifest.json and triggers package resolution. Note: Built-in packages and packages that are dependencies of other installed packages cannot be removed. Note: Package removal may trigger a domain reload. The result will be sent after the reload completes. Use 'package-list' tool to list installed packages first.
Execute this tool directly via the MCP Plugin HTTP API:
curl -X POST http://localhost:52605/api/tools/package-remove \
-H "Content-Type: application/json" \
-d '{
"packageId": "string_value"
}'
curl -X POST http://localhost:52605/api/tools/package-remove \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"packageId": "string_value"
}'
The token is stored in the file:
UserSettings/AI-Game-Developer-Config.jsonUsing the format:"token": "YOUR_TOKEN"
| Name | Type | Required | Description |
|---|---|---|---|
packageId | string | Yes | The ID of the package to remove. Example: 'com.unity.textmeshpro'. Do not include version number. |
{
"type": "object",
"properties": {
"packageId": {
"type": "string",
"description": "The ID of the package to remove. Example: \u0027com.unity.textmeshpro\u0027. Do not include version number."
}
},
"required": [
"packageId"
]
}
This tool does not return structured output.