AGENT SKILL

package-remove

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.

License 许可
MIT
所属仓库
devwinsoft/devian
最近更新
2026-04-12
Stars
★ 0
Forks
0

01 前言 Front Matter

name
package-remove
description
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.

03 SKILL.md 正文

Package Manager / Remove

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.

How to Call

HTTP API (Direct Tool Execution)

Execute this tool directly via the MCP Plugin HTTP API:

curl -X POST http://localhost:50187/api/tools/package-remove \
  -H "Content-Type: application/json" \
  -d '{
  "packageId": "string_value"
}'

With Authorization (if required)

curl -X POST http://localhost:50187/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.json Using the format: "token": "YOUR_TOKEN"

Input

Name Type Required Description
packageId string Yes The ID of the package to remove. Example: 'com.unity.textmeshpro'. Do not include version number.

Input JSON Schema

{
  "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"
  ]
}

Output

This tool does not return structured output.

04 同仓库更多 Skills