Workflows
Functions for creating and reading workflows at a shallow level (metadata and linked tools). Higento creates the workflow shell; the full graph is built in the workflow editor.
workflow-create
Create a shallow workflow (name + trigger type + optional description). Placement uses the scoped folder when set, unless folderId is given.
Input
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Workflow name (min 1 char). |
triggerType | string | No | Trigger type (default manual). |
description | string | No | Description (defaults to New workflow). |
folderId | string | null | No | Target folder; omit to use the assistant scope. |
Output
| Field | Type | Description |
|---|---|---|
workflow | object | \{ id, name, type, folderId \}. |
workflow-read
Read a workflow shallowly: id, name, type, folderId, plus the tools linked through its agent versions.
Input
| Field | Type | Required | Description |
|---|---|---|---|
workflowId | string | Yes | Workflow id (wrk_…). |
Output
| Field | Type | Description |
|---|---|---|
workflow | object | \{ id, name, type, folderId, tools: [\{ id, name \}] \}. |