dart-remove-roots

要删除之前注册的 Dart 项目根目录,请通过删除这些根目录来撤销工具访问权限。

📖 中文导读:要删除之前注册的 Dart 项目根目录,请通过删除这些根目录来撤销工具访问权限。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: dart-remove-roots description: "To remove previously registered Dart project roots, revoke tool access by removing those roots."

Usage

Use the MCP tool dev-swarm.request to send the payload as a JSON string:

{"server_id":"dart","tool_name":"remove_roots","arguments":{}}

Tool Description

Removes one or more project roots previously added via the add_roots tool.

Arguments Schema

The schema below describes the arguments object in the request payload.

{
  "type": "object",
  "properties": {
    "uris": {
      "type": "array",
      "description": "All the project roots to remove from this server.",
      "items": {
        "type": "string",
        "description": "The URIs of the roots to remove."
      }
    }
  }
}

Background Tasks

If the tool returns a task id, poll the task status via the MCP request tool:

{"server_id":"dart","method":"tasks/status","params":{"task_id":"<task_id>"}}