Documentación

ctx_workflow - Tool Reference

Workflow rails (state machine + evidence). Actions: start|status|transition|complete|evidence_add|evidence_list|stop.

ctx_workflow Workflow & Orchestration

Workflow rails (state machine + evidence). Actions: start|status|transition|complete|evidence_add|evidence_list|stop.

Parameters
6
Required
0
Actions
7
Token Impact
Workflow state tracking adds ~50-100 tokens per transition.

When to Use

Managing multi-step workflows with state machines - enforces step ordering and evidence collection.

When Not to Use

Simple tasks without multiple stages. Overhead isn't worth it for quick fixes.

Parameters

Parameter Type Required Description
action "start" | "status" | "transition" | "complete" | "evidence_add" | "evidence_list" | "stop" No Workflow operation (default: status)
key string No Evidence key (action=evidence_add)
name string No Optional workflow name override (action=start)
spec string No WorkflowSpec JSON (action=start). If omitted, uses builtin plan_code_test.
to string No Target state (action=transition)
value string No Optional evidence value / transition note

Actions

start

ctx_workflow action="start"

status

ctx_workflow action="status"

transition

ctx_workflow action="transition"

complete

ctx_workflow action="complete"

evidence_add

ctx_workflow action="evidence_add"

evidence_list

ctx_workflow action="evidence_list"

stop

ctx_workflow action="stop"

Related Tools

Schema MD5: b8c2ec2f293a4211b3c018f223cb2b92 ← Back to all tools