federation_create_workflow
ActiveTool of ComOS Federation Gateway
Author and deploy a workflow (CO 213). Composes the tenant’s tools — including cross-platform `mcp` steps that call any platform the tenant has composed (retail, bookings, …) — into a triggered automation that fires immediately. Step types: http, notification, agent, delay, condition, transform, mcp.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"tenant_id",
"key",
"name",
"trigger"
],
"properties": {
"key": {
"type": "string",
"description": "Stable workflow key (unique within the tenant)."
},
"name": {
"type": "string",
"description": "Human display name for the workflow."
},
"scope": {
"enum": [
"tenant",
"manager",
"platform"
],
"type": "string",
"description": "Ownership scope (default tenant)."
},
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"type",
"config"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"enum": [
"http",
"notification",
"agent",
"delay",
"condition",
"transform",
"mcp"
],
"type": "string"
},
"config": {
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": true
},
"description": "Ordered steps. An `mcp` step calls a federation tool across any composed platform: { id, name, type:\"mcp\", config:{ tool:\"catalog_search\", args:{ query:\"\" } } }."
},
"enabled": {
"type": "boolean",
"description": "Whether the workflow is active on create (default true)."
},
"trigger": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"event",
"cron",
"manual",
"webhook"
],
"type": "string"
}
},
"description": "When the workflow fires. event → { type:\"event\", eventTypes:[\"order.created\"] }; cron → { type:\"cron\", expression:\"0 9 * * *\" }; manual; webhook.",
"additionalProperties": true
},
"tenant_id": {
"type": "string",
"description": "The tenant that owns this workflow."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
ComOS Federation Gateway
https://github.com/ronrey/comos-federation
2/7 registries