원클릭으로
dart-add-roots
To register project roots for Dart tooling access, add one or more root paths before using other Dart tools on those projects.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
To register project roots for Dart tooling access, add one or more root paths before using other Dart tools on those projects.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | dart-add-roots |
| description | To register project roots for Dart tooling access, add one or more root paths before using other Dart tools on those projects. |
Use the MCP tool dev-swarm.request to send the payload as a JSON string:
{"server_id":"dart","tool_name":"add_roots","arguments":{}}
Adds one or more project roots. Tools are only allowed to run under these roots, so you must call this function before passing any roots to any other tools.
The schema below describes the arguments object in the request payload.
{
"type": "object",
"properties": {
"roots": {
"type": "array",
"description": "All the project roots to add to this server.",
"items": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"description": "The URI of the root."
},
"name": {
"type": "string",
"description": "An optional name of the root."
}
},
"required": [
"uri"
]
}
}
}
}
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>"}}
To click a page element in the browser, perform a click on buttons, links, or controls during Playwright automation.
To close the current Playwright page, close the page to end the session or free resources.
To read console logs from the current page, retrieve console messages for debugging JavaScript output.
To drag and drop between elements on a web page, perform a drag interaction from a source to a target.
To run JavaScript in the page context, evaluate an expression on the page or a specific element for inspection or manipulation.
To upload files through a file input, provide one or more file paths for a page file chooser.