devflow_init
Initialize a DevFlow work session: validates and locks the flow, creates an agent session, and returns context with tasks, feedback, allowed actions, and next step. Call first to enable other tools.
Instructions
Initialize a DevFlow work session for a flow.
MUST be called before any other tools (except flow_list and flow_create). Without devflow_init, all tools are blocked.
What it does:
Validates and loads the flow
Locks the flow for this agent (exclusive)
Creates an agent session for tracking
Returns full context: flow details, feedback, tasks, allowed actions, next step
Call this at the start of every work session.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "devflow_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | No | The flow ID to work on. If omitted, shows available projects and flows. |