SmartUI Baseline Manage
smartui_baseline_manageMerge SmartUI baselines across branches or builds (to read baseline settings, use smartui_project_query with action=get). merge_branch/merge_build resolve source and target names to builds, merge them, then poll the merged build and report its real terminal status — a merge that lands in error or with zero screenshots is returned as a tool error, not as success. Merging permanently changes baseline state: the merged build takes the baseline flag, so a failed merge leaves the baseline on an empty build.
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": {
"action": "<action>",
"project_id": "<project_id>"
},
"name": "smartui_baseline_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | merge_branch merges one branch baseline into another; merge_build merges one build into another | |
| source | No | Source branch (merge_branch) or build name (merge_build) to merge FROM | |
| target | No | Target branch (merge_branch) or build name (merge_build) to merge INTO | |
| project_id | Yes | Project id (required) |