{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "tool-onf-create-repeat",
  "title": "onf_create_repeat",
  "section": "MCP tool reference",
  "description": "Publish a bounded Repeat Until container using an exact pinned subflow, typed carry/result sockets and boolean stop output. No workflow is saved or executed. Whole-container retries and durable waits inside the body are rejected.",
  "kind": "mcp",
  "url": "/wiki/tool-onf-create-repeat/",
  "markdown": "/wiki/tool-onf-create-repeat/index.md",
  "json": "/wiki/tool-onf-create-repeat/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_repeat",
    "description": "Publish a bounded Repeat Until container using an exact pinned subflow, typed carry/result sockets and boolean stop output. No workflow is saved or executed. Whole-container retries and durable waits inside the body are rejected.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "repeat": {
          "type": "object",
          "properties": {
            "bodyDefinitionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120,
              "pattern": "^[A-Za-z0-9_.-]+$"
            },
            "bodyDefinitionVersion": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "carryInput": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120,
              "pattern": "^[A-Za-z0-9_.-]+$"
            },
            "resultOutput": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120,
              "pattern": "^[A-Za-z0-9_.-]+$"
            },
            "stopOutput": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120,
              "pattern": "^[A-Za-z0-9_.-]+$"
            },
            "indexInput": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120,
              "pattern": "^[A-Za-z0-9_.-]+$"
            },
            "maxIterations": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000
            }
          },
          "required": [
            "bodyDefinitionId",
            "bodyDefinitionVersion",
            "carryInput",
            "resultOutput",
            "stopOutput",
            "maxIterations"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "name",
        "repeat"
      ]
    },
    "annotations": {
      "readOnlyHint": false,
      "destructiveHint": false,
      "idempotentHint": false,
      "openWorldHint": false
    },
    "source": {
      "file": "server/control-flow-tools.ts",
      "line": 41
    }
  }
}
