{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "tool-onf-create-branch-merge",
  "title": "onf_create_branch_merge",
  "section": "MCP tool reference",
  "description": "Publish a typed alternative-branch merge with 2–8 paired branch-control/value inputs. Only selected branch data is required. No workflow is saved or executed.",
  "kind": "mcp",
  "url": "/wiki/tool-onf-create-branch-merge/",
  "markdown": "/wiki/tool-onf-create-branch-merge/index.md",
  "json": "/wiki/tool-onf-create-branch-merge/index.json",
  "headings": [
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "exact-input-schema",
      "title": "Exact input schema",
      "depth": 2
    },
    {
      "id": "mcp-annotations",
      "title": "MCP annotations",
      "depth": 2
    },
    {
      "id": "calling-this-tool",
      "title": "Calling this tool",
      "depth": 2
    }
  ],
  "sources": [
    "server/control-flow-tools.ts"
  ],
  "contract": {
    "name": "onf_create_branch_merge",
    "description": "Publish a typed alternative-branch merge with 2–8 paired branch-control/value inputs. Only selected branch data is required. No workflow is saved or executed.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "type": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[A-Za-z0-9_.-]+$"
        },
        "typeVersion": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "branches": {
          "type": "integer",
          "minimum": 2,
          "maximum": 8
        }
      },
      "required": [
        "name",
        "type",
        "branches"
      ]
    },
    "annotations": {
      "readOnlyHint": false,
      "destructiveHint": false,
      "idempotentHint": false,
      "openWorldHint": false
    },
    "source": {
      "file": "server/control-flow-tools.ts",
      "line": 60
    }
  }
}
