# onf_update_trigger

Pause/resume or configure one trigger NODE with expectedRevision. Other branches, graph data and their schedules are preserved. Workflow.enabled is a separate master switch. Pausing prevents new runs; already accepted work finishes. Enablin

Canonical URL: https://opennodeflow.dev/wiki/tool-onf-update-trigger/
JSON reference: https://opennodeflow.dev/wiki/tool-onf-update-trigger/index.json
Source snapshot: 2026-10-23

Pause/resume or configure one trigger NODE with expectedRevision. Other branches, graph data and their schedules are preserved. Workflow.enabled is a separate master switch. Pausing prevents new runs; already accepted work finishes. Enabling schedules can execute real code. 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.

[Agent workflow authoring](/wiki/mcp-workflow-authoring/) · [All MCP tools](/wiki/mcp-tools/)

## Inputs

| Field | Required | Contract |
| --- | --- | --- |
| `workflowId` | Yes | string |
| `expectedRevision` | Yes | Revision returned by get_workflow/get_graph. Stale revisions fail without overwriting. |
| `nodeId` | Yes | string |
| `kind` | No | One of: manual, webhook, schedule, poll, websocket |
| `websocket` | No | object |
| `intervalSeconds` | No | integer |
| `cron` | No | string |
| `enabled` | No | boolean |

## Exact input schema


```json
{
  "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."
    },
    "nodeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[A-Za-z0-9_.-]+$"
    },
    "kind": {
      "type": "string",
      "enum": [
        "manual",
        "webhook",
        "schedule",
        "poll",
        "websocket"
      ]
    },
    "websocket": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 8192
        },
        "urlSecret": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[A-Za-z0-9_.-]+$"
        },
        "protocols": {
          "maxItems": 10,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          }
        },
        "subscribeSecret": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[A-Za-z0-9_.-]+$"
        },
        "heartbeatSecret": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[A-Za-z0-9_.-]+$"
        },
        "heartbeatIntervalSeconds": {
          "type": "integer",
          "minimum": 5,
          "maximum": 3600
        },
        "idleTimeoutSeconds": {
          "type": "integer",
          "minimum": 5,
          "maximum": 86400
        },
        "connectTimeoutMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 30000
        },
        "maxMessageBytes": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1048576
        },
        "maxQueueMessages": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "maxQueueBytes": {
          "type": "integer",
          "minimum": 1,
          "maximum": 4194304
        },
        "maxPendingRuns": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "reconnectMinMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 30000
        },
        "reconnectMaxMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 300000
        }
      }
    },
    "intervalSeconds": {
      "type": "integer",
      "minimum": 5,
      "maximum": 31536000
    },
    "cron": {
      "type": "string",
      "maxLength": 200
    },
    "enabled": {
      "type": "boolean"
    }
  },
  "required": [
    "workflowId",
    "expectedRevision",
    "nodeId"
  ]
}
```


## MCP annotations

- `readOnlyHint`: `false`
- `destructiveHint`: `true`
- `idempotentHint`: `false`
- `openWorldHint`: `true`

Annotations describe tool behavior; they are not an authorization boundary.

## Calling this tool

Use the exact registered name `onf_update_trigger` through a compatible MCP client. Start with discovery and read the current object before a change. Pass the documented revision or version guards where required. A JSON Schema default is not a substitute for reading the tool contract.

See [connection setup](/wiki/mcp-connect/) and [agent safety](/wiki/agent-safety/) for transport, permissions and uncertain-action recovery.

---

## Documentation provenance

- `server/mcp-tools.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
