cad_change_writeback
Write modified source files back to original shared-drive or PDM checkout locations with backups and safeguards for conflicts, read-only files, or disallowed paths; confirm=false previews the plan.
Instructions
把已发布版本中修改过的源文件回写到原位置(共享盘 / PDM 检出目录)。confirm=false 只列出计划; 原文件先备份到发布目录 _writeback_backup;原文件期间被别人改过(冲突)、只读(PDM 未检出)、 或不在 policy.writeback_allow 中的都不会覆盖。平台新建的文件不回写,需按公司流程入库。
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": "cad_change_writeback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||