describe_actionread
Fields, expected context and produced outputs for one action_type. Call BEFORE configuring an action node.
describe_conditionread
Fields for one condition_type. Call BEFORE configuring a condition node.
describe_triggerread
Config fields and runtime context for one trigger_type. Most need no config; scheduled needs `schedule`, webhook needs `webhook_secret`, DM triggers need filter keywords.
describe_workflow_enveloperead
Top-level workflow fields outside nodes/triggers: name, account_ids (which IG accounts bind, driving sender resolution for SMS/email/DM), client_ids, scope, cooldowns. CALL FIRST when building a workflow.
get_node_schemaread
Fields, expected context and produced outputs for one trigger/action/condition.
get_webhook_samplesread
For a webhook-triggered workflow, return the payloads the sender actually POSTed plus `available_webhook_keys`, the flattened key list. Loop: ask the user to send ONE real test submission, call this to read the real keys, map each into a lead custom variable with update_contact_fields, then reference {custom_variable.<id>} in copy. An empty list means no payload has arrived yet: ask for one and retry. Never invent webhook key names.
get_workflow_failure_statsread
Account-wide top failing workflows + top failure reasons.
get_workflow_node_analyticsread
Per-node bottleneck breakdown.
get_workflow_split_test_analyticsread
A/B/C split-test variant winner analysis.
get_workflow_step_analyticsread
Action-level success rates and durations.
list_action_typesread
Every workflow action type with one line each. Call describe_action for one type's fields; full=true returns every schema (large).
list_all_workflow_schemasread
Every action and condition schema in one call. Pull once at the start of a workflow-building session.
list_condition_typesread
Every workflow condition type with one line each. Call describe_condition for one type's fields; full=true returns every schema (large).
list_trigger_typesread
Every workflow trigger type with one line each. Call describe_trigger for one type's fields; full=true returns every schema (large).
list_workflow_capabilitiesread
Every supported trigger, action, condition and flow-control feature, live.
validate_workflow_configread
Run the live workflow validator against a node graph without saving.
copy_workflow_to_workspacewrite
Copy a workflow into ANOTHER workspace. sub_account_id is the workspace it is in now; target_sub_account_id is where the copy goes. The copy is switched off and attached to no account. Tags, pipelines and stages are matched by name in the target; anything else that pointed at the original workspace is cleared and returned in needs_attention.
create_workflow_from_templatewrite
Spawn a workflow from a marketplace template. Always a DRAFT.
delete_workflowwrite
Soft-delete a workflow. Stops firing immediately and leaves list_workflows.
disable_workflowwrite
Pause a workflow without deleting it.
enable_workflowwrite
Activate a workflow so its trigger fires.
test_workflowwrite
Run a workflow in SAFE TEST MODE and return a step-by-step execution trace. Use after create_workflow to sanity-check a draft: sends are SIMULATED (nothing reaches real people) and waits are skipped. A trace line prefixed '[TEST]' is SUCCESS, meaning the node WOULD send live; never report it as a delivery failure. Pass lead_id to test one contact, else the account's test lead is used. To send for real, run it live via execute_workflow_on_lead.
update_workflowwrite
Edit an existing workflow in place — its steps, trigger, name or settings. Use this instead of clone+delete, which mints a new id and discards the original's execution history. PARTIAL: only the fields you pass are written. Call get_workflow_details FIRST and edit the graph it returns — sending a `nodes` array REPLACES the graph, so any step you leave out is deleted. `nodes` and `edges` must be sent together. This tool CANNOT activate or deactivate a workflow (use enable_workflow / disable_workflow); a workflow that is already live stays live and starts running the edited version immediately, so run test_workflow afterwards.
workflow_health_auditwrite
Triage list of workflows whose failure rate exceeds threshold.