Merge SmartUI Builds
smartui_merge_build_baselineMerge one SmartUI build into another, by build name, in the same project, creating a build named merged-build/--. The new build holds the screenshots of both builds (the source wins when a name exists in both) and is marked as the project baseline, replacing the current one; there is no tool to undo or delete it. The tool waits up to about 20 seconds for the merged build and returns merge_status (completed, running or initiated) with its build id; a merged build that ends in error or with zero screenshots is returned as a tool error.
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_id": "<project_id>",
"source": "<source>",
"target": "<target>"
},
"name": "smartui_merge_build_baseline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source build name to merge from. Any active build with this exact name. | |
| target | Yes | Target build name to merge into. Must be an approved, non-partial build with this exact name. | |
| project_id | Yes | SmartUI project id, from smartui_list_projects |