davinci_cfg5_validate
Validates .dpa projects with DaVinci Configurator 5 by parsing ExecutionReport XML and returning structured diagnostics and gate results for accurate pass/fail checks.
Instructions
用 DaVinci Configurator 5 校验 .dpa 工程(DVCfgCmd -p ... -v)。
与 CFG6 不同,CFG5 会输出 ExecutionReport XML;本工具直接解析该报告, 返回与通用工具一致的 diagnostics / gate 结构,比解析控制台文本更准确。
Args: project: .dpa 工程文件。 report_dir: 报告目录;缺省写到 <工程>/Log/davinci-mcp。 fail_on: NONE / ERROR / WARNING,决定 gate.passed 的阈值。 timeout_s: 命令硬超时秒数。 wait_seconds: 同步等待秒数,超时转后台作业并返回 job_id。
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>"
},
"name": "davinci_cfg5_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fail_on | No | ERROR | |
| project | Yes | ||
| timeout_s | No | ||
| report_dir | No | ||
| wait_seconds | No |