Workflow Tools
AnyDB MCP can inspect existing automations, discover the workflow capabilities supported by the running server, create or update workflows, execute them, and review their history.
Available tools
| Tool | What it does |
|---|---|
anydb_list_workflows | Lists normalized workflow graphs in a workspace. |
anydb_get_workflow | Gets one workflow graph, its stored configuration, and retained execution details. |
anydb_get_workflow_execution_history | Gets retained executions for a workflow with status, inputs, outputs, and errors. |
anydb_list_workflow_triggers | Lists supported triggers and their exact configuration and output schemas. |
anydb_list_workflow_actions | Lists registered actions, exact schemas, compatibility, license availability, and script guidance. |
anydb_create_workflow | Creates a workflow with one trigger and an ordered action chain. |
anydb_update_workflow | Updates workflow metadata or replaces the complete ordered action chain. |
anydb_execute_workflow | Simulates or executes a workflow by ID or name, including workflows invoked by button cells. |
Recommended workflow sequence
- Read the authoring guide with
anydb_get_authoring_guide. - Call
anydb_list_workflowsto avoid creating a duplicate. - Call
anydb_list_workflow_triggersandanydb_list_workflow_actionsfor the running server's supported schemas. - Create the workflow disabled and use
validateOnly: truewhen available. - Run a representative execution with
simulate: true. - Execute one real representative case when safe.
- Inspect
anydb_get_workflow_execution_historyfor outputs and errors before enabling the workflow.
Update an existing workflow
Omit changes.actions to preserve the current action chain. To add, edit, remove, or reorder actions, send the entire desired final chain. Missing actions or configuration values are removed.
Before revising a script action, read its source from anydb_get_workflow and consult the action_script entry returned by anydb_list_workflow_actions. That catalog is the authoritative reference for the running server's script APIs and rules.
Execute a button workflow
A button cell stores its workflow name in BUTTON_ACTION_VALUE. To invoke it through MCP:
- Read the record with
get_record. - Find the button cell and its
BUTTON_ACTION_VALUE. - Call
anydb_execute_workflowwith that value asworkflowNameand the record ID asadoid.
Button visibility and locked-state properties affect the AnyDB interface but are not enforced by the MCP execution call. Check those properties yourself when they matter.