{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "tool-onf-control-debug",
  "title": "onf_control_debug",
  "section": "MCP tool reference",
  "description": "Pause, step exactly one ready node, continue or configure a debug run with its latest debug.revision. Configuration requires a paused run. Provided fixtures replace the map; omission preserves. Explicit mockUnconfigured:false allows unmocke",
  "kind": "mcp",
  "url": "/wiki/tool-onf-control-debug/",
  "markdown": "/wiki/tool-onf-control-debug/index.md",
  "json": "/wiki/tool-onf-control-debug/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/feature-tools.ts"
  ],
  "contract": {
    "name": "onf_control_debug",
    "description": "Pause, step exactly one ready node, continue or configure a debug run with its latest debug.revision. Configuration requires a paused run. Provided fixtures replace the map; omission preserves. Explicit mockUnconfigured:false allows unmocked code to perform real effects.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "runId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[A-Za-z0-9_.-]+$"
        },
        "expectedRevision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "action": {
          "type": "string",
          "enum": [
            "pause",
            "step",
            "continue",
            "configure"
          ]
        },
        "breakpoints": {
          "maxItems": 500,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[A-Za-z0-9_.-]+$"
          }
        },
        "fixtures": {
          "type": "object",
          "propertyNames": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[A-Za-z0-9_.-]+$"
          },
          "additionalProperties": {
            "type": "object",
            "properties": {
              "outputs": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "routes": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 120,
                  "pattern": "^[A-Za-z0-9_.-]+$"
                }
              }
            },
            "required": [
              "outputs"
            ]
          }
        },
        "mockUnconfigured": {
          "description": "Defaults true: pause before unmocked code. False explicitly permits real code and its external effects.",
          "type": "boolean"
        }
      },
      "required": [
        "runId",
        "expectedRevision",
        "action"
      ]
    },
    "annotations": {
      "readOnlyHint": false,
      "destructiveHint": false,
      "idempotentHint": false,
      "openWorldHint": true
    },
    "source": {
      "file": "server/feature-tools.ts",
      "line": 123
    }
  }
}
