Import Workflow
import_workflowImport a WorkflowSchema into a new draft, returning its workflow ID and any issues. Handle unregistered reference kinds gracefully by reporting problems instead of rejecting the entire import.
Instructions
Read a WorkflowSchema document into a NEW draft and return its workflow_id, plus any issues found. Import is lenient on purpose: a document referencing a kind this host has not registered still imports, with the problem reported — refusing would lose the other forty nodes to fix one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflow": "<workflow>"
},
"name": "import_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the imported draft. | |
| workflow | Yes | A WorkflowSchema document, as export_workflow emits. | |
| workflow_id | No | Optional explicit id for the new draft. |