davinci_cfg5_script_install
Installs a .dvgroovy script into a CFG5 (.dpa) project directory so the GUI Script Locations can load it. Copies files only and requires confirm=true; it does not execute scripts.
Instructions
把 .dvgroovy 安装到 CFG5(.dpa)工程目录,供 GUI 的 Script Locations 加载。
公开文档中 CFG5 只提供 GUI 的 Script Locations 入口,本工具只做安装与提示,不执行脚本。 安装会写入工程目录,需要 confirm=true。
Args: project: .dpa 工程文件。 script: 要安装的 .dvgroovy 脚本。 target_dir: 安装目录;缺省 <工程目录>/Scripts。 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": {
"project": "<project>",
"script": "<script>"
},
"name": "davinci_cfg5_script_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| confirm | No | ||
| project | Yes | ||
| target_dir | No |