davinci_script_setup
Creates a DaVinci automation script environment using the official scaffold, producing a single-file Groovy script or Gradle project; requires confirm=true for non-empty directories.
Instructions
用官方脚手架创建脚本环境(dvcfg-b automation setup)。
kind=dvgroovy 生成单文件脚本环境;kind=project 生成 Gradle 脚本工程(需 JDK)。 目录非空时需要 confirm=true。
Args: path: 目标目录(必须在 DAVINCI_MCP_ROOTS 内)。 kind: dvgroovy 或 project。 language: project 环境的语言,GROOVY 或 KOTLIN。 confirm: 目录非空时必须为 true。
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": {
"path": "<path>"
},
"name": "davinci_script_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | dvgroovy | |
| path | Yes | ||
| confirm | No | ||
| language | No | GROOVY |