onf_extract_subflow
Extract selected nodes from a saved workflow into a new typed subflow. Creates the library asset; returns replacement workflow draft without saving parent. Review the returned draft; save with update workflow only if it contains no redactio
Extract selected nodes from a saved workflow into a new typed subflow. Creates the library asset; returns replacement workflow draft without saving parent. Review the returned draft; save with update_workflow only if it contains no redaction placeholders. Triggers cannot be selected. Parent must match expectedRevision.
Agent workflow authoring · All MCP tools
Inputs#
| Field | Required | Contract |
|---|---|---|
workflowId | Yes | string |
expectedRevision | Yes | integer |
nodeIds | Yes | Array of string |
name | Yes | string |
description | No | string |
Exact input schema#
{
"type": "object",
"properties": {
"workflowId": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"expectedRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"nodeIds": {
"minItems": 1,
"maxItems": 500,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"description": {
"type": "string",
"maxLength": 10000
}
},
"required": [
"workflowId",
"expectedRevision",
"nodeIds",
"name"
]
}MCP annotations#
readOnlyHint:falsedestructiveHint:falseidempotentHint:falseopenWorldHint:true
Annotations describe tool behavior; they are not an authorization boundary.
Calling this tool#
Use the exact registered name onf_extract_subflow 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/feature-tools.ts