flow_create
Create a new feature request, bug report, or task with required summary, description, and acceptance criteria to enforce structured development workflows.
Instructions
Create a new flow in a project. Use this to create new feature requests, bug reports, or tasks. The flow starts in 'idea' state by default.
DF-378 — Valid metadata triple required:
summary: short one-line title, 3..80 characters (NOT a paragraph)
description: detailed body, ≥ 30 characters (the goal, motivation, constraints)
acceptanceCriteria: at least 1 testable success criterion, each ≥ 10 characters
If your text is long, put the title into summary (≤ 80 chars) and the body into description.
The backend rejects payloads that violate these limits with a structured 400 flow_input_invalid.
Requires a projectId (use project_list to find it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | The project ID this flow belongs to | |
| summary | Yes | Brief one-line title (3..80 chars). Long text belongs in `description`, not here. | |
| description | Yes | Detailed body explaining the goal, motivation, and constraints (≥ 30 chars). | |
| flowType | No | Type of flow (default: feature) | |
| acceptanceCriteria | Yes | List of acceptance criteria (≥ 1 item, each ≥ 10 chars). |