studio_merge_document
Merge concurrent human/AI edits or external JSON/RP1 files via three-way structured merge: auto-combine unrelated changes and report field, layout, instance, and reference conflicts for preview/apply.
Instructions
对同一工程执行人类/AI并发编辑或外部 JSON/RP1 文件的三方结构化合并(preview/apply/check-external)。自动合并无关修改,显式报出同字段、删改、跨容器重挂、布局耦合(如 x vs right、父流式 vs 子坐标)、组件实例覆盖与引用冲突,支持逐项裁决并写入单步可撤销事务。
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": "studio_merge_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| mode | No | ||
| port | No | ||
| actor | No | ||
| label | No | ||
| prefer | No | ||
| baseDoc | No | ||
| oursDoc | No | ||
| verbose | No | ||
| clientId | No | ||
| maxBytes | No | ||
| theirsDoc | No | ||
| theirsRp1 | No | ||
| includeDoc | No | ||
| projectDir | No | ||
| previewHash | No | ||
| resolutions | No | ||
| baseRevision | No | ||
| includeScene | No | ||
| theirsPageId | No | ||
| baseVersionId | No | ||
| idempotencyKey | No | ||
| theirsCommands | No | ||
| theirsParentId | No | ||
| theirsSourceMode | No | ||
| externalSourcePath | No |