{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "tool-onf-disconnect-nodes",
  "title": "onf_disconnect_nodes",
  "section": "MCP tool reference",
  "description": "Remove a connection by edge ID, preserving its endpoint nodes. dryRun previews; use allowInvalid for a temporarily missing required input. Read relevant workspace/workflow/frame context first; after a material edit, update concise purpose/w",
  "kind": "mcp",
  "url": "/wiki/tool-onf-disconnect-nodes/",
  "markdown": "/wiki/tool-onf-disconnect-nodes/index.md",
  "json": "/wiki/tool-onf-disconnect-nodes/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/mcp-tools.ts"
  ],
  "contract": {
    "name": "onf_disconnect_nodes",
    "description": "Remove a connection by edge ID, preserving its endpoint nodes. dryRun previews; use allowInvalid for a temporarily missing required input. Read relevant workspace/workflow/frame context first; after a material edit, update concise purpose/wiring/operating notes with onf_update_context_documentation using its independent revision.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "workflowId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[A-Za-z0-9_.-]+$"
        },
        "expectedRevision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "Revision returned by get_workflow/get_graph. Stale revisions fail without overwriting."
        },
        "dryRun": {
          "default": false,
          "type": "boolean"
        },
        "allowInvalid": {
          "default": false,
          "description": "Allow saving an incomplete graph. Enabled nonmanual workflows still must validate.",
          "type": "boolean"
        },
        "edgeId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[A-Za-z0-9_.-]+$"
        }
      },
      "required": [
        "workflowId",
        "expectedRevision",
        "edgeId"
      ]
    },
    "annotations": {
      "readOnlyHint": false,
      "destructiveHint": true,
      "idempotentHint": false,
      "openWorldHint": true
    },
    "source": {
      "file": "server/mcp-tools.ts",
      "line": 966
    }
  }
}
