Create Task
cph_task_createCreate a task in a workflow to organize and track work items, with optional acceptance criteria, priority, and time estimates for accuracy analysis.
Instructions
Create a task within a workflow.
Call this when beginning any discrete piece of work that will take more than ~5 minutes. Create BEFORE starting work, not after.
Args:
workflow_id: Which workflow
title: What you're doing (e.g. "Implement JWT refresh token rotation")
description: Acceptance criteria and requirements (optional)
parent_task_id: If this is a subtask (optional)
priority: low | medium | high | critical
estimated_minutes: Your estimate. ALWAYS provide this even if rough. Skipping this excludes the task from estimation accuracy analysis. Guess if unsure — a bad estimate is more useful than no estimate.
Returns: Created task. Call cph_task_start immediately after.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| title | Yes | ||
| description | No | ||
| parent_task_id | No | ||
| priority | No | medium | |
| estimated_minutes | No | ALWAYS provide. Skipping excludes from accuracy analysis. |