Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/MCP tool reference

onf_update_library_pack

Update a pack with its current expectedRevision. Does not publish definitions or upgrade graphs.

23 Oct 2026 · 1 min read
Markdown ↗JSON ↗

Update a pack with its current expectedRevision. Does not publish definitions or upgrade graphs.

Agent workflow authoring · All MCP tools

Inputs#

FieldRequiredContract
expectedRevisionYesinteger
nameNostring
descriptionNostring
colorNostring
iconNostring
packIdYesstring

Exact input schema#

json
{
  "type": "object",
  "properties": {
    "expectedRevision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "description": {
      "type": "string",
      "maxLength": 4000
    },
    "color": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$"
    },
    "icon": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "packId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[A-Za-z0-9_.-]+$"
    }
  },
  "required": [
    "expectedRevision",
    "packId"
  ]
}

MCP annotations#

  • readOnlyHint: false
  • destructiveHint: false
  • idempotentHint: false
  • openWorldHint: false

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

Calling this tool#

Use the exact registered name onf_update_library_pack 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 and agent safety for transport, permissions and uncertain-action recovery.

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • server/library-pack-tools.ts
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗