studio_sync_native
Sync native .rp edits back into the original Studio source document in preview or apply mode, mapping nodes, component overrides, and conflicts to author targets.
Instructions
将原生 .rp 修改自动收敛回同一 Studio 源文档(preview/apply)。通过基线符号与 GUID 映射到真实作者源 target/propertyMap/父内容盒坐标,覆盖普通节点、宏参数、组件实例覆盖、流式布局排布提示、非激活面板状态、中继器模板(默认保护 =item.xxx 公式不被首行字面量覆盖)与多页三方冲突裁决。
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": {
"rpPath": "<rpPath>"
},
"name": "studio_sync_native"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| mode | No | ||
| port | No | ||
| async | No | true在工程内持久记录并返回句柄;结果未知时按requestKey核对,不重做 | |
| prefer | No | ||
| rpPath | Yes | ||
| outRpPath | No | ||
| rebuildRp | No | ||
| baseRpPath | No | ||
| projectDir | No | ||
| requestKey | No | ||
| previewHash | No | ||
| resolutions | No | ||
| baseRevision | No | ||
| baselinePath | No | ||
| idempotencyKey | No | ||
| allowFormulaOverwrite | No |