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

onf_organize_definition

Replace discovery tags and folder for a shared asset without publishing a definition or changing runtime pins. expectedRevision:0 creates absent metadata. Omitted/null folderId means Unfiled; tags normalize to lowercase unique sorted values

23 Oct 2026 · 1 min read
Markdown ↗JSON ↗

Replace discovery tags and folder for a shared asset without publishing a definition or changing runtime pins. expectedRevision:0 creates absent metadata. Omitted/null folderId means Unfiled; tags normalize to lowercase unique sorted values.

Agent workflow authoring · All MCP tools

Inputs#

FieldRequiredContract
expectedRevisionYesinteger
tagsYesArray of string
folderIdNostring or null
packIdNostring or null
discoveryNoOne of: default, hidden
definitionIdYesstring

Exact input schema#

json
{
  "type": "object",
  "properties": {
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "tags": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 40
      }
    },
    "folderId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9_.-]{1,120}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "packId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9_.-]{1,120}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "discovery": {
      "type": "string",
      "enum": [
        "default",
        "hidden"
      ]
    },
    "definitionId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[A-Za-z0-9_.-]+$"
    }
  },
  "required": [
    "expectedRevision",
    "tags",
    "definitionId"
  ]
}

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_organize_definition 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/platform-tools.ts
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗