davinci_script_tasks
Compiles DaVinci scripts and lists all automation tasks, catching Groovy syntax and API spelling errors that local parsing misses.
Instructions
让 DaVinci 加载脚本并列出全部任务(automation list,权威结果)。
与 davinci_script_list 的区别:后者只做本地文本解析,前者会真正编译脚本, 能发现 Groovy 语法错误和 API 拼写错误。加载失败时退出码非 0。
Args: project: .dvjson 工程文件。 bsw_package: BSW 包目录;缺省用 DAVINCI_BSW_PACKAGE。 locations: 脚本目录列表(包含 .dv.groovy 的文件夹或脚本工程的 build/libs)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "davinci_script_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| locations | No | ||
| bsw_package | No |