davinci_project_generate_swct
Generates Software Component Template and Contract Phase header files for an AUTOSAR DaVinci project using the configured generation mode, optionally for selected components.
Instructions
生成 Software Component Template 与 Contract Phase 头文件(generate-swct)。
生成模式由工程设置 swctGeneration.generationMode 决定 (SWCT_AND_CP_HEADER / SWCT_ONLY / CP_HEADER_ONLY)。不传 components 表示全部组件。
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_project_generate_swct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| no_save | No | ||
| project | Yes | ||
| timeout_s | No | ||
| components | No | ||
| output_dir | No | ||
| report_dir | No | ||
| bsw_package | No | ||
| wait_seconds | No |