workflow_tool
Orchestrate serial or parallel workflows by configuring steps, tools, and parameters to automate complex processes efficiently within ToolBox MCP Server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputFile | No | Path to output file (optional) | |
| steps | Yes | List of workflow steps | |
| version | No | Workflow definition version (e.g., '1.0.1') | 1.0 |
Input Schema (JSON Schema)
{
"description": "Orchestrate tools in serial/parallel workflows",
"name": "workflow_tool",
"properties": {
"outputFile": {
"description": "Path to output file (optional)",
"type": "string"
},
"steps": {
"description": "List of workflow steps",
"items": {
"description": "Step configuration (tool, args, retry)",
"properties": {
"args": {
"description": "Tool parameters (e.g., {action:'upload'})",
"type": "object"
},
"compensation": {
"description": "Compensation config (tool, args)",
"properties": {
"args": {
"type": "object"
},
"tool": {
"type": "string"
}
},
"type": "object"
},
"parallel": {
"default": false,
"description": "Execute in parallel",
"type": "boolean"
},
"retry": {
"default": 0,
"description": "Number of retries",
"type": "number"
},
"timeout": {
"description": "Timeout (ms)",
"type": "number"
},
"tool": {
"description": "Tool name (e.g., 'sftp_tool')",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"version": {
"default": "1.0",
"description": "Workflow definition version (e.g., '1.0.1')",
"type": "string"
}
},
"required": [
"steps"
],
"type": "object"
}